diff options
Diffstat (limited to 'service_mapping')
-rw-r--r-- | service_mapping/README.md | 11 | ||||
-rw-r--r-- | service_mapping/vFWDT/service_mapping.json | 24 |
2 files changed, 35 insertions, 0 deletions
diff --git a/service_mapping/README.md b/service_mapping/README.md new file mode 100644 index 00000000..1752b260 --- /dev/null +++ b/service_mapping/README.md @@ -0,0 +1,11 @@ +Content +--- + +The service_mapping direction contains a directory per VNF that adds service_mapping data for robot mondel onboarding and intantiation. +Each subdirectory has a name that must match the SERVICE Name used by robot. +In each subdirectory is one file service_mapping.json that is merged with the data in robot's testsuite/robot/assets/service_mapping.py +This way the data about basic vFW, vLB etc from previous releases can be merged with new Services/Use Cases without having to edit service_mapping.py in testsuite. +As new VNF Heat and other VIM artifacts are added the matching service_mapping.json can be added in the Demo repository. + +The service mapping to heat template directory, deployment artifacts, VF to VNF mapping etc are the same structures as in the testsuite service_mapping.py. + diff --git a/service_mapping/vFWDT/service_mapping.json b/service_mapping/vFWDT/service_mapping.json new file mode 100644 index 00000000..74abccd0 --- /dev/null +++ b/service_mapping/vFWDT/service_mapping.json @@ -0,0 +1,24 @@ +{ + "GLOBAL_SERVICE_FOLDER_MAPPING": { + "vFWDT" : ["vFWDT/vFWSNK", "vFWDT/vPKG"] + }, + "GLOBAL_SERVICE_VNF_MAPPING": { + "vFWDT" : ["vFWSNK", "vPKG", "vFWSNK"] + }, + "GLOBAL_SERVICE_GEN_NEUTRON_NETWORK_MAPPING": { + "vFWDT": [] + }, + "GLOBAL_SERVICE_DEPLOYMENT_ARTIFACT_MAPPING": { + "vFWDT": [] + }, + "GLOBAL_SERVICE_TEMPLATE_MAPPING": { + "vFWDT": [{"isBase" : "true", "template" : "vfwdt_vfw0_preload.template", "name_pattern": "base_vfw0"}, + {"isBase" : "true", "template" : "vfwdt_vfw1_preload.template", "name_pattern": "base_vfw1"}, + {"isBase" : "true", "template" : "vfwdt_vfwsnk0_preload.template", "name_pattern": "base_vsnk0"}, + {"isBase" : "true", "template" : "vfwdt_vfwsnk1_preload.template", "name_pattern": "base_vsnk1"}, + {"isBase" : "true", "template" : "vfwdt_vpkg_preload.template", "name_pattern": "base_vpkg"}] + }, + "GLOBAL_VALIDATE_NAME_MAPPING": { + "vFWDT": "vfw_name_0" + } +} |