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

* Adding name and hw_addr to PortStatus event #134

Open
wants to merge 1 commit into
base: eel
Choose a base branch
from

Conversation

lucasbrasilino
Copy link

It is just a cosmetic change, but I found useful to add 'name' and 'hw_addr' attributes to PortStatus event, so we can access them just like 'port' attibute. They were a little bit, say, 'hidden' in ofp_phy_port object.

@MurphyMc
Copy link
Collaborator

Hmm... I'm getting slightly worried about the slippery slope of what to include or not include on the event object. At one extreme, we could just have all OpenFlow events have a getattr that redirects to the .ofp or something...

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

Successfully merging this pull request may close these issues.

2 participants