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 | ''' |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 4 | GLOBAL_SERVICE_FOLDER_MAPPING = {"vFW" : ['base_vfw'], \ |
| 5 | "vLB" : ['base_vlb'], \ |
| 6 | "vVG" : ['base_vvg'], \ |
DR695H | 96c1f6f | 2017-08-17 17:13:48 -0400 | [diff] [blame] | 7 | "vIMS" : ['base_clearwater'], \ |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 8 | } |
Jerry Flood | d40619e | 2017-08-24 09:38:48 -0400 | [diff] [blame] | 9 | |
| 10 | ''' |
| 11 | This 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'] |
| 14 | It no longer refers to a template file as all have been collapsed into preload.template |
| 15 | ''' |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 16 | GLOBAL_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 Flood | d40619e | 2017-08-24 09:38:48 -0400 | [diff] [blame] | 20 | "vIMS" : [{"isBase" : "true", "template" : "vims_preload.template", "name_pattern": "base_clearwater"}], \ |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 21 | } |
| 22 | |
Jerry Flood | d40619e | 2017-08-24 09:38:48 -0400 | [diff] [blame] | 23 | ''' |
| 24 | Used by the Heatbridge Validate Query to A&AI to locate the vserver name |
| 25 | ''' |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 26 | GLOBAL_VALIDATE_NAME_MAPPING = {"vFW" : 'vfw_name_0', |
| 27 | "vLB" : 'vlb_name_0', |
Jerry Flood | d40619e | 2017-08-24 09:38:48 -0400 | [diff] [blame] | 28 | "vVG" : '' |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 29 | } |