Jerry Flood | d40619e | 2017-08-24 09:38:48 -0400 | [diff] [blame] | 1 | ''' |
| 2 | This metadata identifies the folders to be zipped and uploaded to SDC for model distribution for a given VNF |
| 3 | ''' |
Jerry Flood | 8c63629 | 2017-10-30 13:03:31 -0400 | [diff] [blame] | 4 | GLOBAL_SERVICE_FOLDER_MAPPING = {"vFW" : ['vFW'], \ |
| 5 | "vLB" : ['vLB'], \ |
| 6 | "vVG" : ['vVG'], \ |
Jerry Flood | 3a169a3 | 2017-12-01 12:39:10 -0500 | [diff] [blame] | 7 | "vCPE" : ['vCPE/infra', 'vCPE/vbng', 'vCPE/vbrgemu', 'vCPE/vgmux', 'vCPE/vgw'], |
| 8 | "vFWCL" : ['vFWCL/vFWSNK', 'vFWCL/vPKG'], |
| 9 | } |
| 10 | |
| 11 | ''' |
| 12 | Map the service to the list of VNFs to be orchestrated |
| 13 | ''' |
| 14 | GLOBAL_SERVICE_VNF_MAPPING = { |
| 15 | "vFW" : ['vFW'], |
| 16 | "vLB" : ['vLB'], |
| 17 | "vVG" : ['vVG'], |
| 18 | "vCPE" : ['vCPE'], |
| 19 | "vFWCL" : ['vFWSNK', 'vPKG'], |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 20 | } |
Jerry Flood | d40619e | 2017-08-24 09:38:48 -0400 | [diff] [blame] | 21 | |
| 22 | ''' |
| 23 | This metadata identifes the preloads that need to be done for a VNF as there may be more than one (vLB) |
Jerry Flood | 3a169a3 | 2017-12-01 12:39:10 -0500 | [diff] [blame] | 24 | "template" maps to the parameters in the preload_paramenters.py |
Jerry Flood | 3fc36a3 | 2017-10-11 11:09:19 -0400 | [diff] [blame] | 25 | - GLOBAL_PRELOAD_PARAMETERS[<testcase>][<template>] - |
| 26 | i.e. GLOBAL_PRELOAD_PARAMETERS['Demo'][dnsscaling_preload.template'] |
Jerry Flood | d40619e | 2017-08-24 09:38:48 -0400 | [diff] [blame] | 27 | ''' |
Jerry Flood | 3fc36a3 | 2017-10-11 11:09:19 -0400 | [diff] [blame] | 28 | GLOBAL_SERVICE_TEMPLATE_MAPPING = { |
Jerry Flood | 3a169a3 | 2017-12-01 12:39:10 -0500 | [diff] [blame] | 29 | "vFW" : [{"isBase" : "true", "template" : "vfw_preload.template", "name_pattern": "base_vfw"}], |
Jerry Flood | 3fc36a3 | 2017-10-11 11:09:19 -0400 | [diff] [blame] | 30 | "vLB" : [{"isBase" : "true", "template" : "vlb_preload.template", "name_pattern": "base_vlb"}, |
| 31 | {"isBase" : "false", "template" : "dnsscaling_preload.template", "name_pattern": "dnsscaling", "prefix" : "vDNS_"}], |
Jerry Flood | 3a169a3 | 2017-12-01 12:39:10 -0500 | [diff] [blame] | 32 | "vVG" : [{"isBase" : "true", "template" : "vvg_preload.template", "name_pattern": "base_vvg"}], |
| 33 | "vCPE" : [{"isBase" : "true", "template" : "vcpe_preload.template", "name_pattern": "base_clearwater"}], |
| 34 | "vFWSNK" : [{"isBase" : "true", "template" : "vfwsnk_preload.template", "name_pattern": "base_vfw"}], |
| 35 | "vPKG" : [{"isBase" : "true", "template" : "vpkg_preload.template", "name_pattern": "base_vpkg"}], |
Bin Yang | 326219a | 2018-05-31 05:35:33 +0000 | [diff] [blame] | 36 | "vFWCL" : [{"isBase" : "true", "template" : "vfwsnk_preload.template", "name_pattern": "base_vfw"}, |
| 37 | {"isBase" : "true", "template" : "vpkg_preload.template", "name_pattern": "base_vpkg"}], |
Jerry Flood | 3fc36a3 | 2017-10-11 11:09:19 -0400 | [diff] [blame] | 38 | } |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 39 | |
Jerry Flood | d40619e | 2017-08-24 09:38:48 -0400 | [diff] [blame] | 40 | ''' |
| 41 | Used by the Heatbridge Validate Query to A&AI to locate the vserver name |
| 42 | ''' |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 43 | GLOBAL_VALIDATE_NAME_MAPPING = {"vFW" : 'vfw_name_0', |
| 44 | "vLB" : 'vlb_name_0', |
Jerry Flood | 3fc36a3 | 2017-10-11 11:09:19 -0400 | [diff] [blame] | 45 | "vVG" : '', |
Brian Freeman | abf7ac2 | 2018-05-20 19:49:34 -0500 | [diff] [blame] | 46 | "vCPE" : 'vgw_name_0', |
Brian Freeman | 108048b | 2018-05-22 13:13:05 -0500 | [diff] [blame] | 47 | "vCPEvGW" : 'vgw_name_0', |
| 48 | "vCPEvDNS" : 'vdns_name_0', |
| 49 | "vCPEvAAA" : 'vaaa_name_0', |
| 50 | "vCPEvWEB" : 'vweb_name_0', |
| 51 | "vCPEvDHCP" : 'vdhcp_name_0', |
Jerry Flood | 3a169a3 | 2017-12-01 12:39:10 -0500 | [diff] [blame] | 52 | "vFWSNK" : 'vfw_name_0', |
| 53 | "vPKG" : 'vpg_name_0', |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 54 | } |