Hi All,
I am new to RYU having previously been using POX as my SDN Controller. One of
the first things that I've noticed when running RYU from my linux command line
is that when I quit RYU with Ctrl-C I get the following exception reported
back...
[root@localhost bin]# /usr/local/bin/ryu-manager
loading app ryu.controller.ofp_handler
instantiating app ryu.controller.ofp_handler of OFPHandler
^CTraceback (most recent call last):
File "/usr/local/bin/ryu-manager", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/ryu/cmd/manager.py", line 99, in
main
hub.joinall(services)
File "/usr/local/lib/python2.7/site-packages/ryu/lib/hub.py", line 97, in
joinall
t.wait()
File "/usr/local/lib/python2.7/site-packages/eventlet/greenthread.py", line
175, in wait
return self._exit_event.wait()
File "/usr/local/lib/python2.7/site-packages/eventlet/event.py", line 121, in
wait
return hubs.get_hub().switch()
File "/usr/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294,
in switch
return self.greenlet.switch()
File "/usr/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 346,
in run
self.wait(sleep_time)
File "/usr/local/lib/python2.7/site-packages/eventlet/hubs/poll.py", line 85,
in wait
presult = self.do_poll(seconds)
File "/usr/local/lib/python2.7/site-packages/eventlet/hubs/epolls.py", line
62, in do_poll
return self.poll.poll(seconds)
KeyboardInterrupt
[root@localhost bin]#
RYU doesn't appear to have any handling for the KeyboardInterrupt signal. Is
this correct or is there a better way to shutdown RYU? I'd rather not see an
exception on program close.
Regards,
Alan.
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel