Fix the network command for ipv6 vlan interfaces (#894)
This commit is contained in:
parent
1be1c466fe
commit
c52e876697
@ -46,7 +46,13 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
|
||||
{% endif %}
|
||||
{% block vlan_advertisement %}
|
||||
{% for vlan_interface in minigraph_vlan_interfaces %}
|
||||
{% if vlan_interface['addr'] | ipv4 %}
|
||||
network {{ vlan_interface['subnet'] }}
|
||||
{% elif vlan_interface['addr'] | ipv6 %}
|
||||
address-family ipv6
|
||||
network {{ vlan_interface['subnet'] }}
|
||||
exit-address-family
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endblock vlan_advertisement %}
|
||||
{% block bgp_sessions %}
|
||||
|
Reference in New Issue
Block a user