Hi Fujita San,

I ran the L2.py to set up the L2 switch & set up two flows between port 
1 & 2.  on our switch using the following OVS commands:

ovs-ofctl add-flow br0 in_port=1,actions=output:2
ovs-ofctl add-flow br0 in_port=2,actions=output:1

I connected 2 PCs on port 1 & port 2 and expected ping to work between 
them, but ping failed. I thought maybe the ARP packets may be going to 
the controller thru packet in messages, but I did not see any packets in 
that direction. Any suggestion on how to debug further?

Thanks

David

On 11/08/2012 10:15 PM, david liu wrote:
> Hi Fujita San,
>
> Thank you very much for the advise, I configured my switch & the 
> RYU-manager is connected with hello handshake, I will move on to the 
> next step to run the application. I will keep you updated.
>
> Best Regards
>
> David
>
> On 11/07/2012 08:52 PM, FUJITA Tomonori wrote:
>> Hi, thanks for trying Ryu!
>>
>> On Wed, 07 Nov 2012 17:59:27 -0800
>> david liu <david....@pica8.com> wrote:
>>
>>> I just cloned the ryu tree & follow the installation step to install 
>>> the
>>> ryu-client & ryu-manager. My company has a openflow 1.0 complaint
>>> switch, I like to connect the ryu controller to my switch & configure
>>> the switch for testing. Is there a manual that describes:
>>> - any command line interface to send command to switch
>>> - how to configure ryu-client & ryu-manager to talk to the switch
>>>
>>> I like to run just the ryu controller without open stack, appreciate 
>>> any
>>> information that you can share with me, thanks
>> ryu-client is kinda debug tool. Unlikely you need it. I guess that we
>> should rename or move it to avoid confusion.
>>
>> There is nothing to configure for Ryu if you just want a switch to
>> connect with Ryu. All you need to do is configuring the switch.
>>
>> I can make OVS connect with Ryu in the following way.
>>
>> On the OVS node:
>>
>> fujita@ovs-node:~$ sudo ovs-vsctl add-br dp0
>> fujita@ovs-node:~$ sudo ovs-vsctl set-controller dp0 
>> tcp:192.168.13.1:6633
>>
>> On the Ryu node, I just run ryu-manager with 'verbose' option:
>>
>> ryu-node:~ fujita$ ryu-manager --verbose
>> loading app ryu.controller.ofp_handler
>> instantiating app ryu.controller.ofp_handler
>> connected socket:<socket fileno=8 sock=192.168.13.1:6633
>> peer=192.168.13.10:39553> address:('192.168.13.10', 39553)
>> unhandled event <ryu.controller.dispatcher.EventQueueCreate object at
>> 0x10c56a210>
>> hello ev <ryu.controller.ofp_event.EventOFPHello object at
>> 0x10c56a310>
>> move onto config mode
>> unhandled event <ryu.controller.dispatcher.EventDispatcherChange
>> object at 0x10c56a450>
>> switch features ev version: 0x1 msg_type 0x6 xid 0xc387a8df port
>> OFPPhyPort(port_no=65534, hw_addr='\xeeI`\xd69@',
>> name='dp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
>> config=1, state=1, curr=0, advertised=0, supported=0, peer=0)
>> move onto main mode
>> unhandled event <ryu.controller.dispatcher.EventDispatcherChange
>> object at 0x10c56a450>
>> unhandled event <ryu.controller.ofp_event.EventOFPPacketIn object at
>> 0x10c56a310>
>>
>> Note that I use 'verbose' option since by default Ryu doesn't show
>> anything when it accepts a new connection.
>>
>> Ryu just accepts a new connection but does nothing after that. If you
>> want to try something, then run simple_switch.py (works as L2 switch):
>>
>> ryu-node:~ fujita$ ryu-manager ~/git/ryu/ryu/app/simple_switch.py
>> loading app ryu.controller.ofp_handler
>> loading app /Users/fujita/git/ryu/ryu/app/simple_switch.py
>> instantiating app /Users/fujita/git/ryu/ryu/app/simple_switch.py
>> instantiating app ryu.controller.ofp_handler
>>
>>
>> Thanks,
>>
>


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to