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

[VOQHLD] Update for cli commands #801

Merged
merged 4 commits into from Jul 19, 2021

Conversation

vganesan-nokia
Copy link
Contributor

The CLI section is updated for the design of show commands for system ports and system neighbors

The CLI section is updated for the design of show commands for system ports and system neighbors
@vganesan-nokia vganesan-nokia changed the title Update for cli commands [VOQHLD] Update for cli commands Jun 16, 2021
@anshuv-mfst
Copy link
Collaborator

@ ysmanman - could you please review, thanks.

admin@Linecard2:~$
```
### 2.7.1 System ports show command
The information for the system ports are taken from the **SYSTEM_PORT_TABLE** of **APPL_DB** from a specific namespace
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this show cmd to dump config or status of system port? If it dumps status, should we dump from chassis_app_db?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This command is to show the config only.

ysmanman
ysmanman previously approved these changes Jul 6, 2021
Changes are done to rename the Inband interface pot from **Inband** to **Ethernet-IB**
The lane value changed to "133"
Copy link
Contributor

@arlakshm arlakshm left a comment

Choose a reason for hiding this comment

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

as comments

Show VOQ system ports information

Options:
-d, --display [all] Show internal interfaces [default: all]
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the output of the command show chassis system-ports and show chassis system-ports -d all will be the same. I think we don't need the -d option

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. I'll remove the -d option.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed. Removed -d option. Also namespace option is made "required" as suggested in the code PR.

Show VOQ system neighbors information

Options:
-d, --display [all] Show internal interfaces [default: all]
Copy link
Contributor

Choose a reason for hiding this comment

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

Help string is wrong

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll remove this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed. Removed the "-d" option.

Show VOQ system neighbors information

Options:
-d, --display [all] Show internal interfaces [default: all]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above. Do we need the -d option ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No. We do not need this. I'll remove this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed. Removed "-d" option.

"-d" option removed for system-ports and system-neighbor commands; Namespace is made required option for system-ports.
@arlakshm arlakshm merged commit 63af9cb into sonic-net:master Jul 19, 2021
arlakshm pushed a commit to sonic-net/sonic-mgmt that referenced this pull request Oct 29, 2021
…et/SONiC#805 (#3762)

What is the motivation for this PR?
show chassis-modules command is now being changed to show chassis module please refer to PRs below:

sonic-net/SONiC#805
sonic-net/SONiC#801

This PR has dependency on above PRs and can only be merged after they are merged

How did you do it?
tests/platform_tests/cli/test_show_chassis_module.py change cli command from show chassis-modules to show chassis modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants