Fix cidr format error about ip_address in allowed_address_pairs.
In HEAT template OS:Neutron:Port, the value of ip_address in parameter allowed_address_pairs should be of type of net_cidr, then the string '/32' should be added after virtual_ip. Without string '/32', the error about wrong IP subnet cidr will occurred. Change-Id: I0652b668423f393ae306db056255827c5d065bad
This commit is contained in:
parent
371e99e473
commit
9c694a6b06
@ -132,7 +132,7 @@ Methods:
|
|||||||
$portName:
|
$portName:
|
||||||
properties:
|
properties:
|
||||||
allowed_address_pairs:
|
allowed_address_pairs:
|
||||||
- ip_address: $sip.getSharedIpRef()
|
- ip_address: $sip.virtualIp + '/32'
|
||||||
- $patchTemplate: $patchTemplate.mergeWith($template)
|
- $patchTemplate: $patchTemplate.mergeWith($template)
|
||||||
|
|
||||||
- $instanceFipOutput: null
|
- $instanceFipOutput: null
|
||||||
|
Loading…
Reference in New Issue
Block a user