From dd66889c298c248d45f4530dd34e3912159ff03b Mon Sep 17 00:00:00 2001 From: hewei Date: Fri, 9 Nov 2018 12:34:41 +0800 Subject: [PATCH] Add missing contants Missing constants MIN_VLAN_TAG and MAX_VLAN_TAG in function is_valid_vlan_tag, path: tacker/common/utils Change-Id: I26619fa71219c24f2eeed77de3c69e46a00e22a5 --- tacker/common/constants.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tacker/common/constants.py b/tacker/common/constants.py index a0a5a3943..80e45fdfa 100644 --- a/tacker/common/constants.py +++ b/tacker/common/constants.py @@ -16,6 +16,9 @@ # TODO(salv-orlando): Verify if a single set of operational # status constants is achievable +MAX_VLAN_TAG = 4094 +MIN_VLAN_TAG = 1 + PAGINATION_INFINITE = 'infinite' SORT_DIRECTION_ASC = 'asc'