updating the VNFD (SOL001) type based on SOL001 v2.5.1 66/84466/2
authorsarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
Mon, 8 Apr 2019 05:04:40 +0000 (10:34 +0530)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Mon, 8 Apr 2019 08:46:24 +0000 (08:46 +0000)
updated VNFD types (tosca*.*nfv.) based on latest v2.5.1 version, not supported backward compatibility of SOL draft version, will be documented as limitation while upgrading from SOL draft version, updated importscript for new nodes, Also fixed java files for policyType having groupType reference, also updated with review comments

Change-Id: I1e128098cd1ebd602fe5aa01e617363634b25148
Issue-ID: SDC-2170
Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
catalog-be/src/main/resources/import/tosca/group-types/groupTypes.json
catalog-be/src/main/resources/import/tosca/group-types/groupTypes.yml
catalog-be/src/main/resources/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml

index c2e5aee..a572ed7 100644 (file)
@@ -3,10 +3,6 @@
     "displayName": "Root",
     "icon": "group-root"
   },
-  "tosca.groups.nfv.PlacementGroup": {
-    "displayName": "NFV PlacementGroup",
-    "icon": "group-nfv-placementgroup"
-  },
   "org.openecomp.groups.heat.HeatStack": {
     "displayName": "Heat Stack",
     "icon": "group-heat-stack"
@@ -22,5 +18,9 @@
   "org.openecomp.groups.VfcInstanceGroup": {
     "displayName": "Vfc Instance",
     "icon": "group-vfc-instance"
+  },
+  "tosca.groups.nfv.PlacementGroup": {
+    "displayName": "NFV PlacementGroup",
+    "icon": "group-nfv-placementgroup"
   }
 }
index b8d5954..b878241 100644 (file)
@@ -3,15 +3,6 @@ tosca.groups.Root:
   interfaces:
     Standard:
       type: tosca.interfaces.node.lifecycle.Standard
-tosca.groups.nfv.PlacementGroup:
-  derived_from: tosca.groups.Root
-  description: PlacementGroup is used for describing the affinity or anti-affinity relationship applicable between the virtualization containers to be created based on different VDUs, or between internal VLs to be created based on different VnfVirtualLinkDesc(s)
-  properties:
-    description:
-      type: string
-      description: Human readable description of the group
-      required: true
-  members: [ tosca.nodes.nfv.Vdu.Compute, tosca.nodes.nfv.VnfVirtualLink ]
 org.openecomp.groups.heat.HeatStack:
   derived_from: tosca.groups.Root
   description: Grouped all heat resources which are in the same heat stack
@@ -129,3 +120,13 @@ org.openecomp.groups.VfcInstanceGroup:
       properties:
         vfc_instance_group_reference:
           type: string
+# NFV group types
+tosca.groups.nfv.PlacementGroup:
+  derived_from: tosca.groups.Root
+  description: PlacementGroup is used for describing the affinity or anti-affinity relationship applicable between the virtualization containers to be created based on different VDUs, or between internal VLs to be created based on different VnfVirtualLinkDesc(s)
+  properties:
+    description:
+      type: string
+      description: Human readable description of the group
+      required: true
+  members: [ tosca.nodes.nfv.Vdu.Compute, tosca.nodes.nfv.VnfVirtualLink ]
index 4e9993f..35d67bf 100644 (file)
@@ -53,6 +53,19 @@ tosca.interfaces.nfv.vnf.lifecycle.Nfv:
     description: Invoked before scale_to_level
   scale_to_level_end:
     description: Invoked after scale_to_level
+tosca.interfaces.node.lifecycle.Standard:
+  create:
+    description: Standard lifecycle create operation.
+  configure:
+    description: Standard lifecycle configure operation.
+  start:
+    description: Standard lifecycle start operation.
+  stop:
+    description: Standard lifecycle stop operation.
+  delete:
+    description: Standard lifecycle delete operation.
+
+# NFV interface types
 tosca.interfaces.nfv.Vnflcm:
   #derived_from: tosca.interfaces.Root
   #description: This interface encompasses a set of TOSCA operations corresponding to the VNF LCM operations defined in ETSI GS NFV-IFA 007 as well as to preamble and postamble procedures to the execution of the VNF LCM operations.
@@ -166,14 +179,3 @@ tosca.interfaces.nfv.Vnflcm:
     description: Invoked before scale_to_level
   scale_to_level_end:
     description: Invoked after scale_to_level
-tosca.interfaces.node.lifecycle.Standard:
-  create:
-    description: Standard lifecycle create operation.
-  configure:
-    description: Standard lifecycle configure operation.
-  start:
-    description: Standard lifecycle start operation.
-  stop:
-    description: Standard lifecycle stop operation.
-  delete:
-    description: Standard lifecycle delete operation.