[Ryu-devel] ryu sdn controller

2016-04-29 Thread Edison Albuquerque
I've been writing apps using POX. To retrieve switch datapath id (dpid) I just write: dpid = event.connection.dpid, because POX captures the dpid when detects ConnectionUp event and keeps track of it during connection establishment. I couldn't find, yet, how to do the same with Ryu. I guess it mu

Re: [Ryu-devel] header modification

2016-04-29 Thread Козлов Станислав Евгеньевич
Randa, According the spec, you may match only certain fields: https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.4.0.pdf [7.2.2.7 Flow Match Fields] From: Randa Alani [mailto:[email protected]] Sent: Friday, April 29, 201

Re: [Ryu-devel] External interaction with Ryu

2016-04-29 Thread Козлов Станислав Евгеньевич
Hello, I guess you need to use group tables with “ALL” type and bucket with 2 “OUTPUT” actions From: Aidin Kelki [mailto:[email protected]] Sent: Friday, April 29, 2016 2:38 PM To: [email protected] Subject: [Ryu-devel] External interaction with Ryu Hi, I am a

[Ryu-devel] header modification

2016-04-29 Thread Randa Alani
Dear all I want the switch to inject the table active_count (number of active entries) in the TCP window field for every TCP ACK packet. I intend to do the following flag = tcp.TCP_ACK match = parser.OFPMatch(tcp_flags =flag) Now, for the action, How could I put the table active_count (number

[Ryu-devel] External interaction with Ryu

2016-04-29 Thread Aidin Kelki
Hi, I am a student in which working on a project that I want to write an application for ryu to interact with an external DPI (Deep Packet Inspection) like nDPI to identify the flow and re-route it in case of some specific packet types for being precise when a flow comes in, it will mirror th