tests: Add tests for new RPF lookup group and source list features

Expand existing pim_mrib tests to include testing lookup modes
specific to source and/or group as defined in prefix lists.

Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
This commit is contained in:
Nathan Bahr 2024-10-30 21:03:04 +00:00
parent e8d81ab5ce
commit 590c937e8a
5 changed files with 959 additions and 25 deletions

View File

@ -20,9 +20,10 @@ interface r1-eth1
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
ip route 10.0.3.0/24 10.0.0.2 50
!
router pim
rpf-lookup-mode mrib-then-urib
rp 10.0.0.1 224.0.0.0/4
rp 10.0.1.1 225.0.0.0/24
!

View File

@ -25,4 +25,5 @@ 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
rp 10.0.1.1 225.0.0.0/24
!

View File

@ -25,4 +25,5 @@ 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
rp 10.0.1.1 225.0.0.0/24
!

View File

@ -18,12 +18,24 @@ interface r4-eth1
ip igmp
ip pim
!
interface r4-dum0
ip address 10.10.0.4/24
ip igmp
ip pim
ip pim passive
!
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
ip route 10.0.1.0/24 10.0.2.2 50
!
ip prefix-list SRCPLIST permit 10.0.0.1/32
ip prefix-list SRCPLIST2 permit 10.0.1.1/32
ip prefix-list GRPPLIST permit 239.1.1.1/32
ip prefix-list GRPPLIST2 permit 239.2.2.2/32
!
router pim
rpf-lookup-mode mrib-then-urib
rp 10.0.0.1 224.0.0.0/4
rp 10.0.1.1 225.0.0.0/24
!

File diff suppressed because it is too large Load Diff