Skip to content
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

Allow config shutdown and startup operations on valid PortChannel interface names #474

Merged
merged 10 commits into from
Mar 30, 2019

Conversation

kirankella
Copy link
Contributor

- What I did

- How I did it

- How to verify it
config interface PortChannelxxx shutdown
config interface PortChannelxxx startup

- 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)

-->

KKK and others added 9 commits January 4, 2019 16:01
…terface status

A bug in intfutil script that gets the keys object from the app-db for a specific interface

Signed-off-by: kiran.kella@broadcom.com
…stead of the optional alias attribute

* Addressed review comment for sonic-net#424
* Undone the change in intfutil file to push that fix in a seperate PR.

Signed-off-by: kiran.kella@broadcom.com
…terface names

Signed-off-by: Kiran Kella <kiran.kella@broadcom.com>
@jleveque
Copy link
Contributor

It doesn't appear as though the interface_name_is_valid() function, nor the config interface startup/shutdown" commands have support for the interface naming mode feature (naming mode can currently be switched between name (deafult) and alias using the config interface_naming_mode` command. Can you please check/confirm?

Copy link
Contributor

@jleveque jleveque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add interface naming mode support per comment above.

@qiluo-msft
Copy link
Contributor

@kirankella Could you response to @jleveque 's request?

…e alias names of PORTs.

Signed-off-by: Kiran Kella <kiran.kella@broadcom.com>
@kirankella
Copy link
Contributor Author

Please add interface naming mode support per comment above.

@jleveque Added interface naming mode support to the config startup/shutdown commands.

@qiluo-msft qiluo-msft merged commit 06cd99f into sonic-net:master Mar 30, 2019
yxieca pushed a commit that referenced this pull request Mar 30, 2019
…erface names (#474)

* Avoid shutdown/startup commands on invalid interface names
* sonic-utilities: Fix bug in the show command to display a specific interface status
* sonic-utilities: Check for the presence of interface in port table instead of the optional alias attribute
* Addressed review comment for #424
* Undone the change in intfutil file to push that fix in a seperate PR.
* Corrected the error message string for 'config interface <invalid-interface-name> tartup/shutdown'.
* [sonic-utilities] Fix to shutdown and startup on valid PortChannel interface names
* [sonic-utilities] Allow shutdown/startup commands to be done using the alias names of PORTs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants