[Ryu-devel] [PATCH] Snort integrate: Add the snort lib supporting snort integration. Add an sample application simple_switch_snort.py which can dump alert message.

2014-08-29 Thread Che-Wei Lin
From: John-Lin When there is a Snort alert message, Ryu will receive an event called EventAlert. You can easily define the event handler in the method which using ‘set_ev_cls’ decorator with snortlib.EventAlert parameter. The simple_switch_snort.py can install a flow that mirroring incoming pac

[Ryu-devel] doc: update obsolete Linux kernel SubmittingPatches url

2014-08-29 Thread FUJITA Tomonori
Hi, I've merged the following patch. Che-Wei Lin, thanks for pointing out this. = >From 265190984460e4356a0e43fe7a2567e3cfe2f973 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 29 Aug 2014 22:39:33 +0900 Subject: [PATCH] doc: update obsolete Linux kernel SubmittingPatches url Signed-

Re: [Ryu-devel] Adding flows

2014-08-29 Thread FUJITA Tomonori
On Fri, 29 Aug 2014 11:38:23 + MARIA VICTORIA ALVAREZ SIERRA wrote: > I have problems adding flows. I add new flows as follows: > > curl -d '{"dpid": "10002c59e55e2b00", "match": {"in_port": "0001"}, > "actions": [{"type": "OUTPUT", "port": "0002"}]}' > http://localhost:8080/stats

[Ryu-devel] problem in adding flows in loop network

2014-08-29 Thread Sujit Pandey
hi, I need to know how to add-flow if you have only one datapath id. it mean lets suppose you have 7 switches connected and from first packet in you will het source and desination address. from that you can find the shortest path between source and destination. lets suppose it will be x=[1,3,5,7] n

Re: [Ryu-devel] Assertion Error with LLDP_TLV_SIZE

2014-08-29 Thread FUJITA Tomonori
On Fri, 29 Aug 2014 08:37:26 + MARIA VICTORIA ALVAREZ SIERRA wrote: >> Can you send the pcap file that crashes the lldp code? > > Yes, of course. Thanks a lot! But are you sure that this crashed Ryu? I've tried Ryu packet parser code with this file but succesfully parsed all the packets (

[Ryu-devel] [PATCH] packet lib: add linux cooked header support

2014-08-29 Thread FUJITA Tomonori
Signed-off-by: FUJITA Tomonori --- ryu/lib/packet/linux.py | 62 + 1 file changed, 62 insertions(+) create mode 100644 ryu/lib/packet/linux.py diff --git a/ryu/lib/packet/linux.py b/ryu/lib/packet/linux.py new file mode 100644 index 000..0b7d1

[Ryu-devel] Adding flows

2014-08-29 Thread MARIA VICTORIA ALVAREZ SIERRA
Hi! I have problems adding flows. I add new flows as follows: curl -d '{"dpid": "10002c59e55e2b00", "match": {"in_port": "0001"}, "actions": [{"type": "OUTPUT", "port": "0002"}]}' http://localhost:8080/stats/flowentry/add I've read that the dpid must be a decimal number, but if I conve

Re: [Ryu-devel] About NEW Snort integrate

2014-08-29 Thread Che-Wei Lin
Hi, Fujita I've fix the commit. Please visit https://github.com/John-Lin/ryu/commits/master Thank you. Che-Wei Lin , John Lin Institute of Communication Engineering, National Tsing Hua University [image: 林哲緯 on about.me] E-mail: [email protected] Blog: blog.linton.

[Ryu-devel] Cannot add flow which matches non-VLAN-tagged packets

2014-08-29 Thread Wei-Li Tang
Hello list, I tried to add a flow which matches non-VLAN-tagged packets by specifying VLAN_VID match field without OFPVID_PRESENT bit, but it didn't work. It seems that Ryu always sets OXM_OF_VLAN_VID with OFPVID_PRESENT bit during serialization in ofproto_v1_3_parser.MTVlanVid: class MTVlanVid(O