From 3d6666af4921a28ccb95d25d88087e89e23e3ec5 Mon Sep 17 00:00:00 2001 From: Gal Sagie Date: Wed, 1 Jul 2015 19:15:55 +0300 Subject: [PATCH] Add bandwidth_limit rule type constant Change-Id: I7228b3a288848833947271a0966ca415bfaa07c4 --- neutron/extensions/qos.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neutron/extensions/qos.py b/neutron/extensions/qos.py index cda115115..3979ccc8a 100644 --- a/neutron/extensions/qos.py +++ b/neutron/extensions/qos.py @@ -26,7 +26,8 @@ from neutron import manager from neutron.plugins.common import constants from neutron.services import service_base -VALID_RULE_TYPES = ['bandwidth_limit'] +RULE_TYPE_BANDWIDTH_LIMIT = 'bandwidth_limit' +VALID_RULE_TYPES = [RULE_TYPE_BANDWIDTH_LIMIT] # Attribute Map QOS_RULE_COMMON_FIELDS = { -- 2.45.2