mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 13:03:02 +02:00
Let's drop the leading IETF or Infix prefixes from tests. Initially the idea was to mimnic the YANG models, but it's difficult to navigate and does not provide any real benefit to developers or end-users. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
31 lines
946 B
Plaintext
31 lines
946 B
Plaintext
=== Route preference: OSPF vs Static
|
|
|
|
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/routing/route_pref_ospf]
|
|
|
|
==== Description
|
|
|
|
This test configures a device with both an OSPF-acquired route on a
|
|
dedicated interface and a static route to the same destination on
|
|
another interface. The static route has a higher preference value than
|
|
OSPF.
|
|
|
|
Initially, the device should prefer the OSPF route; if the OSPF route
|
|
becomes unavailable, the static route should take over.
|
|
|
|
==== Topology
|
|
|
|
image::topology.svg[Route preference: OSPF vs Static topology, align=center, scaledwidth=75%]
|
|
|
|
==== Sequence
|
|
|
|
. Set up topology and attach to target DUTs
|
|
. Set up TPMR between R1ospf and R2ospf
|
|
. Configure targets
|
|
. Set up persistent MacVlan namespaces
|
|
. Wait for OSPF and static routes
|
|
. Verify connectivity from PC:data1 to PC:data2 via OSPF
|
|
. Simulate OSPF route loss by blocking OSPF interface
|
|
. Verify connectivity via static route after OSPF failover
|
|
|
|
|