Commit 22dee4c
authored
[action] [PR:18028] Move some SRv6 functions to srv6_helper.py (sonic-net#228)
<!--
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: Move some SRv6 functions to srv6_helper.py
Fixes #
Move some SRv6 functions to `tests/common/helpers/srv6_helper.py`. If other features want to do integration testing with SRv6, they can call the function in `tests/common/helpers/srv6_helper.py` to prepare SRv6 environment.
### Type of change
<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->
- [ ] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] New Test case
- [ ] Skipped for non-supported platforms
- [x] Test case improvement
### Back port request
- [ ] 202012
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411
### Approach
#### What is the motivation for this PR?
#### How did you do it?
#### 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?
-->1 parent 46d8e61 commit 22dee4c
4 files changed
Lines changed: 498 additions & 425 deletions
0 commit comments