From 1c8b103ddc3f7377227235793c2555f264d21a82 Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Fri, 16 Nov 2018 18:42:21 -0500 Subject: Automate Onboarding of vCPE:Infra,BNG,GMUX,BRG Issue-ID: INT-601 Change-Id: If39cab716749e5dfe6abcce2f468366fca0bf849 Signed-off-by: Brian Freeman (cherry picked from commit eef7c6f27e0770415188a9bd72355d73af660a4e) --- robot/assets/service_mappings.py | 36 +++++++++ .../templates/asdc/resource_instance.template | 6 +- robot/resources/asdc_interface.robot | 91 ++++++++++++++++++++-- robot/resources/demo_preload.robot | 35 +++++---- .../test_templates/model_test_template.robot | 2 +- 5 files changed, 144 insertions(+), 26 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[][