[testbed] announce routes with routes generation switch, aggregate routes and variable ipv6 address pattern#15748
Conversation
…pv6 address prefix length
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
1 similar comment
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
|
Cherry-pick PR to msft-202412: Azure/sonic-mgmt.msft#28 |
…utes and variable ipv6 address pattern (sonic-net#15748) * add routes generation switch, add aggregate routes key, paramterize ipv6 address prefix length
<!-- Please make sure you've read and understood our contributing guidelines; https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md Please provide following information to help code review process a bit easier: --> ### Description of PR <!-- - Please include a summary of the change and which issue is fixed. - Please also include relevant motivation and context. Where should reviewer start? background context? - List any dependencies that are required for this change. --> Summary: Fixes # (issue) This test plan is to test if control/data plane can handle the initialization/flapping of numerous BGP session holding a lot routes, and estimate the impact on it. Related PRs: | PR title | State | Context | | ------ | ------ | -------| | [ [bgp-scale-test] Implement bgp scale test cases for sessions flapping, unisolation, nexthop group member change scenarios ](sonic-net/sonic-mgmt#16069) |  |  | | [ [testbed] announce routes with routes generation switch, aggregate routes and variable ipv6 address pattern ](sonic-net/sonic-mgmt#15748) |  |  | | [ [isolated-topo] disable ipv4 routes generation, add mocked aggregated addresses ](sonic-net/sonic-mgmt#15748) |  |  | ### Type of change <!-- - Fill x for your type of change. - e.g. - [x] Bug fix --> - [ ] Bug fix - [ ] Testbed and Framework(new/improvement) - [ ] Test case(new/improvement) ### Back port request - [ ] 202012 - [ ] 202205 - [ ] 202305 - [ ] 202311 - [ ] 202405 ### Approach #### What is the motivation for this PR? With numerous BGP sessions holding a lot routes, any flapping on BGP sessions or routes cloud have more overhead on device, to verify the functionality and estimate convergence time, we publish this test plan. #### How did you do it? Describe three test scenarios and introduce how we measure time in test. #### How did you verify/test it? #### Any platform specific information? #### Supported testbed topology if it's a new test case? ### Documentation <!-- (If it's a new feature, new test case) Did you update documentation/Wiki relevant to your implementation? Link to the wiki page? -->
<!-- Please make sure you've read and understood our contributing guidelines; https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md Please provide following information to help code review process a bit easier: --> ### Description of PR <!-- - Please include a summary of the change and which issue is fixed. - Please also include relevant motivation and context. Where should reviewer start? background context? - List any dependencies that are required for this change. --> Summary: Fixes # (issue) This test plan is to test if control/data plane can handle the initialization/flapping of numerous BGP session holding a lot routes, and estimate the impact on it. Related PRs: | PR title | State | Context | | ------ | ------ | -------| | [ [bgp-scale-test] Implement bgp scale test cases for sessions flapping, unisolation, nexthop group member change scenarios ](sonic-net/sonic-mgmt#16069) |  |  | | [ [testbed] announce routes with routes generation switch, aggregate routes and variable ipv6 address pattern ](sonic-net/sonic-mgmt#15748) |  |  | | [ [isolated-topo] disable ipv4 routes generation, add mocked aggregated addresses ](sonic-net/sonic-mgmt#15748) |  |  | ### Type of change <!-- - Fill x for your type of change. - e.g. - [x] Bug fix --> - [ ] Bug fix - [ ] Testbed and Framework(new/improvement) - [ ] Test case(new/improvement) ### Back port request - [ ] 202012 - [ ] 202205 - [ ] 202305 - [ ] 202311 - [ ] 202405 ### Approach #### What is the motivation for this PR? With numerous BGP sessions holding a lot routes, any flapping on BGP sessions or routes cloud have more overhead on device, to verify the functionality and estimate convergence time, we publish this test plan. #### How did you do it? Describe three test scenarios and introduce how we measure time in test. #### How did you verify/test it? #### Any platform specific information? #### Supported testbed topology if it's a new test case? ### Documentation <!-- (If it's a new feature, new test case) Did you update documentation/Wiki relevant to your implementation? Link to the wiki page? -->
Description of PR
Summary:
In this PR, we added new features to make announce routes script more powerful.
Type of change
Back port request
Approach
What is the motivation for this PR?
To make route announcement more powerful.
How did you do it?
Add routes generation switch, aggregate routes and variable ipv6 address pattern
How did you verify/test it?
Verified on 7215 testbed with t0 and t1 topologies.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation