Dyanmic Service Mapping data for vFWDT 90/77790/1
authorBrian Freeman <bf1936@att.com>
Mon, 4 Feb 2019 15:21:36 +0000 (10:21 -0500)
committerBrian Freeman <bf1936@att.com>
Mon, 4 Feb 2019 15:21:47 +0000 (10:21 -0500)
Issue-ID: INT-829
Change-Id: I279268ef00a626be2781338c2a5218527a42372a
Signed-off-by: Brian Freeman <bf1936@att.com>
service_mapping/README.md [new file with mode: 0644]
service_mapping/vFWDT/service_mapping.json [new file with mode: 0644]

diff --git a/service_mapping/README.md b/service_mapping/README.md
new file mode 100644 (file)
index 0000000..1752b26
--- /dev/null
@@ -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 (file)
index 0000000..74abccd
--- /dev/null
@@ -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"
+   } 
+}