You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the warning message appear when there are no ports on CONFIG DB (#2050)
#### What I did
Remove the warning of "Configuration database contains no ports" when ports table is empty.
Because when having a system with zero ports, this message appear per each access to ports tables on CONFIG DB
For example:
Run any cli command. For example "show boot" or "show int st"
Observed behavior
root@r-sn4800-simx:/home/admin# show boot
Configuration database contains no ports
Configuration database contains no ports
Configuration database contains no ports
#### How I did it
Remove the warning and remove the unit test verify this warning
#### How to verify it
Remove all the ports and verify there is no such warning in case of running "show interface status" CLi command
#### Previous command output (if the output of a command-line utility has changed)
Configuration database contains no ports
Interface Lanes Speed MTU FEC Alias Vlan Oper Admin Type Asym PFC
----------- ------- ------- ----- ----- ------- ------ ------ ------- ------ ----------
#### New command output (if the output of a command-line utility has changed)
Interface Lanes Speed MTU FEC Alias Vlan Oper Admin Type Asym PFC
----------- ------- ------- ----- ----- ------- ------ ------ ------- ------ ----------
0 commit comments