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:
liumk 2020-08-06 13:41:24 +08:00
parent 371e99e473
commit 9c694a6b06
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ Methods:
$portName:
properties:
allowed_address_pairs:
- ip_address: $sip.getSharedIpRef()
- ip_address: $sip.virtualIp + '/32'
- $patchTemplate: $patchTemplate.mergeWith($template)
- $instanceFipOutput: null