aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/service_mappings.py
diff options
context:
space:
mode:
authorJerry Flood <jf9860@att.com>2017-08-24 09:38:48 -0400
committerJerry Flood <jf9860@att.com>2017-08-24 09:43:31 -0400
commitd40619e3230eb9d8e74028ec5e95d54bbb2d7e63 (patch)
tree9abb788bedc401c3f85c30c814d507a4974fcafd /robot/assets/service_mappings.py
parenta7e514489f64680fe9f5caf9425320367b6dc73d (diff)
Collapse VNF specific templates into 1
Issue: TEST-55 Change-Id: Ia3db6d7e08ecdcfa7cc90b7f6ce31a8a54499043 Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'robot/assets/service_mappings.py')
-rw-r--r--robot/assets/service_mappings.py31
1 files changed, 15 insertions, 16 deletions
diff --git a/robot/assets/service_mappings.py b/robot/assets/service_mappings.py
index d80a4665..290d1409 100644
--- a/robot/assets/service_mappings.py
+++ b/robot/assets/service_mappings.py
@@ -1,30 +1,29 @@
+'''
+This metadata identifies the folders to be zipped and uploaded to SDC for model distribution for a given VNF
+'''
GLOBAL_SERVICE_FOLDER_MAPPING = {"vFW" : ['base_vfw'], \
"vLB" : ['base_vlb'], \
"vVG" : ['base_vvg'], \
"vIMS" : ['base_clearwater'], \
}
-
+
+'''
+This metadata identifes the preloads that need to be done for a VNF as there may be more than one (vLB)
+"template" maps to the key value in the preload_paramenters.py - GLOBAL_PRELOAD_PARAMETERS[<testcase>][<template>] -
+ GLOBAL_PRELOAD_PARAMETERS['Demo'][dnsscaling_preload.template']
+It no longer refers to a template file as all have been collapsed into preload.template
+'''
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"}], \
+ "vIMS" : [{"isBase" : "true", "template" : "vims_preload.template", "name_pattern": "base_clearwater"}], \
}
-
-##
-## 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
+'''
+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" : ''
+ "vVG" : ''
}