From ce2b7dc6d86cfeae8a8addc9ef427e1c58bf8908 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Tue, 9 Aug 2016 11:44:12 -0400 Subject: Making NetworkSettings a dict Change-Id: Ib7fc4e9ca543a4c678576ea2119fa606ece0095c Signed-off-by: Dan Radez --- lib/python/apex/common/constants.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/python/apex/common/constants.py') 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" -- cgit 1.2.3-korg