Add CLI command for ECMP calculator#2538
Conversation
|
@prsunny could you please review or suggest someone who can? |
There was a problem hiding this comment.
missing tests for new code. please add
missing changes in command reference guide. please add
I dont think we should have -i before the interface name. just use the interface name
check for reference 'show interfaces transceiver presence Ethernet0'
same for the -p.
|
This is a vendor specific utility. I thought we can directly use the utility to get the hash result. I don't think we need to expose it via a generic CLI command. |
|
In this case, the utility is already available and readme file explain directly how it can be used. |
What I did
I have added a new CLI command for calling ECMP calculator.
How I did it
Add new CLI command. Command handler calls script /usr/bin/ecmp_calc.py
How to verify it
Call command and verify its output.
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)