summaryrefslogtreecommitdiffstats
path: root/lib/python/apex/common/constants.py
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-08-10 21:14:18 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-10 21:14:18 +0000
commitbdf5e90f537ded151d2a324798259bda88251842 (patch)
treef7b5ebc821626e69e4969575a4a55b5b8d8d4160 /lib/python/apex/common/constants.py
parent76ad2898211ec9788cd3f0a386a7c34e97dff2fb (diff)
parentce2b7dc6d86cfeae8a8addc9ef427e1c58bf8908 (diff)
Merge "Making NetworkSettings a dict"
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"