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 13:35:42 +0300
commit7cba26258ea17f790028a7005cb9bbbdc3923389 (patch)
tree603f9b7bd2fa6226f99fde9bfa1526f172fef154 /app/utils
parente2240ef940939a6c0cc30ca6370aae0d42c5a4af (diff)
several bug fixes for release 1.1
Change-Id: I433d41245107a68959efdcd6b56ce3348c7bbeb5 Signed-off-by: Koren Lev <korenlev@gmail.com>
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"