[ovs-discuss] Does Open vSwitch 2.3.0 support the meter table in OpenFlow1.3? I failed to add the meter.

Xiao Lin x.shawn.lin at gmail.com
Sat Apr 16 15:33:47 UTC 2016


Hi all,

I am trying to use OVS to do rate limiting through OpenFlow1.3.
At first, I use Mininet to add a bridge.
    *sudo mn --switch ovsk,protocols=OpenFlow13*

And I try to *add meter in s1* which generated by Mininet,
    *sudo ovs-ofctl add-meter s1 meter=1,kbps,bands=type=drop,rate=100 -O
OpenFlow13*
and then I get the error message,
    OFPT_ERROR (OF1.3) (xid=0x2): *OFPMMFC_OUT_OF_METERS*
    OFPT_METER_MOD (OF1.3) (xid=0x2): ADD meter=1 kbps bands=
    type=drop rate=100

In OpenFlow 1.3 Spec, we could find that
    OFPMMFC_OUT_OF_METERS = 10,
* /* No more meters available. */*

And I try to see the meter features, it shows below,
*    sudo ovs-ofctl meter-features s1 -O OpenFlow13 *
    OFPST_METER_FEATURES reply (OF1.3) (xid=0x2):
    *max_meter:0 max_bands:0* max_color:0
    band_types: 0
    capabilities: 0
It seems that the OVS 2.3.0 has not supported the meter table yet.

Any suggestions? Does I use the wrong command? Maybe I should try to use
OVS 2.5.0? Thanks in advance.

Bests,
Shawn Lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160416/5a93bb85/attachment-0002.html>


More information about the discuss mailing list