summaryrefslogtreecommitdiffstats
path: root/robot/assets/service_mappings.py
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2018-11-16 18:42:21 -0500
committerBrian Freeman <bf1936@att.com>2018-11-16 18:42:29 -0500
commiteef7c6f27e0770415188a9bd72355d73af660a4e (patch)
treefea04e790e6efd4171632a8ebcda8cef4c7cdd76 /robot/assets/service_mappings.py
parent8ed11afa5e5ab732170060fa9f0c137fdaffb4f4 (diff)
Automate Onboarding of vCPE:Infra,BNG,GMUX,BRG
Issue-ID: INT-601 Change-Id: If39cab716749e5dfe6abcce2f468366fca0bf849 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/assets/service_mappings.py')
-rw-r--r--robot/assets/service_mappings.py36
1 files changed, 36 insertions, 0 deletions
diff --git a/robot/assets/service_mappings.py b/robot/assets/service_mappings.py
index b1ed2d85..7a4a6f29 100644
--- a/robot/assets/service_mappings.py
+++ b/robot/assets/service_mappings.py
@@ -7,6 +7,11 @@ GLOBAL_SERVICE_FOLDER_MAPPING = {"vFW" : ['vFW'], \
"vCPE" : ['vCPE/infra', 'vCPE/vbng', 'vCPE/vbrgemu', 'vCPE/vgmux', 'vCPE/vgw'],
"vFWCL" : ['vFWCL/vFWSNK', 'vFWCL/vPKG'],
"vFWNG" : ['vFW_NextGen/templates'],
+ "vCPEInfra" : ['vCPE/infra'],
+ "vCPEvBNG" : ['vCPE/vbng'],
+ "vCPEvBRGEMU" : ['vCPE/vbrgemu'],
+ "vCPEvGMUX" : ['vCPE/vgmux'],
+ "vCPEvGW" : ['vCPE/vgw'],
}
'''
@@ -19,9 +24,34 @@ GLOBAL_SERVICE_VNF_MAPPING = {
"vCPE" : ['vCPE'],
"vFWCL" : ['vFWSNK', 'vPKG'],
"vFWNG" : ['vFWNG'],
+ "vCPEInfra" : ['vCPEInfra'],
+ "vCPEvBNG" : ['vCPEvBNG'],
+ "vCPEvBRGEMU" : ['vCPEvBRGEMU'],
+ "vCPEvGMUX" : ['vCPEvGMUX'],
+ "vCPEvGW" : ['vCPEvGW'],
}
'''
+
+Map the service to the list of Generic Neutron Networks to be orchestrated
+
+'''
+GLOBAL_SERVICE_GEN_NEUTRON_NETWORK_MAPPING = {
+ "vCPEInfra" : ['CPE_SIGNAL','CPE_PUBLIC'],
+ "vCPEvBNG" : ['BRG_BNG', 'BNG_MUX'],
+ "vCPEvGMUX" : ['MUX_GW'],
+ "vCPEvBRGEMU" :[],
+ "vCPEvGW" :[],
+ "vFW" :[],
+ "vLB" :[],
+ "vVG" :[],
+ "vFWCL" :[],
+ "vFWNG" :[],
+}
+'''
+
+
+
This metadata identifes the preloads that need to be done for a VNF as there may be more than one (vLB)
"template" maps to the parameters in the preload_paramenters.py
- GLOBAL_PRELOAD_PARAMETERS[<testcase>][<template>] -
@@ -37,6 +67,11 @@ GLOBAL_SERVICE_TEMPLATE_MAPPING = {
"vPKG" : [{"isBase" : "true", "template" : "vpkg_preload.template", "name_pattern": "base_vpkg"}],
"vFWCL" : [{"isBase" : "true", "template" : "vfwsnk_preload.template", "name_pattern": "base_vfw"},
{"isBase" : "true", "template" : "vpkg_preload.template", "name_pattern": "base_vpkg"}],
+ "vCPEInfra" : [{"isBase" : "true", "template" : "vcpe_infra_preload.template", "name_pattern": "base_infra"}],
+ "vCPEvBNG" : [{"isBase" : "true", "template" : "vcpe_vbng_preload.template", "name_pattern": "base_vbng"}],
+ "vCPEvBRGEMU" : [{"isBase" : "true", "template" : "vcpe_vbrgemu_preload.template", "name_pattern": "base_vbrgemu"}],
+ "vCPEvGMUX" : [{"isBase" : "true", "template" : "vcpe_vgmux_preload.template", "name_pattern": "base_vgmux"}],
+ "vCPEvGW" : [{"isBase" : "true", "template" : "vcpe_vgw_preload.template", "name_pattern": "base_vgw"}],
}
'''
@@ -54,3 +89,4 @@ GLOBAL_VALIDATE_NAME_MAPPING = {"vFW" : 'vfw_name_0',
"vFWSNK" : 'vfw_name_0',
"vPKG" : 'vpg_name_0',
}
+