Merge "Fix vlan id assignment with additional subnets"

This commit is contained in:
Zuul 2019-08-15 09:02:51 +00:00 committed by Gerrit Code Review
commit f38eea81d1
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ parameters:
{%- set _role_net_subnet = role.networks[network.name].get('subnet') %}
{%- if _subnets and _role_net_subnet and _role_net_subnet in _subnets %}
{{network.name}}NetworkVlanID_{{_role_net_subnet}}:
default: {{_role_net_subnet.vlan|default(1)}}
default: {{network.subnets[_role_net_subnet].vlan|default(1)}}
description: >
Vlan ID for the {{network.name_lower}} network traffic for subnet
{{_role_net_subnet}}.