[vlan] Add pytest cases to validate the behavior about add LAG member to vlan.#875
Merged
lguohan merged 5 commits intosonic-net:masterfrom Aug 8, 2019
EmmaLin11:add_tests_lag_member
Merged
[vlan] Add pytest cases to validate the behavior about add LAG member to vlan.#875lguohan merged 5 commits intosonic-net:masterfrom EmmaLin11:add_tests_lag_member
lguohan merged 5 commits intosonic-net:masterfrom
EmmaLin11:add_tests_lag_member
Conversation
vlan. Signed-off-by: Emma Lin <emma_lin@edge-core.com>
Contributor
Author
|
retest this please |
Signed-off-by: Emma Lin <emma_lin@edge-core.com>
Contributor
|
@linemma , can you resolve the conflict? |
Contributor
Author
|
@lguohan, resolved, please review again. Thanks. |
Contributor
Author
|
retest this please |
Contributor
|
need to resolve the conflict again due to previous vlan test contribution from you. |
Contributor
Author
|
@lguohan, resolved, please review again. Thanks! |
Contributor
|
retest this please |
3 similar comments
Contributor
|
retest this please |
Contributor
|
retest this please |
Contributor
Author
|
retest this please |
stcheng
approved these changes
Aug 5, 2019
Contributor
|
retest this please |
1 similar comment
Contributor
Author
|
retest this please |
EdenGri
pushed a commit
to EdenGri/sonic-swss
that referenced
this pull request
Feb 28, 2022
Signed-off-by: Guohan Lu <lguohan@gmail.com>
oleksandrivantsiv
pushed a commit
to oleksandrivantsiv/sonic-swss
that referenced
this pull request
Mar 1, 2023
…the MACsec port was disabled in runtime (sonic-net#875) * Add MACsec filter state guard Signed-off-by: Ze Gan <ganze718@gmail.com> * Add volatile qualifer for state Signed-off-by: Ze Gan <ganze718@gmail.com> * Polish code format Signed-off-by: Ze Gan <ganze718@gmail.com> * Fix the macsec device was shutdown by ouutside Signed-off-by: Ze Gan <ganze718@gmail.com> * fix typo Signed-off-by: Ze Gan <ganze718@gmail.com> * Remove overkill qualifier Signed-off-by: Ze Gan <ganze718@gmail.com> * fix typo Signed-off-by: Ze Gan <ganze718@gmail.com> * Fix spell warning Signed-off-by: Ze Gan <ganze718@gmail.com> * Fix bug Signed-off-by: Ze Gan <ganze718@gmail.com> * Format code Signed-off-by: Ze Gan <ganze718@gmail.com> * Fix unittest Signed-off-by: Ze Gan <ganze718@gmail.com> * Add unittest for State guard Signed-off-by: Ze Gan <ganze718@gmail.com> * Update Makefile.am for testing MACsec Filter State Guard Signed-off-by: Ze Gan <ganze718@gmail.com>
Janetxxx
pushed a commit
to Janetxxx/sonic-swss
that referenced
this pull request
Nov 10, 2025
… to vlan. (sonic-net#875) * [vlan] Add pytest cases to validate the behavior about add LAG member to vlan. Signed-off-by: Emma Lin <emma_lin@edge-core.com>
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.
What I did
[vlan] Add pytest cases to validate the behavior about add LAG member to vlan.
Why I did it
How I verified it
Add test case:
Details if related
==================================================================== test session starts =====================================================================
platform linux2 -- Python 2.7.15rc1, pytest-3.3.0, py-1.8.0, pluggy-0.6.0 -- /usr/bin/python
cachedir: .cache
rootdir: /home/ubuntu/sonic-buildimage/src/sonic-swss/tests, inifile:
collected 11 items
test_vlan.py::TestVlan::test_VlanAddRemove PASSED [ 9%]
test_vlan.py::TestVlan::test_MultipleVlan PASSED [ 18%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input0-0] PASSED [ 27%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input1-0] PASSED [ 36%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input2-0] PASSED [ 45%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input3-1] PASSED [ 54%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input0-0] PASSED [ 63%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input1-0] PASSED [ 72%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input2-0] PASSED [ 81%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input3-1] PASSED [ 90%]
test_vlan.py::TestVlan::test_AddPortChannelToVlan PASSED [100%]
================================================================= 11 passed in 62.15 seconds =================================================================
Signed-off-by: Emma Lin emma_lin@edge-core.com