From 3e87e4ab0dfe99bb594142efcb0f85ec8a573ee1 Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Thu, 15 Jun 2017 09:02:12 +0100 Subject: [PATCH] Add "default" behaviour to QoS policies documentation Added devref documentation related to the "default" behaviour for QoS policies. Change-Id: Ic3b149ec5dfdc732a4b5851237389abaef8992b7 Closes-Bug: #1694298 --- doc/source/devref/quality_of_service.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/source/devref/quality_of_service.rst b/doc/source/devref/quality_of_service.rst index c0342c308a4..915494ed950 100644 --- a/doc/source/devref/quality_of_service.rst +++ b/doc/source/devref/quality_of_service.rst @@ -131,11 +131,18 @@ overridden. In the future we may want to have a flag in QoSNetworkPolicyBinding or QosRule to enforce such type of application (for example when limiting all the ingress of routers devices on an external network automatically). +Each project can have at most one default QoS policy, although is not +mandatory. If a default QoS policy is defined, all new networks created within +this project will have assigned this policy, as long as no other QoS policy is +explicitly attached during the creation process. If the default QoS policy is +unset, no change to existing networks will be made. + From database point of view, following objects are defined in schema: * QosPolicy: directly maps to the conceptual policy resource. * QosNetworkPolicyBinding, QosPortPolicyBinding: defines attachment between a Neutron resource and a QoS policy. +* QosPolicyDefault: defines a default QoS policy per project. * QosBandwidthLimitRule: defines the rule to limit the maximum egress bandwidth. * QosDscpMarkingRule: defines the rule that marks the Differentiated Service @@ -154,6 +161,7 @@ QoS versioned objects For QoS, the following neutron objects are implemented: * QosPolicy: directly maps to the conceptual policy resource, as defined above. +* QosPolicyDefault: defines a default QoS policy per project. * QosBandwidthLimitRule: defines the instance bandwidth limit rule type, characterized by a max kbps and a max burst kbits. This rule has also a direction parameter to set the traffic direction, from the instance's point of view.