Rev | Date | Author | Change Description |
---|---|---|---|
1 | 05/03/2024 | Ghulam Bahoo | Initial Version of test plan |
The purpose of this test is to evaluate the functionality of BFD in conjunction with the OSPF protocol on the SONIC switch DUT. The test assumes all standard topology configurations, such as BGP neighborship, are pre-configured in the DUT and neighboring systems with no OSPF configurations. It is also assumed that neighboring devices are all SONiC devices.
- Test BFD functionality in conjunction with OSPF protocol.
NOTE: OSPF Routing tests will run on all Tier 0 and Tier 1 topologies where neighboring devices are SONiC devices.
Term | Meaning |
---|---|
BFD | Bidirectional Forwarding Detection |
OSPF | Open Shortest Path First |
Commands | Comment |
---|---|
Configuration commands | |
no router bgp | Disable BGP instance on DUT |
router ospf | Instanciate OSPF instance on DUT |
network x.x.x.x/x area x | Advertise network |
bfd | Opens the BFD daemon configuration mode |
peer x.x.x.x | Configure BFD peer |
interface Ethernet x | Enters into interface configuration mode |
ip ospf bfd | Listen for BFD events on peers created on the interface |
Show commands | |
Show ip ospf | show all information about ospf |
Show ip ospf neighbors | show all information about OSPF neighbors |
Show bfd peer | Show all configured BFD peers information and current status |
The test assumes all standard configurations, such as BGP neighborship, are pre-configured in the DUT and neighboring systems with no OSPF configurations. It is also assumed that the neighboring devices are of SONiC type.
The test will run on the t0 and t1 testbed:
Verify whether OSPF neighbors are successfully created and appear with active status.
- Clear existing default routing configurations (if non-OSPF configurations)
- Establish OSPF session between DUT and neighbors
- Verify OSPF neighbors are successfully established with active status
- Restore original routing configurations (if non-OSPF configurations)
Verify whether BFD neighborship is successfully created between DUT and its neighbors and whether they are sharing BFD packets.
- Clear existing default routing configurations (if non-OSPF configurations)
- Establish BFD session between DUT and neighbors
- Verify BFD packets are being shared between BFD peers.
- Restore original routing configurations (if non-OSPF configurations)
Verify whether BFD is reporting a link failure to OSPF and whether it is dynamically switching the network traffic to other available routes in response to a link failure.
- Clear existing default routing configurations (if non-OSPF configurations)
- Establish BFD session between DUT and neighbors
- Simulate one link failure
- Verify whether BFD is dynamically switching the network traffic to other available routes
- Restore original routing configurations (if non-OSPF configurations)