Bug 780 - Implement "interface description" series commands

Review Request #334 — Created July 15, 2024 and updated — Latest diff uploaded

luhsuan
AVX2
rel_avx_2_7_2
780
jasonchou, milliechou, timlai, weikai, wli

Implement the following "interface description" series commands:

  1. interface description <port number> <description>: add a description to a port (except management port).
  2. 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 corresponding ifalias of an interface.

What's more, user can check the description using show interface.

  • (PASSED) The port with interface description set should show the description using show interface.
    Loading...