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

Feature Request: Support Getting Ports of Specific Device Only #6

Open
thediveo opened this issue Jun 27, 2024 · 0 comments
Open

Feature Request: Support Getting Ports of Specific Device Only #6

thediveo opened this issue Jun 27, 2024 · 0 comments

Comments

@thediveo
Copy link

At this time, Client.Ports lists all ports of all devices. Judging from, e.g. devlink_nl_dumpit, dumping ports supports the request attributes DEVLINK_ATTR_BUS_NAME and/or DEVLINK_ATTR_DEV_NAME.

Could you please support for example Client.PortsOfDevice(bus, device string) ([]*Port, error)?

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

No branches or pull requests

1 participant