diff --git a/environments/network-environment.j2.yaml b/environments/network-environment.j2.yaml index 43c39007c1..4d3016f536 100644 --- a/environments/network-environment.j2.yaml +++ b/environments/network-environment.j2.yaml @@ -47,7 +47,10 @@ parameter_defaults: # Customize the VLAN ID to match the local environment {{network.name}}NetworkVlanID: {{network.vlan}} {%- endif %} -{%- if network.routes %} +{%- if network.ipv6|default(false) and network.routes_ipv6 %} + # Routes to add to host_routes property of the subnets in neutron. + {{network.name}}Routes: {{network.routes_ipv6|default([])}} +{%- elif network.routes %} # Routes to add to host_routes property of the subnets in neutron. {{network.name}}Routes: {{network.routes|default([])}} {%- endif %}