From c4061f4a78851bebbe11368d7815b949c10e18ea Mon Sep 17 00:00:00 2001 From: LIU Yulong Date: Thu, 25 Oct 2018 10:27:31 +0800 Subject: [PATCH] [Doc] L3 router gateway IP rate limit Adds L3 router gateway IP QoS config guide for users. Partially-Implements blueprint: router-gateway-ip-qos Closes-Bug: #1757044 Change-Id: Ie5abc1bad47caba8d1fef42c2e5c7c8df6cc9c2b --- doc/source/admin/config-qos.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/source/admin/config-qos.rst b/doc/source/admin/config-qos.rst index 50aa504f860..abb7fb13526 100644 --- a/doc/source/admin/config-qos.rst +++ b/doc/source/admin/config-qos.rst @@ -163,6 +163,28 @@ On the network and compute nodes: [agent] extensions = fip_qos + +#. Optionally, in order to enable QoS for router gateway IPs, set the + ``extensions`` option in the ``[agent]`` section of + ``/etc/neutron/l3_agent.ini`` to include ``gateway_ip_qos``. Set this + to all the ``dvr_snat`` or ``legacy`` L3 agents. For example: + + .. code-block:: ini + + [agent] + extensions = gateway_ip_qos + + + And ``gateway_ip_qos`` should work together with the ``fip_qos`` in L3 + agent for centralized routers, then all L3 IPs with binding QoS policy + can be limited under the QoS bandwidth limit rules: + + .. code-block:: ini + + [agent] + extensions = fip_qos, gateway_ip_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``