Browse Source

[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
changes/99/762099/1
Rabi Mishra 7 months ago
parent
commit
013d15f487
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      network/ports/port_from_pool.j2

+ 4
- 0
network/ports/port_from_pool.j2 View File

@ -111,3 +111,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…
Cancel
Save