Re: [Ryu-devel] Mark packets with vlan ID

2014-04-02 Thread Dong Mo
do you have the wireshark trace and the code you set those rules? -Mo 2014-04-02 1:23 GMT-05:00 Windhya Rankothge : > Hi all, > > I have following topology in mininet. > > h1 --- s1 --- s2 --- h2 >! > h3 > > I want to mark the packets sent by a specific host

Re: [Ryu-devel] vlan matching problem

2014-04-01 Thread Dong Mo
Thanks it works now -Mo 2014-04-02 1:13 GMT-05:00 YAMAMOTO Takashi : > > Hi, > > It seems that I encountered a strange problem about vlan_vid, I am using > > OF1.3 parser > > > > The topology is this > > > > Switch-1 Switch-2 > > > > I use the following code to set up a flow to match dl_vla

[Ryu-devel] vlan matching problem

2014-04-01 Thread Dong Mo
Hi, It seems that I encountered a strange problem about vlan_vid, I am using OF1.3 parser The topology is this Switch-1 Switch-2 I use the following code to set up a flow to match dl_vlan=1 on switch 2 == match = parser.OFPMatch(vlan_vid=1) actions = [parser.OFPActionSet

Re: [Ryu-devel] Ryu Link/Topology

2014-04-01 Thread Dong Mo
akashi) wrote: > > >> On Mon, 31 Mar 2014 17:32:01 -0500 > >> Dong Mo wrote: > >> > >>> This works great for getting switch-to-switch addresses and topology. > >>> > >>> A follow up question is that what about get informa

Re: [Ryu-devel] Ryu Link/Topology

2014-03-31 Thread Dong Mo
This works great for getting switch-to-switch addresses and topology. A follow up question is that what about get information about the hosts' MAC address that is attached to the switch? Say host1-s1-s2-host2. Using the lldp, we can get info about s1--s2 but not host1-s1. Let's assume s1 is an o

Re: [Ryu-devel] Create a flow in advance

2014-03-20 Thread Dong Mo
I have the same question. It could be that when you receive the SwitchFeature event and then install flow in the corresponding switch or monitor the topology and wait for all switches go up and install flows But I am also wondering what should be a reference implementation for something like this T

[Ryu-devel] fonfuction about event and _CONTEXT

2014-03-19 Thread Dong Mo
Dear list, I am learning ryu and I am now very confused about the concept of _CONTEXT and event here. For event, I don't know if I am right about this, please point out if I understand it wrong: Event(request if sync is required) is used to pass information across different applications, like if

Re: [Ryu-devel] Multiple application on Ryu and topo discovery service

2014-03-17 Thread Dong Mo
Thanks. Is there any good tutorial, docs or talks for the Ryu controller's software architecture? Thanks -Mo 2014-03-17 1:59 GMT-05:00 Wei-Li Tang : > 2014-03-17 14:53 GMT+08:00 Dong Mo : > > Dear list, >> >> I am very new to Ryu and here are two beginner ques

[Ryu-devel] Multiple application on Ryu and topo discovery service

2014-03-16 Thread Dong Mo
Dear list, I am very new to Ryu and here are two beginner questions: I have a full openflow network and want to get the topology information of this network, should I run ryu / ryu / topology / switches.py as an application? Are the Switches class in swithces.py a representation of the topo? Wha

[Ryu-devel] Does ryu support OVSDB protocol?

2014-03-15 Thread Dong Mo
Dear list, Is there any example to interact with ovsdb using ryu? Thanks -Mo -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications.