Re: [Ryu-devel] Flow removed handler fails , Cannot parse header in OF version 1.5

2017-12-04 Thread rahul b
on only your local, I think it has no side > effect with the OpenFlow 1.3-1.5. > It seems to replace the parser for OFPT_FLOW_REMOVED message as expected. > With the OpenFlow 1.0-1.2, it might have some problems, but you intend to > use > only 1.5, right? > > Thanks, > Iw

Re: [Ryu-devel] Reg load fails in OF 1.5

2017-12-14 Thread rahul b
e): > num_to_field = dict((f.num, f) for f in mod.oxm_types) > > # create functions by using oxx_fields module. > +add_attr('oxm_field_info_by_name', > + functools.partial(_get_field_info_by_name, oxx, > name_to_field)) > add_attr('oxm_from_us

[Ryu-devel] Changing port-config and port-state

2017-12-17 Thread rahul b
Hi, I am using OF 1.5, OVS 2.7.4. I have couple of questions regarding OFPPortMod I want to bring down/shut port added to a ovs bridge, to do that,i am currently using, OFPPortMod with config=0,mask=ofp.OFPPC_PORT_DOWN. This operation successfully brings the port down in OVS, and i receive port

[Ryu-devel] Flow removed handler fails , Cannot parse header in OF version 1.5

2017-12-01 Thread rahul b
Hi i am using, (Open vSwitch) 2.7.4 DB Schema 7.14.0 Openflow version 1.5 On deleting a flow i am encountering this error, this is a message sent in response to the flow rule being removed. However the flow deletion is going successfully, but Ryu is not able to parse this message i believe.

[Ryu-devel] Reg load fails in OF 1.5

2017-12-12 Thread rahul b
Hi, I read over here some of the nicira extensions are not supported on OF 1.5 in OVS. https://sourceforge.net/p/ryu/mailman/message/34538059/ I am using OF 1.5 and have tried both NXActionRegLoad and NXActionRegLoad but both seems to be failing with |-- type: OFPET_BAD_ACTION(2) |-- code:

Re: [Ryu-devel] OVSDB library support for SFLOW.

2018-05-04 Thread rahul b
Could someone give me any pointers on this. Thanks, Rahul On Mon, Apr 30, 2018 at 1:03 PM, rahul b <rahulb...@gmail.com> wrote: > Hi, > > I have went through OVSDB library of RYU, I have following queries > > 1. Can ryu.lib.ovs.vsctl.VSCtl.run_command execute any comman

[Ryu-devel] OVSDB library support for SFLOW.

2018-04-30 Thread rahul b
Hi, I have went through OVSDB library of RYU, I have following queries 1. Can ryu.lib.ovs.vsctl.VSCtl.run_command execute any command that is supported by ovs-vsctl ?Or is there a restricted list of commands that can be used? 2. For commands to setup SFLOW , usually two commands needs to be

[Ryu-devel] Facing error while connecting to multiple switches with different OF versions

2018-02-13 Thread rahul b
Hi, I am using RYU version 3.27 to manage ovs and lagopus. ovs i need to connect on OF 1.5(For support in some specific feature in groups) while lagopus only supports OF 1.3 so, i am declaring my ofp versions as follows OFP_VERSIONS = [ ofproto_v1_3.OFP_VERSION,

Re: [Ryu-devel] Facing error while connecting to multiple switches with different OF versions

2018-02-15 Thread rahul b
version > > The following two patches are the candidates; > https://github.com/osrg/ryu/commit/7b5d6bd24a59f3482c6303400 > 049042a54335ac2 > https://github.com/osrg/ryu/commit/6792d6df2a28aac436eb9e2af > b1fe07bd30a1831 > > > Thanks, > Iwase > > > On 2018年02月14日 02

Re: [Ryu-devel] Extracting the dst_mac and out_pot from flowstats

2018-07-15 Thread rahul b
Hi, You can access it as follows. stat.match.get('eth_dst',None) or stat.match['eth_dst'] its a dictionary, so it applies to other keys as well. Thanks, Rahul On Fri, Jul 13, 2018 at 4:45 PM, knet solutions wrote: > Hi, > > From the EventOFPFlowStatsReply, > > I am trying to extract the