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

[pcieutil] Remove 'pcie-' prefix from subcommands #1297

Merged
merged 1 commit into from
Dec 13, 2020
Merged

[pcieutil] Remove 'pcie-' prefix from subcommands #1297

merged 1 commit into from
Dec 13, 2020

Conversation

jleveque
Copy link
Contributor

@jleveque jleveque commented Dec 8, 2020

- What I did

Remove redundant 'pcie-' prefix from subcommands

Note this will also require an update to files/image_config/pcie-check/pcie-check.sh in sonic-buildimage. Also, since these commands require sudo, they need to be added to the read-only commands in the sudoers file, which they have not yet been.

- How to verify it

Ensure the following commands work:

pcieutil show
pcieutil check
pcieutil generate
show pcieinfo
show pcieinfo -c

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

@jleveque jleveque self-assigned this Dec 8, 2020
@lguohan lguohan merged commit 0603c0b into sonic-net:master Dec 13, 2020
@jleveque jleveque deleted the pcieutil_cleanup branch December 14, 2020 17:26
lguohan pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Feb 4, 2021
…le (#6682)

- Why I did it

As of sonic-net/sonic-utilities#1297, subcommands of pcieutil have changed to remove the redundant pcie- prefix. This PR adapts calling applications (pcie-check) to the new syntax.

Resolves #6676

- How I did it

Remove pcie- prefix from pcieutil subcommands in calling applications
Also add pcieutil * to sudoers file, as pcieutil requires elevated permissions
daall pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Feb 5, 2021
…le (#6682)

- Why I did it

As of sonic-net/sonic-utilities#1297, subcommands of pcieutil have changed to remove the redundant pcie- prefix. This PR adapts calling applications (pcie-check) to the new syntax.

Resolves #6676

- How I did it

Remove pcie- prefix from pcieutil subcommands in calling applications
Also add pcieutil * to sudoers file, as pcieutil requires elevated permissions
anand-kumar-subramanian pushed a commit to anand-kumar-subramanian/sonic-utilities that referenced this pull request Mar 2, 2021
Remove redundant 'pcie-' prefix from subcommands

Note this will also require an update to files/image_config/pcie-check/pcie-check.sh in sonic-buildimage. Also, since these commands require sudo, they need to be added to the read-only commands in the sudoers file, which they have not yet been.
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
  [201911] Update nat entries to use nat_type to support DNAT Pool
  changes. (sonic-net#1297)
    [201911] Update nat entries to use nat_type to support DNAT Pool
    changes. (sonic-net#1297)
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.

2 participants