Open Peachmann opened 1 year ago
Hi, I just come up with the same problem.
I solve it by adding the parameter "--observe-links" when I launch my RYU-controller python file, just like what you do when you want to show links on the RYU_GUI_Topology. Finally the EventLinkAdd could be caught.
I'm trying to modify the topology during runtime, adding new switches and links on the fly. I use the guitopology.py app to monitor the current topology (with --observe-links). If I add and connect switches before net.start()_ it shows correctly.
If I add a switch and start it up it shows correctly. If I try to link it, the event is not caught by EventLinkAdd, and not shown. If I query the current links (nodes, links etc.) in mininet CLI, everything seems to be correct and working (I can ping the new switch, works).
Tried: Link status up/down, adding links from mininet CLI, removing/readding, adding flows to working links etc.
Simple demonstration below:
Result: