diff options
author | Brian Freeman <bf1936@att.com> | 2019-02-04 10:21:36 -0500 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2019-02-04 10:21:47 -0500 |
commit | 1b7b647d9c8b1ddc491cf3c1398a7f14b16b4fbf (patch) | |
tree | 5b7a69d607fbee07661426f082d43c668ace1158 | |
parent | c048ccdceeced7f58f685c37a77b835d0e9bc16a (diff) |
Dyanmic Service Mapping data for vFWDT
Issue-ID: INT-829
Change-Id: I279268ef00a626be2781338c2a5218527a42372a
Signed-off-by: Brian Freeman <bf1936@att.com>
-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" + } +} |