-
Notifications
You must be signed in to change notification settings - Fork 6
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
of_topology cannot get bidirectional links between host and switch #306
Comments
Update: I report the wrong observation. The links returned are s1->h1, s1->s2, s2->s1 and s2->h2. And I think I found the cause in the following snipped in of_topology/main.py: 103 if endpoint in switches_mac_address: When adding the link between host and a switch interface, only one link (switch intercace, hsot) is added, where the other direction should be added, too. Comments? |
Update: I created a pull request (#307) to fix this issue. Please comment and let me know. Thank you very much. |
Hello @xiangq27 , |
I ran a simple mininet topology: h1--s1--s2--h2, let h1 ping h2 and then h2 ping h1. Both way work. Then I use the API provided by of_topology to get all the links. However, I notice that only 4 links are discovered, i.e., h1->s1, s1->s2, s2->s1 and s2->h2. The other two links s1->h1 and h2->s2 are not captured. Wonder if this was noticed before?
The text was updated successfully, but these errors were encountered: