rename peer.bgp4o6 attribute to peer.multiprotocol

pull/1/head
n0emis 5 years ago
parent faa000153f
commit 4b90bd4aa4
Signed by: n0emis
GPG Key ID: 00FAF748B777CF10

@ -1,11 +1,11 @@
{% if peer.v4 is defined and not peer.bgp4o6 is defined %} {% if peer.v4 is defined and not peer.multiprotocol is defined %}
protocol bgp {{ peer.name }} from dnpeers{% if not peer.bgp4o6 is defined %}_v4{% endif %} { protocol bgp {{ peer.name }} from dnpeers{% if not peer.multiprotocol is defined %}_v4{% endif %} {
neighbor {{ peer.v4 }} as {{ peer.as }}; neighbor {{ peer.v4 }} as {{ peer.as }};
}; };
{% endif %} {% endif %}
{% if peer.v6 is defined %} {% if peer.v6 is defined %}
protocol bgp {{ peer.name }}_v6 from dnpeers{% if not peer.bgp4o6 is defined %}_v6{% endif %} { protocol bgp {{ peer.name }}_v6 from dnpeers{% if not peer.multiprotocol is defined %}_v6{% endif %} {
# if you use link-local ipv6 addresses for peering using the following # if you use link-local ipv6 addresses for peering using the following
neighbor {{ peer.v6 }}%{{ peer.if.name | default('dn42_' + peer.name) }} as {{ peer.as }}; neighbor {{ peer.v6 }}%{{ peer.if.name | default('dn42_' + peer.name) }} as {{ peer.as }};
{% if peer.debug is defined %} {% if peer.debug is defined %}

Loading…
Cancel
Save