forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
show subinterfaces status (sonic-net#642)
* Add sub port interface to intfutil status Signed-off-by: Wenda Ni <[email protected]> * Format change Signed-off-by: Wenda Ni <[email protected]> * Hook 'intfutil status' with show subinterfaces status Signed-off-by: Wenda Ni <[email protected]> * Add 'intfutil status subport' to show only the status of sub port interfaces Signed-off-by: Wenda Ni <[email protected]> * Hook 'intfutil status subport' with 'show subinterfaces status' Signed-off-by: Wenda Ni <[email protected]> * Support intfutil status <sub_port_intf_name> Signed-off-by: Wenda Ni <[email protected]> * Add alias naming mode support Signed-off-by: Wenda Ni <[email protected]> * Address comments Signed-off-by: Wenda Ni <[email protected]> * Address comment: concatenate command line, and validate input Signed-off-by: Wenda Ni <[email protected]> * Address comment: keep show interface status intact Signed-off-by: Wenda Ni <[email protected]> * Add unit test for show interfaces status / intfutil status Signed-off-by: Wenda Ni <[email protected]> * Add unit test for 'show interfaces status --verbose' Signed-off-by: Wenda Ni <[email protected]> * Add unit test for 'show subinterfaces status' / 'intfutil status subport' Signed-off-by: Wenda Ni <[email protected]> * Add unit test for 'show subinterfaces status --verbose' Signed-off-by: Wenda Ni <[email protected]> * Add unit test for single sub interface status show Signed-off-by: Wenda Ni <[email protected]> * Add unit test for '--verbose' single sub interface status show Signed-off-by: Wenda Ni <[email protected]> * Add unit test for showing status of single sub interface in alias naming mode Signed-off-by: Wenda Ni <[email protected]> * Add unit test for '--verbose' status of single sub interface in alias naming mode Signed-off-by: Wenda Ni <[email protected]>
- Loading branch information
Showing
5 changed files
with
325 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.