[stable/ussuri,train] Add cidr to outputs of port_from_pool.j2
With change I4e4e5b1195d17f59c825a3f7df73920921e1f86e, we use cidr attribute of {{network.name}}Port for ansible vars. However, it does not exist in outputs of port_form_pool.2. Not required in master and stable/victoria. Change-Id: Idc2f9b284471947c098128297d8b796af65fa86d Closes-Bug: #1903666
This commit is contained in:
parent
d33f22f54a
commit
013d15f487
|
@ -111,3 +111,7 @@ outputs:
|
||||||
{%- else %}
|
{%- else %}
|
||||||
{{network.gateway_ip|default('')}}
|
{{network.gateway_ip|default('')}}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
cidr:
|
||||||
|
description: CIDR of the ports subnet
|
||||||
|
value:
|
||||||
|
str_split: ['/', {get_param: {{network.name}}NetCidr}, 1]
|
||||||
|
|
Loading…
Reference in New Issue