Merge "Use prefix length for CIDR in DeployedServerPortMap"
This commit is contained in:
commit
f9d656740c
|
@ -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)}]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue