-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[show] Fix int status of LAGs, configured as Vlan members #1478
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
can you update the unit test? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need unit test
0a6169e
to
3dc34bb
Compare
@lguohan, I have added changes in unit tests for intfutil to the PR. |
@maksymbelei95 Is this PR needed on 201911 branch? |
@qiluo-msft, the issue is being occurred on master and 202012 branches, but, did not checked on 201911. I will check and let you know whether the PR is needed on 201911. |
Thanks for checking! |
@qiluo-msft, regarding 201911. The related line of script |
@lguohan Could you help review again? Unit test was added. |
@lguohan, could you review the PR? |
@maksymbelei95 , would you please resolve conflict? |
* Pass missed argument to function "appl_db_portchannel_status_get" in "intfutil" script to provide correct information in "Vlan" column of command "show int status" for LAG interfaces. Signed-off-by: Maksym Belei <Maksym_Belei@jabil.com>
* Updating mocked tables and related unit test cases of intfutil to check case, when the PortChannel is a member of the Vlan. Command 'show int status' should display such interface as trunk device, not routed. * As there are dependencies between test modules, updating affected unit test modules. Updated: vlan_test.py Signed-off-by: Maksym Belei <Maksym_Belei@jabil.com>
52646d6
3dc34bb
to
52646d6
Compare
@prsunny, done. |
@prsunny, could you merge the PR? |
@maksymbelei95 could you please update submodule to get the fix in master? |
@liat-grozovik, created PR with the submodule update: sonic-net/sonic-buildimage#7144 |
Pass missed argument to function "appl_db_portchannel_status_get" in "intfutil" script to provide correct information in "Vlan" column of command "show int status" for LAG interfaces. - What I did Fixed status of LAG interfaces in Vlan column. LAG interfaces, configured as a Vlan member, should be seen as trunk interface. - How I did it Missed argument "self.combined_int_to_vlan_po_dict" passed to function "appl_db_portchannel_status_get" in "intfutil" script. - How to verify it admin@sonic:~$ show int status | grep PortChannel0011 Signed-off-by: Maksym Belei <Maksym_Belei@jabil.com>
Pass missed argument to function "appl_db_portchannel_status_get" in "intfutil" script to provide correct information in "Vlan" column of command "show int status" for LAG interfaces.
Signed-off-by: Maksym Belei Maksym_Belei@jabil.com
What I did
Resolves sonic-net/sonic-buildimage#6928
Fixed status of LAG interfaces in Vlan column. LAG interfaces, configured as a Vlan member, should be seen as trunk interface.
How I did it
Missed argument "self.combined_int_to_vlan_po_dict" passed to function "appl_db_portchannel_status_get"
in "intfutil" script.
How to verify it