Finish correcting all OS::Nova::Server references

Some references to first_private_address were missed and some of the
Fn::Select calls were only half-completed.

Change-Id: I92a4e5e67784e5d64ec6e44ddcac55762cde81eb
This commit is contained in:
Clint Byrum 2013-09-17 12:32:24 -07:00
parent 287e97de9c
commit c2051996bc
3 changed files with 35 additions and 18 deletions

View File

@ -96,5 +96,4 @@ Resources:
Ref: Nagios3ImageId
InstanceType: {Ref: InstanceType}
Outputs:
Nagios3Host:
Fn::GetAtt: [ nagios3 , first_private_address ]
Nagios3Host: {'Fn::Select': [ 0, {'Fn::Select': [ 'ctlplane', 'Fn::GetAtt': [ 'nagios3' , 'networks' ] ]} ]}

View File

@ -114,9 +114,13 @@ Resources:
ovs_db: {Ref: NeutronDSN}
ovs:
local_ip:
Fn::GetAtt:
- NovaCompute0
- first_private_address
Fn::Select:
- 0
- Fn::Select:
- ctlplane
- Fn::GetAtt:
- NovaCompute0
- networks
tenant_network_type: {Ref: NeutronNetworkType}
network_vlan_ranges: {Ref: NeutronNetworkVLANRanges}
bridge_mappings: {Ref: NeutronBridgeMappings}

View File

@ -176,10 +176,12 @@ Resources:
- ''
- - 'http://'
- Fn::Select:
- 'ctlplane'
- Fn::GetAtt:
- notcompute
- networks
- 0
- Fn::Select:
- 'ctlplane'
- Fn::GetAtt:
- notcompute
- networks
- ':8003'
metadata_server_url:
Fn::Join:
@ -233,16 +235,24 @@ Resources:
Ref: NovaPassword
neutron:
host:
Fn::GetAtt:
- notcompute
- first_private_address
Fn::Select:
- 0
- Fn::Select:
- ctlplane
- Fn::GetAtt:
- notcompute
- networks
metadata_proxy_shared_secret: unset
ovs:
enable_tunneling: 'True'
local_ip:
Fn::GetAtt:
- notcompute
- first_private_address
Fn::Select:
- 0
- Fn::Select:
- ctlplane
- Fn::GetAtt:
- notcompute
- networks
public_interface: eth0
physical_bridge: br-ex
tenant_network_type: gre
@ -251,9 +261,13 @@ Resources:
Ref: NeutronPassword
rabbit:
host:
Fn::GetAtt:
- notcompute
- first_private_address
Fn::Select:
- 0
- Fn::Select:
- ctlplane
- Fn::GetAtt:
- notcompute
- networks
password: guest
notcompute:
Type: OS::Nova::Server