Hi,

On Mon, 2 Dec 2013 16:27:23 -0800
Lawrence Lee <l...@brocade.com> wrote:

>      Can some point me to a tutorial on how to bring up a ryu controller and 
> invoke it? I followed procedure provided on http://osrg.github.io/ryu/  to 
> install ryu, but I still not sure how to invoke a ryu controller. Please 
> advise.

Run 'ryu-manager' command:

$ ryu-manager

If you want to confirm that the connection with a switch is
established, you can run it with '--verbose' command line option:

$ ryu-manager  --verbose
loading app ryu.controller.ofp_handler
instantiating app ryu.controller.ofp_handler of OFPHandler
BRICK ofp_event
  CONSUMES EventOFPSwitchFeatures
  CONSUMES EventOFPErrorMsg
  CONSUMES EventOFPPortDescStatsReply
  CONSUMES EventOFPEchoRequest
  CONSUMES EventOFPHello
connected socket:<eventlet.greenio.GreenSocket object at 0x10bf91610>
address:('172.16.167.10', 43383)
hello ev <ryu.controller.ofp_event.EventOFPHello object at
0x10bf91150>
move onto config mode
switch features ev version: 0x3 msg_type 0x6 xid 0xe4277489
OFPSwitchFeatures(capabilities=71,datapath_id=1,n_buffers=256,n_tables=254,ports={4294967294:
OFPPort(port_no=4294967294,hw_addr='c2:2a:cc:58:f5:d6',name='s1',config=1,state=1,curr=0,advertised=0,supported=0,peer=0,curr_speed=0,max_speed=0)})
move onto main mode

Note that if you run ryu-manager alone, it does nothing except for
establishing connections with switches.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to