summaryrefslogtreecommitdiffstats
path: root/robot/assets/service_mappings.py
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2017-02-17 18:44:24 -0500
committerDR695H <dr695h@att.com>2017-02-17 18:44:41 -0500
commitccff30b6e325f359879595998e83bbfe6624c851 (patch)
treec98f950f33baa71d21b091b6b10ca3ffb7700467 /robot/assets/service_mappings.py
parent234c2226d8cb3368a7af3d280a5ec280782bed63 (diff)
Initial checkin of EopenECOMP testsuite
Change-Id: I64a2b6d8cf66169829866b73b3d26a4ff59b0a42 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/assets/service_mappings.py')
-rw-r--r--robot/assets/service_mappings.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/robot/assets/service_mappings.py b/robot/assets/service_mappings.py
new file mode 100644
index 00000000..9e7a2cc0
--- /dev/null
+++ b/robot/assets/service_mappings.py
@@ -0,0 +1,29 @@
+GLOBAL_SERVICE_FOLDER_MAPPING = {"vFW" : ['base_vfw'], \
+ "vLB" : ['base_vlb'], \
+ "vVG" : ['base_vvg'], \
+ }
+
+GLOBAL_SERVICE_TEMPLATE_MAPPING = {"vFW" : [{"isBase" : "true", "template" : "vfw_preload.template", "name_pattern": "base_vfw"}], \
+ "vLB" : [{"isBase" : "true", "template" : "vlb_preload.template", "name_pattern": "base_vlb"},
+ {"isBase" : "false", "template" : "dnsscaling_preload.template", "name_pattern": "dnsscaling", "prefix" : "vDNS_"}],
+ "vVG" : [{"isBase" : "true", "template" : "vvg_preload.template", "name_pattern": "base_vvg"}], \
+ }
+
+
+##
+## The following identifies the stack parameter names for the oam_ecomp network IPS
+## In stantiated by the stack. During stack teardown, we need to ensure that
+## These ports are deleted due to latency in rackspace to free these ports.
+## This is just a workaround to enable respinning a VM as soon as possible
+GLOBAL_SERVICE_ECOMP_IP_MAPPING = {"vFW" : ['vpg_private_ip_1', 'vfw_private_ip_2','vsn_private_ip_1'], \
+ "vLB" : ['vlb_private_ip_1', 'vdns_private_ip_1'],
+ "vVG" : [], \
+ }
+
+
+##
+## Used by the Heatbridge Validate Query to A&AI to locate the vserver name
+GLOBAL_VALIDATE_NAME_MAPPING = {"vFW" : 'vfw_name_0',
+ "vLB" : 'vlb_name_0',
+ "vVG" : ''
+ }