[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
(cherry picked from commit 013d15f487
)
This commit is contained in:
parent
1a31770152
commit
e99d7212ae
|
@ -107,3 +107,7 @@ outputs:
|
|||
{%- else %}
|
||||
{{network.gateway_ip|default('')}}
|
||||
{%- endif %}
|
||||
cidr:
|
||||
description: CIDR of the ports subnet
|
||||
value:
|
||||
str_split: ['/', {get_param: {{network.name}}NetCidr}, 1]
|
||||
|
|
Loading…
Reference in New Issue