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

[consutil] Look for udevprefix.conf file under platform dir, not plugins #1431

Merged
merged 1 commit into from
Feb 13, 2021
Merged

[consutil] Look for udevprefix.conf file under platform dir, not plugins #1431

merged 1 commit into from
Feb 13, 2021

Conversation

jleveque
Copy link
Contributor

@jleveque jleveque commented Feb 12, 2021

What I did

Config files do not belong under <platform>/plugins/ directory. That directory is intended for (now-deprecated) platform-related Python plugins. The directory will be removed in the near future.

How I did it

Look for udevprefix.conf file directly under the respective platform directory instead.
Also clean up and reorganize imports

NOTE: When this submodule is updated in sonic-buildimage, related files will need to be updated. Currently only platform/broadcom/sonic-platform-modules-cel/haliburton/script/udev_prefix.sh

@jleveque jleveque self-assigned this Feb 12, 2021
@lgtm-com

This comment has been minimized.

@jleveque jleveque merged commit 42cab68 into sonic-net:master Feb 13, 2021
@jleveque jleveque deleted the consutil_no_plugins branch February 13, 2021 20:09
lguohan pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Feb 14, 2021
sonic-net/sonic-utilities#1431 changes the path to the udevprefix.conf file. The file previously inappropriately resided in the <platform>/plugins/ directory. That directory is reserved for now-deprecated Python platform plugins, and will be removed in the near future.
daall pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Feb 16, 2021
sonic-net/sonic-utilities#1431 changes the path to the udevprefix.conf file. The file previously inappropriately resided in the <platform>/plugins/ directory. That directory is reserved for now-deprecated Python platform plugins, and will be removed in the near future.
daall pushed a commit that referenced this pull request Feb 16, 2021
…ins (#1431)

#### What I did

Config files do not belong under `<platform>/plugins/` directory. That directory is intended for (now-deprecated) platform-related Python plugins. The directory will be removed in the near future.

#### How I did it

Look for udevprefix.conf file directly under the respective platform directory instead.
Also clean up and reorganize imports

NOTE: When this submodule is updated in sonic-buildimage, related files will need to be updated. Currently only platform/broadcom/sonic-platform-modules-cel/haliburton/script/udev_prefix.sh
anand-kumar-subramanian pushed a commit to anand-kumar-subramanian/sonic-utilities that referenced this pull request Mar 2, 2021
…ins (sonic-net#1431)

#### What I did

Config files do not belong under `<platform>/plugins/` directory. That directory is intended for (now-deprecated) platform-related Python plugins. The directory will be removed in the near future.

#### How I did it

Look for udevprefix.conf file directly under the respective platform directory instead.
Also clean up and reorganize imports

NOTE: When this submodule is updated in sonic-buildimage, related files will need to be updated. Currently only platform/broadcom/sonic-platform-modules-cel/haliburton/script/udev_prefix.sh
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.

3 participants