-
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
There will be two j2 template files for Arista VM configuration: bgp_gr_enable.j2, bgp_gr_disable.j2. They will be used by Ansible playbook to generate Arista VM configuration file and apply it on corresponding VM.
bgp_gr_helper.yml when run with tag "bgp_gr_helper" will do the following:
- Generate Arista VM configuration file and apply them on corresponding VM.
- Run test.
- Apply default configuration on VMs.
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.
- Set BGP GR timer on VM (timer should be bigger than time required for VM reboot).
- Enable BGP GR on VM.
- Reboot VM.
- Run PTF 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.
- Set default BGP GR configuration on the VM.
-
For Users
-
For Developers
-
Subgroups/Working Groups
-
Presentations
-
Join Us