Bug 780 - Implement "interface description" series commands
Review Request #334 — Created July 15, 2024 and updated
| Information | |
|---|---|
| luhsuan | |
| AVX2 | |
| rel_avx_2_7_2 | |
| 780 | |
| Reviewers | |
| jasonchou, milliechou, timlai, weikai, wli | |
Implement the following "interface description" series commands:
interface description <port number> <description>: add a description to a port (except management port).no interface description <port number>: delete a description to a port (except management port).We use JSON to store the description (
"description": "<your description>") in the correspondingifaliasof an interface.What's more, user can check the description using
show interface.
- (PASSED) The port with
interface descriptionset should show the description usingshow interface.
Description: |
|
||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Testing Done: |
|
