[docker-bgp]: Use address-family ipv6 for ipv6 vlan addresses (#692)

* Fix SAI submodule id

* Fix bgpd template. Use v6 address family for vlan ipv6 addr
This commit is contained in:
pavel-shirshov 2017-06-10 17:05:48 -07:00 committed by lguohan
parent 942e2062af
commit 390591de90

View File

@ -36,7 +36,13 @@ router bgp {{ minigraph_bgp_asn }}
{% endblock bgp_init %}
{% 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 %}