Import normative improvement 49/61349/1
authorMichael Lando <ml636r@att.com>
Mon, 20 Aug 2018 17:21:48 +0000 (20:21 +0300)
committerMichael Lando <ml636r@att.com>
Mon, 20 Aug 2018 17:21:48 +0000 (20:21 +0300)
add back folder to fix lowercase issue

Change-Id: I4062084b0ef81c9225af13099fdf7725fb03d8c8
Issue-ID: SDC-557
Signed-off-by: Michael Lando <ml636r@att.com>
catalog-be/src/main/resources/import/tosca/heat-types/extCp2/extCp2.json [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/extCp2/extCp2.yml [new file with mode: 0644]
catalog-be/src/main/resources/scripts/import/tosca/importHeatTypes.py

diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/extCp2/extCp2.json b/catalog-be/src/main/resources/import/tosca/heat-types/extCp2/extCp2.json
new file mode 100644 (file)
index 0000000..71bf0d2
--- /dev/null
@@ -0,0 +1,21 @@
+{
+  "payloadName": "extCp2.yml",
+  "contactId": "DS200P",
+  "name": "ExtCP2",
+  "description": "The AT&T Connection Point base type all other CP derive from",
+  "resourceIconPath": "network",
+  "resourceType": "CP",
+  "categories": [
+  {
+    "name": "Generic",
+    "subcategories": [
+     {
+        "name": "Network Elements"
+      }
+    ]
+  }
+],  
+ "tags": [
+    "ExtCp2"
+  ]
+}
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/extCp2/extCp2.yml b/catalog-be/src/main/resources/import/tosca/heat-types/extCp2/extCp2.yml
new file mode 100644 (file)
index 0000000..beae41d
--- /dev/null
@@ -0,0 +1,8 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+  org.openecomp.resource.cp.v2.extCP:
+    derived_from: org.openecomp.resource.cp.nodes.network.Port  
+    description: The SDC External Connection Point base type 
+    capabilities:
+      port_mirroring:
+        type: org.openecomp.capabilities.PortMirroring
\ No newline at end of file
index 7963588..74ecf71 100644 (file)
@@ -55,7 +55,7 @@ def importHeatTypes(scheme, beHost, bePort, adminUser, fileDir, updateversion):
                                  "contrailV2VLANSubInterface",
                                  "multiFlavorVFC",
                                  "vnfConfiguration",
-                                 "extCP2",
+                                 "extCp2",
                                  "extNeutronCP",
                   "extContrailCP",
                                  "portMirroringByPolicy",