From 360fde9f88cb9fbddcfacc399ed6bfa18ebbfe30 Mon Sep 17 00:00:00 2001 From: Lajos Katona Date: Mon, 9 Jul 2018 13:37:25 +0200 Subject: [PATCH] Ingress direction for min bandwidth rule Add API extension for QoS minimum bw rule ingress direction. Change-Id: I6747652df0372ab2ee480a97758501edba0f5b3f Depends-On: https://review.openstack.org/580387 Partial-Bug: #1578989 See-Also: https://review.openstack.org/502306 (nova spec) See-Also: https://review.openstack.org/508149 (neutron spec) --- neutron/extensions/qos_bw_minimum_ingress.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 neutron/extensions/qos_bw_minimum_ingress.py diff --git a/neutron/extensions/qos_bw_minimum_ingress.py b/neutron/extensions/qos_bw_minimum_ingress.py new file mode 100644 index 00000000000..f3d04bc73bf --- /dev/null +++ b/neutron/extensions/qos_bw_minimum_ingress.py @@ -0,0 +1,20 @@ +# Copyright (c) 2018 Ericsson +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +from neutron_lib.api.definitions import qos_bw_minimum_ingress +from neutron_lib.api import extensions as api_extensions + + +class Qos_bw_minimum_ingress(api_extensions.APIExtensionDescriptor): + api_definition = qos_bw_minimum_ingress