[Ryu-devel] app

2018-02-22 Thread Frode via Ryu-devel
Hello, first off kudos for this cool, and free, controller software. Second, I wanted to ask you guys how I can instantiate an app which have been sent to ryu-manager upon start? e.g. if I run $ ryu-manager simple_switch_13.py How can I then instantiate "class SimpleSwitch13(app_manager.RyuApp)

Re: [Ryu-devel] Fwd: Facing error while trying to get the Flow Statistics using the OFPFlowStatsRequest API

2018-02-22 Thread shivani dommeti
Hi Iwase, Thank you for the workaround suggested. Regards, Shivani. On Fri, Feb 23, 2018 at 6:52 AM, Iwase Yusuke wrote: > Hi Shivani, > > The AGGREGATE_STATS message has the same problem as what I mentioned on my > previous mail. OpenFlow 1.5 introduced "OXS" structure (EXT-334) and this > s

[Ryu-devel] [PATCH] ofproto_v1_5: Function to disable EXT-334

2018-02-22 Thread IWASE Yusuke
Because OVS 2.9.0 does not yet support the OXS(EXT-334), in order to use ``OFPMP_FLOW_STATS``, ``OFPMP_AGGREGATE_STATS`` and ``OFPT_FLOW_REMOVED`` messages, we need to use parsers for the OpenFlow version 1.4. This patch adds an utility function to disable EXT-334 features and to use the OpenFlow

Re: [Ryu-devel] Starting up InBand Ryu controller

2018-02-22 Thread Iwase Yusuke
Hi Soliman, > root@mininet-vm:~# ovs-vsctl set Bridge s1 protocol=OpenFlow13 You are using the OpenFlow version 1.3, right? "ryu/app/simple_switch.py" supposes the OpenFlow version 1.0, then you should use "ryu/app/simple_switch_13.py" instead. To confirm which version a Ryu application supports

Re: [Ryu-devel] Fwd: Facing error while trying to get the Flow Statistics using the OFPFlowStatsRequest API

2018-02-22 Thread Iwase Yusuke
Hi Shivani, The AGGREGATE_STATS message has the same problem as what I mentioned on my previous mail. OpenFlow 1.5 introduced "OXS" structure (EXT-334) and this structure is also used in The AGGREGATE_STATS message, but OVS does not support it... FYI, I found a workaround for this issue, but ple

Re: [Ryu-devel] Starting up InBand Ryu controller

2018-02-22 Thread Soliman Awad Alshra´a Abdullah TU Ilmenau
Dear Iwase, I run the same script code topology on https://techandtrains.com/2013/10/05/in-band-controller-with-mininet-part-2/ mininet@mininet-vm:~$ sudo python Inband.py *** Configuring hosts h1 h2 h3 *** Starting controller c0 *** Starting 1 switches s1 ... *** Starting CLI: mininet> __

Re: [Ryu-devel] Fwd: Facing error while trying to get the Flow Statistics using the OFPFlowStatsRequest API

2018-02-22 Thread shivani dommeti
Hi Iwase Yusuke, Thank you for the response. Working on: RYU version:3.27 Ovs version: 27.2 OpenFlow version:1.5. I have tried to get the flow stats using OFPAggregateStatsRequest API and i see the following error: Encounter an error during parsing OpenFlow packet from switch.This i