diff options
| author | Acee Lindem <acee@lindem.com> | 2024-11-18 17:05:31 +0000 | 
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-11-21 17:21:18 +0000 | 
| commit | f10d2388693fc6904fb7ad4cf1570dd8eae8c213 (patch) | |
| tree | afef9d76cc1b0600feec3a414ec00d53783bbcfb /tests/topotests/ospf_multi_instance/r2 | |
| parent | 7677309e8b31d0ec22da6a12acc0a8ce46e79507 (diff) | |
tests: Add topotest for OSPF multi-instance default origination.
This change adds a topotest to test various case of OSPF multi-instance
origination including cases where the criteria route is from another
instance of OSPF, as well as the same OSPF instance (where a default
should not be originated).
Signed-off-by: Acee Lindem <acee@lindem.com>
(cherry picked from commit 82f434940207c5d2ed0e52f0d27998fb56129064)
Diffstat (limited to 'tests/topotests/ospf_multi_instance/r2')
| -rw-r--r-- | tests/topotests/ospf_multi_instance/r2/frr.conf | 37 | 
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/topotests/ospf_multi_instance/r2/frr.conf b/tests/topotests/ospf_multi_instance/r2/frr.conf new file mode 100644 index 0000000000..8501e0edc0 --- /dev/null +++ b/tests/topotests/ospf_multi_instance/r2/frr.conf @@ -0,0 +1,37 @@ +! +hostname r2 +password zebra +! debug ospf event +! debug ospf lsa +! debug ospf default-information +! debug ospf zebra redistribute + +ip forwarding +! +interface lo1 + ip address 2.2.2.1/32 + ip ospf 1 area 0 + no shut +! +interface lo2 + ip address 2.2.2.2/32 + ip ospf 2 area 0 + no shut +! +interface r2-eth0 + ip address 10.1.1.2/24 + ip ospf 1 area 0 +! +interface r2-eth1 + ip address 10.1.2.2/24 + ip ospf 2 area 0 +! +router ospf 1 +  ospf router-id 2.2.2.1 +  distance 20 +! +router ospf 2 +  ospf router-id 2.2.2.2 +  distance 20 +! +  | 
