Re: [Ryu-devel] How I can identify a packet from the Ryu-controller to OpenFlow v1.3 switch?

2016-05-25 Thread Iwase Yusuke
Hi, You want to do the port mirroring only the packets sent by packet_out messages, right? I think there are some way to do this. For example, please refer to the following snippet. I added a output action in to packet_out message (not into flow_mod messages). $ git diff diff --git a/ryu/app/sim

[Ryu-devel] Ryu & pyodbc integration

2016-05-25 Thread Shivaram Mysore
Hello, Has anyone done ryu and python odbc driver integration so that flows can be stored in a database? Thanks! -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to w

Re: [Ryu-devel] OFPR_ACTION bitmask of the “Set asynchronous configuration message”

2016-05-25 Thread mehran shetabi
Hi, In RYU, I used OFPSetAsync message to mask packet_in caused by ACTION as mentioned in RYU doc. This is the code: def send_set_async(self, datapath): ofp = datapath.ofproto ofp_parser = datapath.ofproto_parser packet_in_mask = ofp.OFPR_ACTION port_status_mask = (ofp.OFPPR_ADD | ofp.OFPPR_DELE

[Ryu-devel] [PATCH] nx_match: add tun_ipv6_{src,dst}

2016-05-25 Thread Atzm Watanabe
Open vSwitch accepts NXM_NX_TUN_IPV6_SRC(109) and NXM_NX_TUN_IPV6_DST(110) since v2.5. Signed-off-by: Atzm Watanabe --- ryu/ofproto/nx_match.py| 4 ryu/tests/unit/ofproto/test_parser_ofpmatch.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ryu/ofproto/nx_ma

Re: [Ryu-devel] How I can identify a packet from the Ryu-controller to OpenFlow v1.3 switch?

2016-05-25 Thread Maurizio Marrocco
Hi, I try with in_port=ofproto.OFPP_CONTROLLER in PktOut msg but don't work. In other words, how can Mirror all control traffic (pkt_out messages), from controller to port output 3? How can match this? I post the source with attachment to this email. Da:

[Ryu-devel] Band width in virtual switch with ryu controller

2016-05-25 Thread wesam kh
hello every one  I have two server connect to one switch and I need to know: If BW or buffer size between the first server and switch if reach to 70% , must be to moving the all rest packet that is ingress to switch  to second  server ?how can I doing that ?thank you in advance Wisam

[Ryu-devel] [PATCH] Make ovs optional

2016-05-25 Thread YAMAMOTO Takashi
Requiring a dev version of ovs here causes version conflict issues for projects which don't want to use dev versions of libraries. [1] Make it optional and document it in README instead. [1] https://bugs.launchpad.net/neutron/+bug/1584858 Signed-off-by: YAMAMOTO Takashi --- README.rst