[Ryu-devel] Import Error: "cannot import name cfg"

2014-11-19 Thread Yafeng Zhou
Hello,all: I am newer in SDN and Ryu, I am trying to discovery switches and links between switches, and I use the module ryu/topology/switches.py and ryu/topology/dumper.py just as the ryu-del mailing list described

Re: [Ryu-devel] Wildcard for source/destination port for UDP protocol

2014-11-19 Thread Yusuke Iwase
Hi Vinay, On 2014年11月20日 11:46, vinay pai wrote: > Hi Yusuke, > > Thanks for the response! > > Yes that helps but what I was aiming at was if packet_in has source UDP port > is (say) 500, I was to push a flow for source UDP port 500-599. In other > words if I get a packet in with source UDP po

Re: [Ryu-devel] Wildcard for source/destination port for UDP protocol

2014-11-19 Thread vinay pai
Hi Yusuke, Thanks for the response! Yes that helps but what I was aiming at was if packet_in has source UDP port is (say) 500, I was to push a flow for source UDP port 500-599. In other words if I get a packet in with source UDP port x, I want to install a flow for x to x+99. In short wildcard ma

Re: [Ryu-devel] Wildcard for source/destination port for UDP protocol

2014-11-19 Thread Yusuke Iwase
Hi, On 2014年11月20日 09:45, vinay pai wrote: > Hi, > > How do I use wildcard for UDP source/destination port? I can see from the > archives that in order to use for Source/Destination IP as follows: > > match = parser.OFPMatch(ipv4_dst=('10.0.0.0', '255.255.255.0'), > eth_type=0x0800) > > For a

Re: [Ryu-devel] TCP Flags in ryu

2014-11-19 Thread Minoru TAKAHASHI
On 2014年11月19日 21:20, Salaheddine ZERKANE wrote: > Hello, > > I am a phd student working in SDN security and new in RYU, Could you please > help me to find out if it is possible to create rules in RYUusing matching on > TCP Flags such as : RST, FIN, SYNAck, etc. and if RYUsupports a parsing of

[Ryu-devel] Wildcard for source/destination port for UDP protocol

2014-11-19 Thread vinay pai
Hi, How do I use wildcard for UDP source/destination port? I can see from the archives that in order to use for Source/Destination IP as follows: match = parser.OFPMatch(ipv4_dst=('10.0.0.0', '255.255.255.0'), eth_type=0x0800) For a normal match on UDP source and destination port: match = parse

Re: [Ryu-devel] Where should I install the Open vSwitch?

2014-11-19 Thread FUJITA Tomonori
On Thu, 20 Nov 2014 05:32:26 +0800 Gautam Pathak wrote: > I am using ryu-controller for mininet. > I have installed the mininet in one VM and ryu in another VM. > > Where should I install the Open vSwitch? in mininet-VM or ryu-VM. Mininet-VM. I think that usually, OVS, Ryu, mininet are installe

[Ryu-devel] Where should I install the Open vSwitch?

2014-11-19 Thread Gautam Pathak
Hi, I am using ryu-controller for mininet. I have installed the mininet in one VM and ryu in another VM. Where should I install the Open vSwitch? in mininet-VM or ryu-VM. please help me. Regards, Goutam -- Download BIR

Re: [Ryu-devel] Problem with topology view

2014-11-19 Thread Pablo Martin Guevara
OK, I will investigate further. On Nov 19, 2014 12:41 AM, "FUJITA Tomonori" wrote: > On Tue, 18 Nov 2014 20:18:12 -0300 > "Pablo M. Guevara" wrote: > > > Team, > > I'm currently testing Ryu with Mininet. I got a fresh copy from the > > repo and I see the following issue: > > > > 1) When I run to

[Ryu-devel] TCP Flags in ryu

2014-11-19 Thread Salaheddine ZERKANE
Hello, I am a phd student working in SDN security and new in RYU, Could you please help me to find out if it is possible to create rules in RYU using matching on TCP Flags such as : RST, FIN, SYNAck, etc. and if RYU supports a parsing of packet-in by these tcp flags? If it is the case how please

Re: [Ryu-devel] help verify get flow stats for MPLS function.

2014-11-19 Thread Jalee Lee
Dear Yamamoto and Fujita, Yes 1.3.4 had specify length, I can use it. Thanks for your kindly support. Best Regards, Jalee 於 11/19/14, 14:01,"YAMAMOTO Takashi" 寫道: >> On Wed, 19 Nov 2014 13:26:37 +0800 >> Jalee Lee wrote: >> >>> I know MPLS header total 4 byte, but MPLS label just use 20bit.