[action] [PR:4615] [EVPN-MH] Integrate EVPN-MH with existing modules and add tests#239
Merged
Merged
Conversation
#### Why I did it This is part 2/2 of splitting the original EVPN-MH PR (#4262) into reviewable pieces. Part 1 ([#4608](sonic-net/sonic-swss#4608)) landed the standalone EVPN-MH code (new orchs and headers added without touching existing files). This PR integrates EVPN-MH with the existing modules (NeighOrch, FdbOrch, VxlanOrch, RouteOrch, MuxOrch, p4orch, fpmsyncd, etc.) and adds the mock/VS tests that exercise both the standalone and integration paths. The test-infra prerequisites required to land these tests were merged separately as #4599. #### How I did it - Commit 1 — *Integrate EVPN-MH with existing modules*: wires the standalone EVPN-MH orchs (added in #4608) into the existing data plane (FDB / neighbor / next-hop / VXLAN / mux / p4orch / fpmsyncd). - Commit 2 — *Add EVPN-MH tests and stabilization updates*: adds new mock_tests (neighorch, vxlanorch, p4orch fake/mock helpers) and VS tests (`test_sag.py`, EVPN FDB/L3 VXLAN updates) and a few small stabilization tweaks needed for the new tests. #### How to verify it - `make` the swss debs and run mock_tests; `test_sag.py` and the new EVPN-MH cases under `tests/mock_tests/{neighorch,vxlanorch}_ut.cpp` should pass. - Full VS suite locally and in CI. #### Which release branch to backport (provide reason below if selected) - [ ] 202012 - [ ] 202205 - [ ] 202211 - [ ] 202305 - [ ] 202311 - [ ] 202405 - [ ] 202411 - [ ] 202505 - [ ] 202511 #### Description for the changelog [EVPN-MH] Integrate EVPN-MH with existing modules and add unit/VS tests. #### Link to config_db schema for YANG module changes N/A (YANG changes are tracked separately in sonic-buildimage PR #27543.) Signed-off-by: Sonic Build Admin <sonicbld@microsoft.com> #### A picture of a cute animal (not mandatory but encouraged)
Collaborator
Author
|
Original PR: sonic-net/sonic-swss#4615 |
Collaborator
Author
|
/azp run |
9 tasks
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
| target_nofile = hard_nofile | ||
| if target_nofile > soft_nofile: | ||
| resource.setrlimit(resource.RLIMIT_NOFILE, (target_nofile, hard_nofile)) | ||
| except (OSError, ValueError): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
This is part 2/2 of splitting the original EVPN-MH PR (#4262) into reviewable pieces.
Part 1 (#4608) landed the standalone EVPN-MH code (new orchs and headers added without touching existing files).
This PR integrates EVPN-MH with the existing modules (NeighOrch, FdbOrch, VxlanOrch, RouteOrch, MuxOrch, p4orch, fpmsyncd, etc.) and adds the mock/VS tests that exercise both the standalone and integration paths.
The test-infra prerequisites required to land these tests were merged separately as #4599.
How I did it
test_sag.py, EVPN FDB/L3 VXLAN updates) and a few small stabilization tweaks needed for the new tests.How to verify it
makethe swss debs and run mock_tests;test_sag.pyand the new EVPN-MH cases undertests/mock_tests/{neighorch,vxlanorch}_ut.cppshould pass.Which release branch to backport (provide reason below if selected)
Description for the changelog
[EVPN-MH] Integrate EVPN-MH with existing modules and add unit/VS tests.
Link to config_db schema for YANG module changes
N/A (YANG changes are tracked separately in sonic-buildimage PR #27543.)
Signed-off-by: Sonic Build Admin sonicbld@microsoft.com
A picture of a cute animal (not mandatory but encouraged)