-
Notifications
You must be signed in to change notification settings - Fork 1.1k
BGP GR helper mode test plan
The purpose is to test a functionality of BGP GR mode on the SONIC switch DUT, closely resembling production environment. The test assumes all necessary configuration is already pre-configured on the SONIC switch before test runs.
The test is targeting a running SONIC system with fully functioning configuration. The purpose of the test is not to test specific API, but functional testing of BGP GR helper mode on SONIC system, making sure that traffic flows correctly, according to BGP routes advertised by BGP peers of SONIC switch.
The test will run on the following testbeds:
- tXX
Test assumes that BGP GR is enabled and preconfigured on Arista VMs. BGP GR timer value should be more than time required for VM reboot.
bgp_gr_helper.yml when run with tag "bgp_gr_helper" will do the following:
- Randomly choose VM.
- Run test.
BGP GR helper test consists of a number of subtests, and each of them will include the following steps:
- Run lognanalyzer 'init' phase
- Run BGP GR helper Sub Test
- Run loganalyzer 'analyze' phase
To run traffic FIB PTF test will be reused.
Each test case will be additionally validated by the loganalizer utility.
Verify that traffic run without changes during neighbor graceful restart.
- Randomly choose VM for the test.
- Reboot VM.
- Run FIB test while VM is rebooting. Verify that traffic still goes through the interface connected to the neighbor (FIB test should pass).
- Verify that BGP session with the VM established.
- Should tests run for neighbors behind physical interfaces only or behind LAGs as well?
- On which topologies test should run?
-
For Users
-
For Developers
-
Subgroups/Working Groups
-
Presentations
-
Join Us