Browse Source

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
changes/68/745068/1
liumk 1 year ago
parent
commit
9c694a6b06
  1. 2
      meta/io.murano/Classes/resources/NeutronNetworkBase.yaml

2
meta/io.murano/Classes/resources/NeutronNetworkBase.yaml

@ -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

Loading…
Cancel
Save