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

Ports/NetworkPorts are not LinksCollection #328

Closed
smiller248 opened this issue May 5, 2024 · 3 comments
Closed

Ports/NetworkPorts are not LinksCollection #328

smiller248 opened this issue May 5, 2024 · 3 comments

Comments

@smiller248
Copy link
Contributor

No description provided.

@stmcginnis
Copy link
Owner

Can you give a little more context on this?

Ports are accessed via a few different objects. Looking at the EthernetInterface definition, the ports there are defined as an array of links, versus a collection that you query to get the array of links as Members of the collection.

There may be other paths to get them, so it's possible it's defined differently elsewhere. If you could point me to where you are trying to get them, or a sample snippet of code, I can take a closer look.

@smiller248
Copy link
Contributor Author

Closing this issue, please see #329.

@smiller248
Copy link
Contributor Author

Also sorry if you spent any time digging into this. I accidentally hit submit on the issue before I was done writing it. I was planning to come back and update it with more information, but it ended up being easier to just create a PR to express my ideas.

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

2 participants