blob: 290d1409f0253fe7c5e2595aef5fbc1f7a5f8c17 [file] [log] [blame]
Jerry Floodd40619e2017-08-24 09:38:48 -04001'''
2This metadata identifies the folders to be zipped and uploaded to SDC for model distribution for a given VNF
3'''
DR695Hccff30b2017-02-17 18:44:24 -05004GLOBAL_SERVICE_FOLDER_MAPPING = {"vFW" : ['base_vfw'], \
5 "vLB" : ['base_vlb'], \
6 "vVG" : ['base_vvg'], \
DR695H96c1f6f2017-08-17 17:13:48 -04007 "vIMS" : ['base_clearwater'], \
DR695Hccff30b2017-02-17 18:44:24 -05008 }
Jerry Floodd40619e2017-08-24 09:38:48 -04009
10'''
11This metadata identifes the preloads that need to be done for a VNF as there may be more than one (vLB)
12"template" maps to the key value in the preload_paramenters.py - GLOBAL_PRELOAD_PARAMETERS[<testcase>][<template>] -
13 GLOBAL_PRELOAD_PARAMETERS['Demo'][dnsscaling_preload.template']
14It no longer refers to a template file as all have been collapsed into preload.template
15'''
DR695Hccff30b2017-02-17 18:44:24 -050016GLOBAL_SERVICE_TEMPLATE_MAPPING = {"vFW" : [{"isBase" : "true", "template" : "vfw_preload.template", "name_pattern": "base_vfw"}], \
17 "vLB" : [{"isBase" : "true", "template" : "vlb_preload.template", "name_pattern": "base_vlb"},
18 {"isBase" : "false", "template" : "dnsscaling_preload.template", "name_pattern": "dnsscaling", "prefix" : "vDNS_"}],
19 "vVG" : [{"isBase" : "true", "template" : "vvg_preload.template", "name_pattern": "base_vvg"}], \
Jerry Floodd40619e2017-08-24 09:38:48 -040020 "vIMS" : [{"isBase" : "true", "template" : "vims_preload.template", "name_pattern": "base_clearwater"}], \
DR695Hccff30b2017-02-17 18:44:24 -050021 }
22
Jerry Floodd40619e2017-08-24 09:38:48 -040023'''
24Used by the Heatbridge Validate Query to A&AI to locate the vserver name
25'''
DR695Hccff30b2017-02-17 18:44:24 -050026GLOBAL_VALIDATE_NAME_MAPPING = {"vFW" : 'vfw_name_0',
27 "vLB" : 'vlb_name_0',
Jerry Floodd40619e2017-08-24 09:38:48 -040028 "vVG" : ''
DR695Hccff30b2017-02-17 18:44:24 -050029 }