Merge "Extend DeployedServerPortMap to include network props"

This commit is contained in:
Zuul 2018-11-20 13:45:20 +00:00 committed by Gerrit Code Review
commit 72526fe4d0
1 changed files with 6 additions and 3 deletions

View File

@ -456,15 +456,18 @@ class Deploy(command.Command):
'DeployedServerPortMap': {
('%s-ctlplane' % hostname): {
'fixed_ips': [{'ip_address': ip_addr}],
'subnets': [{'cidr': str(ip_nw)}]
'subnets': [{'cidr': str(ip_nw)}],
'network': {'tags': [str(ip_nw)]}
},
'control_virtual_ip': {
'fixed_ips': [{'ip_address': ctlplane_vip_addr}],
'subnets': [{'cidr': str(ip_nw)}]
'subnets': [{'cidr': str(ip_nw)}],
'network': {'tags': [str(ip_nw)]}
},
'public_virtual_ip': {
'fixed_ips': [{'ip_address': public_vip_addr}],
'subnets': [{'cidr': str(ip_nw)}]
'subnets': [{'cidr': str(ip_nw)}],
'network': {'tags': [str(ip_nw)]}
}
}
}