Skip to content

Commit

Permalink
Additional test case for VRF usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jonxstill committed Oct 13, 2023
1 parent 290073d commit 3b0490d
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,9 @@ ip address virtual source-nat vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES address 1
ip address virtual source-nat vrf TEN_E_L3_MULTICAST_TRANSIT address 10.255.52.3
ip address virtual source-nat vrf TEN_E_PEG_L3_MULTICAST_ENABLED address 10.255.51.3
!
ip access-list standard RP_ACL_VRF_OVERRIDE
10 permit 232.1.0.0/21
!
ip access-list standard RPS_ACL_VRF_Tenant_E_1
10 permit 232.0.120.0/21
20 permit 232.0.128.0/21
Expand Down Expand Up @@ -1167,6 +1170,7 @@ router pim sparse-mode
vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE
ipv4
rp address 10.20.20.20 232.0.0.0/21
rp address 10.20.20.30 access-list RP_ACL_VRF_OVERRIDE
rp address 10.40.40.40
!
vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,9 @@ ip address virtual source-nat vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES address 1
ip address virtual source-nat vrf TEN_E_L3_MULTICAST_TRANSIT address 10.255.52.4
ip address virtual source-nat vrf TEN_E_PEG_L3_MULTICAST_ENABLED address 10.255.51.4
!
ip access-list standard RP_ACL_VRF_OVERRIDE
10 permit 232.1.0.0/21
!
ip access-list standard RPS_ACL_VRF_Tenant_E_1
10 permit 232.0.120.0/21
20 permit 232.0.128.0/21
Expand Down Expand Up @@ -1167,6 +1170,7 @@ router pim sparse-mode
vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE
ipv4
rp address 10.20.20.20 232.0.0.0/21
rp address 10.20.20.30 access-list RP_ACL_VRF_OVERRIDE
rp address 10.40.40.40
!
vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1593,6 +1593,9 @@ router_pim_sparse_mode:
groups:
- 232.0.0.0/21
- address: 10.40.40.40
- address: 10.20.20.30
access_lists:
- RP_ACL_VRF_OVERRIDE
- name: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES
ipv4:
rp_addresses:
Expand All @@ -1619,6 +1622,10 @@ router_pim_sparse_mode:
access_lists:
- RPS_ACL_VRF_Tenant_E_2
standard_access_lists:
- name: RP_ACL_VRF_OVERRIDE
sequence_numbers:
- sequence: 10
action: permit 232.1.0.0/21
- name: RPS_ACL_VRF_Tenant_E_1
sequence_numbers:
- sequence: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1593,6 +1593,9 @@ router_pim_sparse_mode:
groups:
- 232.0.0.0/21
- address: 10.40.40.40
- address: 10.20.20.30
access_lists:
- RP_ACL_VRF_OVERRIDE
- name: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES
ipv4:
rp_addresses:
Expand All @@ -1619,6 +1622,10 @@ router_pim_sparse_mode:
access_lists:
- RPS_ACL_VRF_Tenant_E_2
standard_access_lists:
- name: RP_ACL_VRF_OVERRIDE
sequence_numbers:
- sequence: 10
action: permit 232.1.0.0/21
- name: RPS_ACL_VRF_Tenant_E_1
sequence_numbers:
- sequence: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,12 @@ tenants:
- 232.0.0.0/21
- rps:
- 10.40.40.40
- rps:
- 10.20.20.30
nodes: [EVPN-MULTICAST-L3LEAF1A, EVPN-MULTICAST-L3LEAF1B]
groups:
- 232.1.0.0/21
access_list_name: RP_ACL_VRF_OVERRIDE
vrf_vni: 55
svis:
- id: 550
Expand Down

0 comments on commit 3b0490d

Please sign in to comment.