blob: c1a5079b2e33fe5bded953b204fa8151efb8daaa [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'], \
Jerry Flood3fc36a32017-10-11 11:09:19 -04008 "vCPE" : ['base_vcpe_infra', 'base_vcpe_vbng', 'base_vcpe_vbrgemu', 'base_vcpe_vgmux', 'base_vcpe_vgw'],
DR695Hccff30b2017-02-17 18:44:24 -05009 }
Jerry Floodd40619e2017-08-24 09:38:48 -040010
11'''
12This metadata identifes the preloads that need to be done for a VNF as there may be more than one (vLB)
Jerry Flood3fc36a32017-10-11 11:09:19 -040013"template" maps to the parameters in the preload_paramenters.py
14 - GLOBAL_PRELOAD_PARAMETERS[<testcase>][<template>] -
15 i.e. GLOBAL_PRELOAD_PARAMETERS['Demo'][dnsscaling_preload.template']
Jerry Floodd40619e2017-08-24 09:38:48 -040016'''
Jerry Flood3fc36a32017-10-11 11:09:19 -040017GLOBAL_SERVICE_TEMPLATE_MAPPING = {
18 "vFW" : [{"isBase" : "true", "template" : "vfw_preload.template", "name_pattern": "base_vfw"}],
19 "vLB" : [{"isBase" : "true", "template" : "vlb_preload.template", "name_pattern": "base_vlb"},
20 {"isBase" : "false", "template" : "dnsscaling_preload.template", "name_pattern": "dnsscaling", "prefix" : "vDNS_"}],
21 "vVG" : [{"isBase" : "true", "template" : "vvg_preload.template", "name_pattern": "base_vvg"}],
22 "vIMS" : [{"isBase" : "true", "template" : "vims_preload.template", "name_pattern": "base_clearwater"}],
23 "vCPE" : [{"isBase" : "true", "template" : "vcpe_preload.template", "name_pattern": "base_clearwater"}],
24}
DR695Hccff30b2017-02-17 18:44:24 -050025
Jerry Floodd40619e2017-08-24 09:38:48 -040026'''
27Used by the Heatbridge Validate Query to A&AI to locate the vserver name
28'''
DR695Hccff30b2017-02-17 18:44:24 -050029GLOBAL_VALIDATE_NAME_MAPPING = {"vFW" : 'vfw_name_0',
30 "vLB" : 'vlb_name_0',
Jerry Flood3fc36a32017-10-11 11:09:19 -040031 "vVG" : '',
32 "vIMS" : '',
33 "vCPE" : '',
DR695Hccff30b2017-02-17 18:44:24 -050034 }