[201911] show ip int changes#1437
Merged
abdosi merged 4 commits intosonic-net:201911from Feb 26, 2021
Merged
Conversation
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
|
This pull request introduces 5 alerts and fixes 2 when merging d0b2e1a into 603ac53 - view on LGTM.com new alerts:
fixed alerts:
|
jleveque
suggested changes
Feb 16, 2021
Contributor
jleveque
left a comment
There was a problem hiding this comment.
As comments.
Also please fix LGTM alerts
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
|
This pull request introduces 5 alerts and fixes 2 when merging 3ca75ea into e54fb69 - view on LGTM.com new alerts:
fixed alerts:
|
jleveque
suggested changes
Feb 18, 2021
Contributor
jleveque
left a comment
There was a problem hiding this comment.
LGTM alerts still present
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
|
This pull request fixes 2 alerts when merging 0f9bb75 into e54fb69 - view on LGTM.com fixed alerts:
|
Contributor
Author
Fixed them in latest commit |
jleveque
approved these changes
Feb 18, 2021
arlakshm
added a commit
to sonic-net/sonic-buildimage
that referenced
this pull request
Feb 23, 2021
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]> Install pyroute2 for sonic-utilities. This change is needed for sonic-net/sonic-utilities#1437
4 tasks
lguohan
pushed a commit
to sonic-net/sonic-buildimage
that referenced
this pull request
Feb 23, 2021
This PR is port of #6845 for 201911 show ip interfaces is enhanced recently to support multi ASIC platforms in this sonic-net/sonic-utilities#1437. The ipintutil script as to run as sudo user, to get the ip interface from each namespace. Add this script to the sudoer file so that show ip interface command is available for user with read-only permissions Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
Contributor
Author
|
retest this please |
2 similar comments
Contributor
Author
|
retest this please |
Contributor
Author
|
retest this please |
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
|
This pull request fixes 2 alerts when merging c22bd54 into ce82ff6 - view on LGTM.com fixed alerts:
|
abdosi
approved these changes
Feb 26, 2021
stepanblyschak
pushed a commit
to stepanblyschak/sonic-utilities
that referenced
this pull request
Apr 28, 2022
[201911] show ip int changes (sonic-net#1437) Signed-off-by: Abhishek Dosi <[email protected]>
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.
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan [email protected]
- What I did
The PR has changes to support command
show ip interfacefor multi asic platform.Dependent on this PR: sonic-net/sonic-buildimage#6792
- How I did it
The following changes are done in this PR
The code for
show ip interfacehas been moved fromshow/main.pytoscripts\ipintutilModify the code to support both single and multi asic platform
Add the following options for multi asic
[-n, --namespace] to allow user to display the information for given namespaces
If this option is not present the information from all the namespaces will be displayed
[-d, --display] to allow user to display information related both internal and external interfaces
If this option is not present only external interfaces/neighbors will be display
Add unit tests for single and multi asic
- How to verify it
Verify on single and multi asic