From 01e5ade3799531f9ef6578e353854d0d5493c75b Mon Sep 17 00:00:00 2001 From: DR695H Date: Wed, 8 May 2019 18:21:56 -0400 Subject: update readme, add demo jinja, stage1 of servmap Change-Id: Ibf7ec8a9915b03bbf25cd3c86c23fe3056b4a42a Issue-ID: TEST-152 Signed-off-by: DR695H --- robot/assets/service_mappings.py | 105 +++--------------------------- robot/assets/templates/aai/customer.jinja | 26 ++++++++ 2 files changed, 34 insertions(+), 97 deletions(-) create mode 100644 robot/assets/templates/aai/customer.jinja (limited to 'robot') diff --git a/robot/assets/service_mappings.py b/robot/assets/service_mappings.py index 9a02a1b1..a6af36d0 100644 --- a/robot/assets/service_mappings.py +++ b/robot/assets/service_mappings.py @@ -5,124 +5,35 @@ import os.path ''' This metadata identifies the folders to be zipped and uploaded to SDC for model distribution for a given VNF ''' -GLOBAL_SERVICE_FOLDER_MAPPING = {"vFW" : ['vFW'], \ - "vLB" : ['vLBMS'], \ - "vVG" : ['vVG'], \ - "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'], - "vCPEResCust" : ['vCPE/vgw'], - } +GLOBAL_SERVICE_FOLDER_MAPPING = {} ''' Map the service to the list of VNFs to be orchestrated ''' -GLOBAL_SERVICE_VNF_MAPPING = { - "vFW" : ['vFW'], - "vLB" : ['vLB'], - "vVG" : ['vVG'], - "vCPE" : ['vCPE'], - "vFWCL" : ['vFWCLvFWSNK', 'vFWCLvPKG'], - "vFWNG" : ['vFWNG'], - "vCPEInfra" : ['vCPEInfra'], - "vCPEvBNG" : ['vCPEvBNG'], - "vCPEvBRGEMU" : ['vCPEvBRGEMU'], - "vCPEvGMUX" : ['vCPEvGMUX'], - "vCPEvGW" : ['vCPEvGW'], - "vCPERestCust" : ['vCPEvGW'], - } +GLOBAL_SERVICE_VNF_MAPPING = {} ''' - 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" :[], - "vCPERestCust" :[], - "vFW" :[], - "vLB" :[], - "vVG" :[], - "vFWCL" :[], - "vFWNG" :[], -} ''' - -Map the service to the list of Deployment Artifacts for Closed Loop Control +GLOBAL_SERVICE_GEN_NEUTRON_NETWORK_MAPPING = {} ''' -GLOBAL_SERVICE_DEPLOYMENT_ARTIFACT_MAPPING = { - "vCPEInfra" : [], - "vCPEvBNG" : [], - "vCPEvGMUX" : [], - "vCPEvBRGEMU" :[], - "vCPEvGW" :[], - "vCPERestCust" :[], - "vFW" :[], - "vLB" :['tca_docker_k8s_v4.yaml'], - "vVG" :[], - "vFWCL" :[], - "vFWNG" :[], -} +Map the service to the list of Deployment Artifacts for Closed Loop Control ''' +GLOBAL_SERVICE_DEPLOYMENT_ARTIFACT_MAPPING = {} - - +''' 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[][