-
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:
- t1
- t1-lag
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 routes are preserved during neighbor graceful restart.
- Randomly choose VM for the test.
- Reboot VM.
- Verify BGP timeout (at least 115 seconds routes should stay in fib).
- Verify all routes are preserved (no reinstallation after BGP open message from the neighbor).
- Verify that BGP session with the VM established.
Verify that traffic run without changes during neighbor graceful restart.
- Randomly choose VM for the test.
- Change VM startup config (advertised routes should be different).
- Reboot VM.
- Verify that preserved routes are removed when VM back.
- Verify that new routes are installed when VM back.
- Restore VM startup config.
- 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