summaryrefslogtreecommitdiffstats
path: root/lib/python/apex/common/constants.py
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-08-09 11:44:12 -0400
committerDan Radez <dradez@redhat.com>2016-08-09 14:31:38 -0400
commitce2b7dc6d86cfeae8a8addc9ef427e1c58bf8908 (patch)
tree5b6ae10db9ba69d202b8b720e7d8a7a49f18296d /lib/python/apex/common/constants.py
parent5c9e135ccc5867ebf26bbe594cbd9964582a237d (diff)
Making NetworkSettings a dict
Change-Id: Ib7fc4e9ca543a4c678576ea2119fa606ece0095c Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'lib/python/apex/common/constants.py')
-rw-r--r--lib/python/apex/common/constants.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/apex/common/constants.py b/lib/python/apex/common/constants.py
index ae8ffe31..dfb6267b 100644
--- a/lib/python/apex/common/constants.py
+++ b/lib/python/apex/common/constants.py
@@ -15,7 +15,9 @@ API_NETWORK = 'api_network'
OPNFV_NETWORK_TYPES = [ADMIN_NETWORK, PRIVATE_NETWORK, PUBLIC_NETWORK,
STORAGE_NETWORK, API_NETWORK]
DNS_SERVERS = ["8.8.8.8", "8.8.4.4"]
-ROLES = ['compute', 'controller']
+COMPUTE = 'compute'
+CONTROLLER = 'controller'
+ROLES = [COMPUTE, CONTROLLER]
DOMAIN_NAME = 'localdomain.com'
COMPUTE_PRE = "OS::TripleO::ComputeExtraConfigPre"
CONTROLLER_PRE = "OS::TripleO::ControllerExtraConfigPre"