diff --git a/doc/source/admin/config-qos.rst b/doc/source/admin/config-qos.rst index 084814d1d4e..23c456f0ec8 100644 --- a/doc/source/admin/config-qos.rst +++ b/doc/source/admin/config-qos.rst @@ -136,6 +136,16 @@ On the network and compute nodes: [agent] extensions = qos +#. As rate limit doesn't work on Open vSwitch's ``internal`` ports, + optionally, as a workaround, to make QoS bandwidth limit work on + router's gateway ports, set ``ovs_use_veth`` to ``True`` in ``DEFAULT`` + section in ``/etc/neutron/l3_agent.ini`` + + .. code-block:: ini + + [DEFAULT] + ovs_use_veth = True + .. note:: QoS currently works with ml2 only (SR-IOV, Open vSwitch, and linuxbridge diff --git a/neutron/conf/agent/common.py b/neutron/conf/agent/common.py index 6f0fd91dc87..7052f1791b3 100644 --- a/neutron/conf/agent/common.py +++ b/neutron/conf/agent/common.py @@ -54,10 +54,11 @@ INTERFACE_OPTS = [ help=_('Name of Open vSwitch bridge to use')), cfg.BoolOpt('ovs_use_veth', default=False, - help=_('Uses veth for an OVS interface or not. ' - 'Support kernels with limited namespace support ' - '(e.g. RHEL 6.5) so long as ovs_use_veth is set to ' - 'True.')), + help=_("Uses veth for an OVS interface or not. " + "Support kernels with limited namespace support " + "(e.g. RHEL 6.5) and rate limiting on router's gateway " + "port so long as ovs_use_veth is set to " + "True.")), ]