-
Notifications
You must be signed in to change notification settings - Fork 2
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
updating pcieinfo support #6
base: target
Are you sure you want to change the base?
Conversation
show platform pcieinfo |
@@ -1848,9 +1848,9 @@ def ssdhealth(device, verbose, vendor): | |||
@click.option('-c', '--check', is_flag=True, help="Check the platfome pcie device") | |||
def pcieinfo(check, verbose): | |||
"""Show Device PCIe Info""" | |||
cmd = "pcieutil pcie_show" | |||
cmd = "pcieutil pcie-show" |
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.
Why?
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.
show platform pcieinfo
Usage: pcieutil [OPTIONS] COMMAND [ARGS]...
Try "pcieutil --help" for help.
Error: No such command "pcie_show".
admin@sonic:~$
pcieutil support pcie-show
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.
admin@sonic:~$ pcieutil --help
Usage: pcieutil [OPTIONS] COMMAND [ARGS]...
pcieutil - Command line utility for checking pci device
Options:
--help Show this message and exit.
Commands:
pcie-check Check PCIe Device
pcie-generate Generate config file with current pci device
pcie-show Display PCIe Device
version Display version info
admin@sonic:~$
if check: | ||
cmd = "pcieutil pcie_check" | ||
cmd = "pcieutil pcie-check" |
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.
Why '-'?
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.
Can you check how it is wrking in Intel sonic?
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.
checked in intel board10.28.32.69:
show platform pcieinfo
Usage: pcieutil [OPTIONS] COMMAND [ARGS]...
Try "pcieutil --help" for help.
Error: No such command "pcie_show".
admin@Sonic-L1:~$
- What I did
- How I did it
- How to verify it
- 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)