summaryrefslogtreecommitdiffstats
path: root/app/utils
diff options
context:
space:
mode:
authorKoren Lev <korenlev@gmail.com>2017-10-24 13:35:42 +0300
committerKoren Lev <korenlev@gmail.com>2017-10-24 10:38:56 +0000
commit78b0f48b178325c74d5609bac5c764ac111ad808 (patch)
tree80cb343392677253d1cd57b1d641a304b61deff8 /app/utils
parentfb90353f2bf5f3c20b5ada3df2ef3f7c1bee47b8 (diff)
several bug fixes for release 1.1opnfv-5.1.RC1opnfv-5.1.0
Change-Id: I433d41245107a68959efdcd6b56ce3348c7bbeb5 Signed-off-by: Koren Lev <korenlev@gmail.com> (cherry picked from commit 7cba26258ea17f790028a7005cb9bbbdc3923389)
Diffstat (limited to 'app/utils')
-rw-r--r--app/utils/constants.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/utils/constants.py b/app/utils/constants.py
index 01bf09f..5b53921 100644
--- a/app/utils/constants.py
+++ b/app/utils/constants.py
@@ -18,6 +18,20 @@ class StringEnum(Enum):
return repr(self.value)
+class ConnectionTestType(StringEnum):
+ AMQP = "AMQP"
+ CLI = "CLI"
+ ACI = "ACI"
+ MYSQL = "mysql"
+ OPENSTACK = "OpenStack"
+ MONITORING = "Monitoring"
+
+
+class ConnectionTestStatus(StringEnum):
+ REQUEST = "request"
+ RESPONSE = "response"
+
+
class ScanStatus(StringEnum):
DRAFT = "draft"
PENDING = "pending"