Automate Onboarding of vCPE:Infra,BNG,GMUX,BRG
Issue-ID: INT-601
Change-Id: If39cab716749e5dfe6abcce2f468366fca0bf849
Signed-off-by: Brian Freeman <bf1936@att.com>
diff --git a/robot/assets/service_mappings.py b/robot/assets/service_mappings.py
index b1ed2d8..7a4a6f2 100644
--- a/robot/assets/service_mappings.py
+++ b/robot/assets/service_mappings.py
@@ -7,6 +7,11 @@
"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 @@
"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 @@
"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 @@
"vFWSNK" : 'vfw_name_0',
"vPKG" : 'vpg_name_0',
}
+