We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running ryu.topology.switches and sending Ctrl+C, it will stuck. Command is here
ryu.topology.switches
Ctrl+C
ryu-manager ryu.topology.switches --observe-links loading app ryu.topology.switches loading app ryu.controller.ofp_handler instantiating app ryu.topology.switches of Switches instantiating app ryu.controller.ofp_handler of OFPHandler ^C
I analysis the code and find it stuck at
ryu/ryu/topology/switches.py
Line 950 in d6cda4f
timeout=None makes it wait forever.
timeout=None
Add event set at the end of link_loop
link_loop
Line 979 in d6cda4f
... self.link_event.wait(timeout=self.TIMEOUT_CHECK_PERIOD) if not self.lldp_event.is_set(): self.lldp_event.set()
I do not know if my solution is correct when really being used, because I only test whether it can work or not, I do not connect it to Mininet.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
When running
ryu.topology.switches
and sendingCtrl+C
, it will stuck. Command is hereI analysis the code and find it stuck at
ryu/ryu/topology/switches.py
Line 950 in d6cda4f
timeout=None
makes it wait forever.My solution
Add event set at the end of
link_loop
ryu/ryu/topology/switches.py
Line 979 in d6cda4f
I do not know if my solution is correct when really being used, because I only test whether it can work or not, I do not connect it to Mininet.
The text was updated successfully, but these errors were encountered: