Skip to content

Commit

Permalink
rename allowas to allow_as
Browse files Browse the repository at this point in the history
Signed-off-by: ccoueffe <ccoueffe@cisco.com>
  • Loading branch information
ccoueffe committed Sep 30, 2024
1 parent bcbc52e commit 4f88a8a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions roles/dtc/common/templates/ndfc_vrf_lite_ebgp.j2
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ router bgp {{ MD_Extended.vxlan.global.bgp_asn }}
{% if peer.address_family_ipv4_unicast.weight is defined and peer.address_family_ipv4_unicast.weight %}
weight {{ peer.address_family_ipv4_unicast.weight }}
{% endif %}
{% if peer.address_family_ipv4_unicast.allowas_in_as_number is defined and peer.address_family_ipv4_unicast.allowas_in_as_number %}
allowas-in {{ peer.address_family_ipv4_unicast.allowas_in_as_number }}
{% elif peer.address_family_ipv4_unicast.allowas_in is defined and peer.address_family_ipv4_unicast.allowas_in %}
{% if peer.address_family_ipv4_unicast.allow_as_in_number is defined and peer.address_family_ipv4_unicast.allow_as_in_number %}
allowas-in {{ peer.address_family_ipv4_unicast.allow_as_in_number }}
{% elif peer.address_family_ipv4_unicast.allow_as_in is defined and peer.address_family_ipv4_unicast.allow_as_in %}
allowas-in
{% endif %}
{% if peer.address_family_ipv4_unicast.send_community is defined and peer.address_family_ipv4_unicast.send_community %}
Expand Down Expand Up @@ -224,9 +224,9 @@ router bgp {{ MD_Extended.vxlan.global.bgp_asn }}
{% if peer.address_family_ipv6_unicast.weight is defined and peer.address_family_ipv6_unicast.weight %}
weight {{ peer.address_family_ipv6_unicast.weight }}
{% endif %}
{% if peer.address_family_ipv6_unicast.allowas_in_as_number is defined and peer.address_family_ipv6_unicast.allowas_in_as_number %}
allowas-in {{ peer.address_family_ipv6_unicast.allowas_in_as_number }}
{% elif peer.address_family_ipv6_unicast.allowas_in is defined and peer.address_family_ipv6_unicast.allowas_in %}
{% if peer.address_family_ipv6_unicast.allow_as_in_number is defined and peer.address_family_ipv6_unicast.allow_as_in_number %}
allowas-in {{ peer.address_family_ipv6_unicast.allow_as_in_number }}
{% elif peer.address_family_ipv6_unicast.allow_as_in is defined and peer.address_family_ipv6_unicast.allow_as_in %}
allowas-in
{% endif %}
{% if peer.address_family_ipv6_unicast.send_community is defined and peer.address_family_ipv6_unicast.send_community %}
Expand Down

0 comments on commit 4f88a8a

Please sign in to comment.