-
Notifications
You must be signed in to change notification settings - Fork 664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PoE] Add PoE CLI #3436
base: master
Are you sure you want to change the base?
[PoE] Add PoE CLI #3436
Conversation
|
|
||
# 'power-limit' subcommand ("config poe interface power-limit ...") | ||
@poe_interface.command( | ||
name="power-limit" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please clarify if this CLIs will be available only in supported platforms
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CLI will be available on all platforms. If the platform does not support PoE the user will get an error message when trying to configure anything on an interface.
e520782
to
3a37fb8
Compare
@prgeor - could you help review this please? |
pls resolve conflicts. |
Add show/config commands Add UT Update command reference Signed-off-by: vadym-hlushko <[email protected]> Signed-off-by: Serhiy Boiko <[email protected]>
b866427
to
753119b
Compare
What I did
How I did it
Added
./config/plugins/poe.py
that handles config commands:Added
./show/plugins/poe.py
that handles show commands:Added
./tests/poe_test.py
UT for the show commands.yang model:
How to verify it
Previous command output (if the output of a command-line utility has changed)
NA
New command output (if the output of a command-line utility has changed)