Skip to content

Commit caf0dd7

Browse files
committed
bugfix: NodeNet2WithFIPSRIOV was not returning the floating IP as primary IP
1 parent 1ab19f9 commit caf0dd7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

files/resources/nodenet-2-w-fip-sriov.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ resources:
4343
fixed_ips:
4444
- subnet_id: { get_param: [ cluster_net, 0, subnet ] }
4545

46+
# The SR-IOV port.
47+
# It might be presumptious to assume there are no security groups here.
4648
port2:
4749
type: OS::Neutron::Port
4850
properties:
@@ -78,5 +80,5 @@ outputs:
7880
- port: { get_resource: port2 }
7981

8082
primary_ip:
81-
description: ID of the IP assigned on the named cluster network
82-
value: { get_attr: [ port1, fixed_ips, 0, ip_address ] }
83+
description: The primary IP of the instance
84+
value: { get_attr: [ floating_ip, floating_ip_address ] }

0 commit comments

Comments
 (0)