From 721c00be1741d4ab3b0d7736ea2e63887e55463a Mon Sep 17 00:00:00 2001 From: Michael Lando Date: Mon, 20 Aug 2018 20:21:48 +0300 Subject: Import normative improvement add back folder to fix lowercase issue Change-Id: I4062084b0ef81c9225af13099fdf7725fb03d8c8 Issue-ID: SDC-557 Signed-off-by: Michael Lando --- .../import/tosca/heat-types/extCp2/extCp2.json | 21 +++++++++++++++++++++ .../import/tosca/heat-types/extCp2/extCp2.yml | 8 ++++++++ .../scripts/import/tosca/importHeatTypes.py | 2 +- 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/extCp2/extCp2.json create mode 100644 catalog-be/src/main/resources/import/tosca/heat-types/extCp2/extCp2.yml (limited to 'catalog-be/src/main') 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 index 0000000000..71bf0d2b24 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/heat-types/extCp2/extCp2.json @@ -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 index 0000000000..beae41d5ca --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/heat-types/extCp2/extCp2.yml @@ -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 diff --git a/catalog-be/src/main/resources/scripts/import/tosca/importHeatTypes.py b/catalog-be/src/main/resources/scripts/import/tosca/importHeatTypes.py index 7963588fdd..74ecf71784 100644 --- a/catalog-be/src/main/resources/scripts/import/tosca/importHeatTypes.py +++ b/catalog-be/src/main/resources/scripts/import/tosca/importHeatTypes.py @@ -55,7 +55,7 @@ def importHeatTypes(scheme, beHost, bePort, adminUser, fileDir, updateversion): "contrailV2VLANSubInterface", "multiFlavorVFC", "vnfConfiguration", - "extCP2", + "extCp2", "extNeutronCP", "extContrailCP", "portMirroringByPolicy", -- cgit 1.2.3-korg