Skip to content

Commit

Permalink
tests: Add new pim mrib tests
Browse files Browse the repository at this point in the history
Test mrib overrides and rpf lookup mode changes.

Signed-off-by: Nathan Bahr <[email protected]>
  • Loading branch information
nabahr committed Dec 13, 2024
1 parent 5cce666 commit d334f84
Show file tree
Hide file tree
Showing 6 changed files with 441 additions and 0 deletions.
Empty file.
28 changes: 28 additions & 0 deletions tests/topotests/pim_mrib/r1/frr.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
!
hostname r1
password zebra
log file /tmp/r1-frr.log
!
!debug pim nht
!debug pim nht detail
!debug pim nht rp
!
interface r1-eth0
ip address 10.0.0.1/24
ip igmp
ip pim
!
interface r1-eth1
ip address 10.0.1.1/24
ip igmp
ip pim
!
ip forwarding
!
ip route 10.0.2.0/24 10.0.0.2 50
ip route 10.0.3.0/24 10.0.1.3 50
!
router pim
rpf-lookup-mode mrib-then-urib
rp 10.0.0.1 224.0.0.0/4
!
28 changes: 28 additions & 0 deletions tests/topotests/pim_mrib/r2/frr.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
!
hostname r2
password zebra
log file /tmp/r2-frr.log
!
!debug pim nht
!debug pim nht detail
!debug pim nht rp
!
interface r2-eth0
ip address 10.0.0.2/24
ip igmp
ip pim
!
interface r2-eth1
ip address 10.0.2.2/24
ip igmp
ip pim
!
ip forwarding
!
ip route 10.0.1.0/24 10.0.0.1 50
ip route 10.0.3.0/24 10.0.2.4 50
!
router pim
rpf-lookup-mode mrib-then-urib
rp 10.0.0.1 224.0.0.0/4
!
28 changes: 28 additions & 0 deletions tests/topotests/pim_mrib/r3/frr.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
!
hostname r3
password zebra
log file /tmp/r3-frr.log
!
!debug pim nht
!debug pim nht detail
!debug pim nht rp
!
interface r3-eth0
ip address 10.0.1.3/24
ip igmp
ip pim
!
interface r3-eth1
ip address 10.0.3.3/24
ip igmp
ip pim
!
ip forwarding
!
ip route 10.0.0.0/24 10.0.1.1 50
ip route 10.0.2.0/24 10.0.3.4 50
!
router pim
rpf-lookup-mode mrib-then-urib
rp 10.0.0.1 224.0.0.0/4
!
29 changes: 29 additions & 0 deletions tests/topotests/pim_mrib/r4/frr.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
!
hostname r4
password zebra
log file /tmp/r4-frr.log
!
debug pim nht
debug pim nht detail
debug pim nht rp
debug zebra rib detail
!
interface r4-eth0
ip address 10.0.2.4/24
ip igmp
ip pim
!
interface r4-eth1
ip address 10.0.3.4/24
ip igmp
ip pim
!
ip forwarding
!
ip route 10.0.0.0/24 10.0.2.2 50
ip route 10.0.1.0/24 10.0.3.3 50
!
router pim
rpf-lookup-mode mrib-then-urib
rp 10.0.0.1 224.0.0.0/4
!
Loading

0 comments on commit d334f84

Please sign in to comment.