The purpose is to test TSA functionality. The TSA feature allows stop any BGP announcements from the DUT, restore them, and also check the current status of it.
The test is targeting a running SONIC system with fully functioning configuration. The purpose of the test is to test TSA commands.
The test could run on t1 testbed.
The exabgp instance runs on ptf to work as BGPMON. The BGPMON session is configured to make sure that BGPMON will receive all routes.
The test will run TSA, TSB, and TSC commands and check what routes are being announced to the DUT peers and to the BGPMON session.
- Configure BGPMON on DUT
- Run TSA command on DUT host
- Check the correct output from the command
- Check that DUT neighbors only receives the route to DUT loopback address with the predefined community value
- Check that BGPMON recevies all routes.
- Run TSB command to restore DUT
- Configure BGPMON on DUT
- Run TSB command on DUT host
- Check the correct output from the command
- Check that DUT neighbors receives all routes.
- Check that BGPMON recevies all routes.