Merge "[QoS] Add info about rate limiting on router's ports"

This commit is contained in:
Zuul 2017-11-29 01:11:46 +00:00 committed by Gerrit Code Review
commit f2b1776d63
2 changed files with 15 additions and 4 deletions

View File

@ -136,6 +136,16 @@ On the network and compute nodes:
[agent] [agent]
extensions = qos 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:: .. note::
QoS currently works with ml2 only (SR-IOV, Open vSwitch, and linuxbridge QoS currently works with ml2 only (SR-IOV, Open vSwitch, and linuxbridge

View File

@ -54,10 +54,11 @@ INTERFACE_OPTS = [
help=_('Name of Open vSwitch bridge to use')), help=_('Name of Open vSwitch bridge to use')),
cfg.BoolOpt('ovs_use_veth', cfg.BoolOpt('ovs_use_veth',
default=False, default=False,
help=_('Uses veth for an OVS interface or not. ' help=_("Uses veth for an OVS interface or not. "
'Support kernels with limited namespace support ' "Support kernels with limited namespace support "
'(e.g. RHEL 6.5) so long as ovs_use_veth is set to ' "(e.g. RHEL 6.5) and rate limiting on router's gateway "
'True.')), "port so long as ovs_use_veth is set to "
"True.")),
] ]