-
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
if check: | ||
cmd = "pcieutil pcie_check" | ||
cmd = "pcieutil pcie-check" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. checked in intel board10.28.32.69: Error: No such command "pcie_show". |
||
run_command(cmd, display_cmd=verbose) | ||
|
||
# 'fan' subcommand ("show platform fan") | ||
|
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:~$