Yes, it is OpenFlow version 1.5 and I am using Open vSwitch 2.12.0. Documentation is unclear which parts of OFv1.5 are supported and which are not. I found and old thread asking the same question and it seems that flow stats are not supported. I switched to OFv1.4 which seems to work fine for now.
V V sob., 16. nov. 2019 ob 22:38 je oseba Ben Pfaff <[email protected]> napisala: > On November 13, 2019 5:24:36 AM PST, Martin Frlin <[email protected]> > wrote: >> >> I am sending flow stats message to the switch but I get error in >> response. Am I doing something wrong or are flow stats really unsupported? >> >> >> 1. EventOFPErrorMsg received. >> 2. version=0x6, msg_type=0x1, msg_len=0x4c, xid=0xee7e7eca >> 3. `-- msg_type: OFPT_ERROR(1) >> 4. OFPErrorMsg(type=0x1, code=0x2, >> >> data=b'\x06\x12\x00\x40\xee\x7e\x7e\xca\x00\x11\x00\x00\x00\x00\x00\x00\xff\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\x01\x00\x00\x00\x00') >> 5. |-- type: OFPET_BAD_REQUEST(1) >> 6. |-- code: OFPBRC_BAD_MULTIPART(2) >> 7. `-- data: version=0x6, msg_type=0x12, msg_len=0x40, xid=0xee7e7eca >> 8. `-- msg_type: OFPT_MULTIPART_REQUEST(18) >> >> > It looks like this is OpenFlow 1.5? Make sure you're using a very recent > version of OVS, because OpenFlow 1.5 is only fully supported in recent > versions. > > Or you could drop back to an earlier version of OpenFlow, such as 1.3, > which has been well supported for a long time. >
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
