Skip to content

Commit

Permalink
Feat(eos_designs): Added support to set RCF for peer group in router …
Browse files Browse the repository at this point in the history
…bgp address family IPv4/IPv6 (aristanetworks#4804)
  • Loading branch information
MaheshGSLAB authored and emilarista committed Dec 17, 2024
1 parent 278ba04 commit 064e1c0
Show file tree
Hide file tree
Showing 10 changed files with 243 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,15 @@ router bgp 65106
neighbor Tenant_C_BGP_PEER_GROUP2 activate
neighbor Tenant_C_BGP_PEER_GROUP2 route-map TEST_IN in
neighbor Tenant_C_BGP_PEER_GROUP2 route-map TEST_OUT out
neighbor Tenant_C_BGP_PEER_GROUP2 rcf in TEST_RCF_IN()
neighbor Tenant_C_BGP_PEER_GROUP2 rcf out TEST_RCF_OUT()
neighbor UNDERLAY-PEERS activate
!
address-family ipv6
no neighbor Tenant_C_BGP_PEER_GROUP activate
neighbor Tenant_C_BGP_PEER_GROUP2 activate
neighbor Tenant_C_BGP_PEER_GROUP2 rcf in TEST_RCF_IN()
neighbor Tenant_C_BGP_PEER_GROUP2 rcf out TEST_RCF_OUT()
!
address-family vpn-ipv4
neighbor IPVPN-INTERWORKING-PEERS activate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,18 @@ router bgp 65107
no neighbor EVPN-OVERLAY-PEERS activate
no neighbor IPVPN-INTERWORKING-PEERS activate
neighbor Tenant_C_WAN_Zone_BGP_PEER_GROUP activate
neighbor Tenant_C_WAN_Zone_BGP_PEER_GROUP route-map TEST_IN in
neighbor Tenant_C_WAN_Zone_BGP_PEER_GROUP route-map TEST_OUT out
neighbor Tenant_C_WAN_Zone_BGP_PEER_GROUP rcf in TEST_RCF_IN()
neighbor Tenant_C_WAN_Zone_BGP_PEER_GROUP rcf out TEST_RCF_OUT()
neighbor UNDERLAY-PEERS activate
!
address-family ipv6
neighbor Tenant_C_WAN_Zone_BGP_PEER_GROUP activate
neighbor Tenant_C_WAN_Zone_BGP_PEER_GROUP route-map TEST_IN in
neighbor Tenant_C_WAN_Zone_BGP_PEER_GROUP route-map TEST_OUT out
neighbor Tenant_C_WAN_Zone_BGP_PEER_GROUP rcf in TEST_RCF_IN()
neighbor Tenant_C_WAN_Zone_BGP_PEER_GROUP rcf out TEST_RCF_OUT()
!
address-family vpn-ipv4
neighbor IPVPN-INTERWORKING-PEERS activate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ router_bgp:
activate: true
route_map_in: TEST_IN
route_map_out: TEST_OUT
rcf_in: TEST_RCF_IN()
rcf_out: TEST_RCF_OUT()
neighbors:
- ip_address: 172.31.254.224
peer_group: UNDERLAY-PEERS
Expand Down Expand Up @@ -157,6 +159,10 @@ router_bgp:
peer_groups:
- name: Tenant_C_BGP_PEER_GROUP
activate: false
- name: Tenant_C_BGP_PEER_GROUP2
activate: true
rcf_in: TEST_RCF_IN()
rcf_out: TEST_RCF_OUT()
vrfs:
- name: Tenant_A_WAN_Zone
rd: 192.168.255.16:14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ router_bgp:
activate: false
- name: Tenant_C_WAN_Zone_BGP_PEER_GROUP
activate: true
route_map_in: TEST_IN
route_map_out: TEST_OUT
rcf_in: TEST_RCF_IN()
rcf_out: TEST_RCF_OUT()
neighbors:
- ip_address: 172.31.255.0
peer_group: UNDERLAY-PEERS
Expand Down Expand Up @@ -147,6 +151,10 @@ router_bgp:
peer_groups:
- name: Tenant_C_WAN_Zone_BGP_PEER_GROUP
activate: true
route_map_in: TEST_IN
route_map_out: TEST_OUT
rcf_in: TEST_RCF_IN()
rcf_out: TEST_RCF_OUT()
vrfs:
- name: Tenant_A_WAN_Zone
rd: 192.168.255.17:14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ tenant_c:
activate: True
route_map_in: TEST_IN
route_map_out: TEST_OUT
rcf_in: TEST_RCF_IN()
rcf_out: TEST_RCF_OUT()
address_family_ipv6:
activate: true
rcf_in: TEST_RCF_IN()
rcf_out: TEST_RCF_OUT()
vrfs:
- name: Tenant_C_OP_Zone
vrf_vni: 30
Expand Down Expand Up @@ -68,8 +74,16 @@ tenant_c:
always: true
address_family_ipv4:
activate: True
route_map_in: TEST_IN
route_map_out: TEST_OUT
rcf_in: TEST_RCF_IN()
rcf_out: TEST_RCF_OUT()
address_family_ipv6:
activate: True
route_map_in: TEST_IN
route_map_out: TEST_OUT
rcf_in: TEST_RCF_IN()
rcf_out: TEST_RCF_OUT()
nodes: [ DC1-BL2B ]
update_source: lo0
bfd: false
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 064e1c0

Please sign in to comment.