blob: 89d25969d336cd9cd7c9170648ee03478a2dec8d [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'''
Jerry Flood8c636292017-10-30 13:03:31 -04004GLOBAL_SERVICE_FOLDER_MAPPING = {"vFW" : ['vFW'], \
5 "vLB" : ['vLB'], \
6 "vVG" : ['vVG'], \
Jerry Flood3a169a32017-12-01 12:39:10 -05007 "vCPE" : ['vCPE/infra', 'vCPE/vbng', 'vCPE/vbrgemu', 'vCPE/vgmux', 'vCPE/vgw'],
8 "vFWCL" : ['vFWCL/vFWSNK', 'vFWCL/vPKG'],
Yang Xu2ec80382018-11-01 12:30:37 -04009 "vFWNG" : ['vFW_NextGen/templates'],
Brian Freemaneef7c6f2018-11-16 18:42:21 -050010 "vCPEInfra" : ['vCPE/infra'],
11 "vCPEvBNG" : ['vCPE/vbng'],
12 "vCPEvBRGEMU" : ['vCPE/vbrgemu'],
13 "vCPEvGMUX" : ['vCPE/vgmux'],
14 "vCPEvGW" : ['vCPE/vgw'],
Jerry Flood3a169a32017-12-01 12:39:10 -050015 }
16
17'''
18Map the service to the list of VNFs to be orchestrated
19'''
20GLOBAL_SERVICE_VNF_MAPPING = {
21 "vFW" : ['vFW'],
22 "vLB" : ['vLB'],
23 "vVG" : ['vVG'],
24 "vCPE" : ['vCPE'],
25 "vFWCL" : ['vFWSNK', 'vPKG'],
Yang Xu2ec80382018-11-01 12:30:37 -040026 "vFWNG" : ['vFWNG'],
Brian Freemaneef7c6f2018-11-16 18:42:21 -050027 "vCPEInfra" : ['vCPEInfra'],
28 "vCPEvBNG" : ['vCPEvBNG'],
29 "vCPEvBRGEMU" : ['vCPEvBRGEMU'],
30 "vCPEvGMUX" : ['vCPEvGMUX'],
31 "vCPEvGW" : ['vCPEvGW'],
DR695Hccff30b2017-02-17 18:44:24 -050032 }
Jerry Floodd40619e2017-08-24 09:38:48 -040033
34'''
Brian Freemaneef7c6f2018-11-16 18:42:21 -050035
36Map the service to the list of Generic Neutron Networks to be orchestrated
37
38'''
39GLOBAL_SERVICE_GEN_NEUTRON_NETWORK_MAPPING = {
40 "vCPEInfra" : ['CPE_SIGNAL','CPE_PUBLIC'],
41 "vCPEvBNG" : ['BRG_BNG', 'BNG_MUX'],
42 "vCPEvGMUX" : ['MUX_GW'],
43 "vCPEvBRGEMU" :[],
44 "vCPEvGW" :[],
45 "vFW" :[],
46 "vLB" :[],
47 "vVG" :[],
48 "vFWCL" :[],
49 "vFWNG" :[],
50}
51'''
52
53
54
Jerry Floodd40619e2017-08-24 09:38:48 -040055This metadata identifes the preloads that need to be done for a VNF as there may be more than one (vLB)
Jerry Flood3a169a32017-12-01 12:39:10 -050056"template" maps to the parameters in the preload_paramenters.py
Jerry Flood3fc36a32017-10-11 11:09:19 -040057 - GLOBAL_PRELOAD_PARAMETERS[<testcase>][<template>] -
58 i.e. GLOBAL_PRELOAD_PARAMETERS['Demo'][dnsscaling_preload.template']
Jerry Floodd40619e2017-08-24 09:38:48 -040059'''
Jerry Flood3fc36a32017-10-11 11:09:19 -040060GLOBAL_SERVICE_TEMPLATE_MAPPING = {
Jerry Flood3a169a32017-12-01 12:39:10 -050061 "vFW" : [{"isBase" : "true", "template" : "vfw_preload.template", "name_pattern": "base_vfw"}],
Jerry Flood3fc36a32017-10-11 11:09:19 -040062 "vLB" : [{"isBase" : "true", "template" : "vlb_preload.template", "name_pattern": "base_vlb"},
63 {"isBase" : "false", "template" : "dnsscaling_preload.template", "name_pattern": "dnsscaling", "prefix" : "vDNS_"}],
Jerry Flood3a169a32017-12-01 12:39:10 -050064 "vVG" : [{"isBase" : "true", "template" : "vvg_preload.template", "name_pattern": "base_vvg"}],
65 "vCPE" : [{"isBase" : "true", "template" : "vcpe_preload.template", "name_pattern": "base_clearwater"}],
66 "vFWSNK" : [{"isBase" : "true", "template" : "vfwsnk_preload.template", "name_pattern": "base_vfw"}],
67 "vPKG" : [{"isBase" : "true", "template" : "vpkg_preload.template", "name_pattern": "base_vpkg"}],
Bin Yang326219a2018-05-31 05:35:33 +000068 "vFWCL" : [{"isBase" : "true", "template" : "vfwsnk_preload.template", "name_pattern": "base_vfw"},
69 {"isBase" : "true", "template" : "vpkg_preload.template", "name_pattern": "base_vpkg"}],
Brian Freemaneef7c6f2018-11-16 18:42:21 -050070 "vCPEInfra" : [{"isBase" : "true", "template" : "vcpe_infra_preload.template", "name_pattern": "base_infra"}],
71 "vCPEvBNG" : [{"isBase" : "true", "template" : "vcpe_vbng_preload.template", "name_pattern": "base_vbng"}],
72 "vCPEvBRGEMU" : [{"isBase" : "true", "template" : "vcpe_vbrgemu_preload.template", "name_pattern": "base_vbrgemu"}],
73 "vCPEvGMUX" : [{"isBase" : "true", "template" : "vcpe_vgmux_preload.template", "name_pattern": "base_vgmux"}],
74 "vCPEvGW" : [{"isBase" : "true", "template" : "vcpe_vgw_preload.template", "name_pattern": "base_vgw"}],
Jerry Flood3fc36a32017-10-11 11:09:19 -040075}
DR695Hccff30b2017-02-17 18:44:24 -050076
Jerry Floodd40619e2017-08-24 09:38:48 -040077'''
78Used by the Heatbridge Validate Query to A&AI to locate the vserver name
79'''
DR695Hccff30b2017-02-17 18:44:24 -050080GLOBAL_VALIDATE_NAME_MAPPING = {"vFW" : 'vfw_name_0',
81 "vLB" : 'vlb_name_0',
Jerry Flood3fc36a32017-10-11 11:09:19 -040082 "vVG" : '',
Brian Freemanabf7ac22018-05-20 19:49:34 -050083 "vCPE" : 'vgw_name_0',
Brian Freeman108048b2018-05-22 13:13:05 -050084 "vCPEvGW" : 'vgw_name_0',
85 "vCPEvDNS" : 'vdns_name_0',
86 "vCPEvAAA" : 'vaaa_name_0',
87 "vCPEvWEB" : 'vweb_name_0',
88 "vCPEvDHCP" : 'vdhcp_name_0',
Yang Xu875ab322018-11-21 22:38:18 -050089 "vCPEvGMUX" : 'vgmux_name_0',
Jerry Flood3a169a32017-12-01 12:39:10 -050090 "vFWSNK" : 'vfw_name_0',
91 "vPKG" : 'vpg_name_0',
DR695Hccff30b2017-02-17 18:44:24 -050092 }
Brian Freemaneef7c6f2018-11-16 18:42:21 -050093