Merge "Use prefix length for CIDR in DeployedServerPortMap"

This commit is contained in:
Zuul 2018-07-12 08:54:30 +00:00 committed by Gerrit Code Review
commit f9d656740c
1 changed files with 3 additions and 3 deletions

View File

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