-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
filter inband and recirc ports as internal ports #11764
Conversation
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
We will have to update here too https://github.com/sonic-net/sonic-mgmt/blob/master/ansible/library/port_alias.py#L164 in similar lines @SuvarnaMeenakshi too |
/Azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/Azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
We will update this in another PR. |
Why I did it Currently the CLI commands show interface status show interface counters and show interface description displays Ethernet-IB and Ethernet-Rec ports in the output. These are internal ports should only be displayed when the option -d all is used for the above mentioned CLI commands How I did it Add the port roles Inb and Rec when classifing a port as internal port. How to verify it Verify the CLI output of the command show interface status doesnt display the Ethenet-IB and Ethernet-Rec port when -d all option in not present Before Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan arlakshm@microsoft.com
Why I did it
Currently the CLI commands
show interface status
show interface counters
andshow interface description
displaysEthernet-IB
andEthernet-Rec
ports in the output. These are internal ports should only be displayed when the option-d all
is used for the above mentioned CLI commandsHow I did it
Add the port roles
Inb
andRec
when classifing a port as internal port.How to verify it
Verify the CLI output of the command
show interface status
doesnt display theEthenet-IB
andEthernet-Rec
port when-d all
option in not presentBefore
After
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)