The purpose is to test functionality of BGP-MP on the SONIC switch DUT, closely resembling production environment. The test assumes all necessary configurations are 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-MP on SONIC system.
The test will run on the following testbeds:
- t0
IPv4 BGP neighborship will be configured between DUT and exabgp and each neighbor will redistribute IPv6 routes to each other.
bgp_mp.yml when run with tag “bgp_mp” will do the following:
- Generate and apply exabgp configuration.
- Run test.
- Clean up dynamic and temporary exabgp configuration.
On PTF host, exabgp tool will be used to configure bgp peer and redistribute IPv6 routes via IPv4 BGP session.
Verify that IPv6 routes are correctly redistributed over IPv4 BGP session.
- Generate IPv4 BGP peer configuration for exabgp instance.
- Generate IPv6 routes, to be announced via IPv4 session, for exabgp instance.
- Run exabgp instance.
- Verify that IPv4 BGP neighborship is established.
- Redistribute IPv6 routes using exabgp.
- Verify that IPv6 routes are correctly redistributed to the DUT.
- Redistribute IPv6 routes from the DUT to exabgp.
- Verify that IPv6 routes are correctly redistributed to the exabgp.
- Set default configuration.
- Should be some traffic test cases performed as part of this test?