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

Link Up problem is solved #292

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

abakagamze
Copy link
Contributor

Hi Everyone,

The problem steps:

  1. Run ONOS (the sdn controller)
  2. Run Mininet with this switch implementation
  3. Run "link s1 h1 down" -> it creates PORT_STATUS message and ONOS makes this port "disabled". This message includes "OFPPC_PORT_DOWN=True" and "OFPPS_LINK_DOWN=True"
  4. Run "link s1 h1 up" -> it creates PORT_STATUS message and the port is still "disabled" because of the wrong parameter of this message.

PORT_STATUS message is received with "OFPPC_PORT_DOWN=False" and "OFPPS_LINK_DOWN=True" - but link down parameter must be false to enable the port again.

I've fixed it changing the wrong bit setting. Now it works.

Best Regards,

@ederlf
Copy link
Collaborator

ederlf commented Dec 27, 2018

Thank you very much for you contribution. :-)

Can I ask you if you could possibly clean your pull request only with commits relevant to the problem being solved? There are a few merges and a fix for another bug which are not directly related to the pull request. The form it is submitted does not make it easy to understand all changes and what the patches are solving.

@abakagamze
Copy link
Contributor Author

Hi,
You see multiple commits but if you check the file changes, you can see the relevant update. (there is a minor change) Actually, I dont know how to clean my pull request. -- Please note that my other commits are related to meter bug fix that was already merged.
BR,

@ederlf
Copy link
Collaborator

ederlf commented Dec 27, 2018

Hi, I do really appreciate the contribution, but it does not help me that much if the pull request is done that way as I do not have time to look every commit and search what is relevant.
If it is only a small change you would like to be pushed, you could have opened an issue for it.
I will probably cherry-pick the relevant commit to test.

@abakagamze
Copy link
Contributor Author

Actually, you can cherry-pick only this commit:
e332e2d

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