TOSCA - Update Normative Types for Vlan Taggin 23/58223/2
authoreleonorali <eleonoral@amdocs.com>
Tue, 31 Jul 2018 11:22:08 +0000 (14:22 +0300)
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>
Sun, 5 Aug 2018 13:41:17 +0000 (13:41 +0000)
Update Normative Types for Vlan Tagging

Change-Id: I1f3a4d5d6f589226b7b683ef08d8687fc6e9a774
Issue-ID: SDC-1578
Signed-off-by: eleonorali <eleonoral@amdocs.com>
common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp-heat/nodes.yml
common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp/nodes.yml

index 9abb964..c26eaf0 100644 (file)
@@ -997,14 +997,6 @@ node_types:
         description: All attributes.
         type: string
         status: SUPPORTED
-    requirements:
-    - binding:
-        capability: tosca.capabilities.network.Bindable
-        node: org.openecomp.resource.cp.nodes.network.Port
-        relationship: tosca.relationships.network.BindsTo
-        occurrences:
-        - 1
-        - 1
 
   org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface:
     derived_from: org.openecomp.resource.cp.nodes.network.SubInterface
index 4577708..1bbcdd0 100644 (file)
@@ -432,7 +432,11 @@ node_types:
         relationship: tosca.relationships.network.LinksTo
     - binding:
         capability: tosca.capabilities.network.Bindable
+        node: org.openecomp.resource.cp.nodes.network.Port
         relationship: tosca.relationships.network.BindsTo
+        occurrences:
+        - 1
+        - 1
 
   org.openecomp.resource.cp.nodes.network.SubInterface:
     derived_from: tosca.nodes.network.Port
@@ -536,6 +540,14 @@ node_types:
         - UNBOUNDED
       forwarder:
         type: org.openecomp.capabilities.Forwarder
+      binding:
+        type: tosca.capabilities.network.Bindable
+        occurrences:
+        - 0
+        - UNBOUNDED
+        valid_source_types:
+        - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+        - org.openecomp.resource.cp.nodes.network.v2.SubInterface
 
   org.openecomp.resource.nodes.DeploymentFlavor:
     derived_from: tosca.nodes.Root
@@ -772,14 +784,6 @@ node_types:
         occurrences:
         - 1
         - UNBOUNDED
-      binding:
-        type: tosca.capabilities.network.Bindable
-        valid_source_types:
-        - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
-        - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
-        occurrences:
-        - 0
-        - UNBOUNDED
 
   org.openecomp.resource.cp.v2.extContrailCP:
     derived_from: org.openecomp.resource.cp.v2.extCP
@@ -892,15 +896,6 @@ node_types:
         description: All attributes.
         type: string
         status: SUPPORTED
-    capabilities:
-      binding:
-        type: tosca.capabilities.network.Bindable
-        occurrences:
-        - 0
-        - UNBOUNDED
-        valid_source_types:
-        - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
-        - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
 
   org.openecomp.nodes.ForwardingPath:
     derived_from: tosca.nodes.Root