Hi,

I'm using the newer version of OVS though, I guess OVS does not supports the
OpenFlow 1.5 structured FlowStats message.
the FlowStats message was restructured in the OpenFlow 1.5 according to
introduction of the FlowDesc message, but OVS does not implement the new
structure of the FlowStats (looks like up to OF version 1.4 or earlier).
https://github.com/openvswitch/ovs/blob/bd916d13dbb845746983a6780da772154df647ba/lib/ofp-util.c#L2757-L2799

Also, the FlowDesc message does not seem to be supported, implementation not
found and the Extensible Flow Entry Statistics(EXT-334) is still on TODOs which
required to implement the FlowDesc message.
https://github.com/openvswitch/ovs/blob/master/Documentation/topics/openflow.rst#openflow-15-only

OVS seems to support the OpenFlow 1.5 partially...

Thanks,
Iwase

On 2018年02月20日 18:27, shivani dommeti wrote:
Hi,

Can  you please let me know if there is any Fix for the below stated issue which i see when i try to retrieve the Flow statistics using OFPFlowStatsRequest API with OpenFlow version1.5.

Since this is blocking some features, it would be very helpful if there is any fix for the following. Will be looking forward for your response.

Thanks,
Shivani Dommeti.



On Thu, Feb 15, 2018 at 5:03 PM, shivani dommeti <shivani.domm...@gmail.com <mailto:shivani.domm...@gmail.com>> wrote:

    Hi,

    Working on:
    RYU version:3.27
    Ovs version: 27.2
    OpenFlow version:1.5.


    I  tried getting the statistics of each flow using the following API:
      match = ofp_parser .OFPMatch(in_port=1)
      req = ofp_parser .OFPFlowStatsRequest(datapath,0,1,ofp.OFPP_ANY
    ,ofp.OFPG_ANY,0,0,match)

    And i see the following error:

    EVENT ofp_event->Controller EventOFPErrorMsg
    EVENT ofp_event->ofctl_service EventOFPErrorMsg
    EventOFPErrorMsg received.
    version=0x6, msg_type=0x1, msg_len=0x4c, xid=0x6659cf
      `-- msg_type: OFPT_ERROR(1)
    OFPErrorMsg(type=0x1, code=0x2,
data=b'\x06\x12\x00\x40\x00\x66\x59\xcf\x00\x11\ x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\ x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\ x00\x0c\x80\x00\x00\x04\x00\x00\x00\xc1\x00\x00\x00\x00\x06\x13\x10\xb0\x00\x66\x59\xd0')
      |-- type: OFPET_BAD_REQUEST(1)
      |-- code: OFPBRC_BAD_MULTIPART(2)
      `-- data: version=0x6, msg_type=0x12, msg_len=0x40, xid=0x6659cf
          `-- msg_type: OFPT_MULTIPART_REQUEST(18)
    EVENT ofp_event->Controller EventOFPPortStatsReply
    OFPErrorMsg received: type=0x01 code=0x02 message=0x06 0x12 0x00 0x40 0x00
    0x660x59 0xcf 0x00 0x11 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00
    0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    0x000x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x00 0x0c
    0x80 0x000x00 0x04 0x00 0x00 0x00 0xc1 0x00 0x00 0x00 0x00 0x06 0x13 0x10
    0xb0 0x00 0x66 0x59 0xd0
    unknown error xid 6707663


    i dint see this issue when i was using OpenFlow v1.3.


    Please let me know if i am missing something, and what can be done to fix 
this.

    Thanks,
    Shivani Dommeti.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to