Update and align normatives 89/57689/1
authorTal Gitelman <tg851x@intl.att.com>
Thu, 26 Jul 2018 11:03:00 +0000 (14:03 +0300)
committerTal Gitelman <tg851x@intl.att.com>
Thu, 26 Jul 2018 11:03:00 +0000 (14:03 +0300)
Change-Id: Ie3749d5b8bb0426f9565cb4f9a1ce0848451422d
Issue-ID: SDC-1544
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
40 files changed:
catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.yml [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.zip [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.yml
catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
catalog-be/src/main/resources/import/tosca/group-types/groupTypes.json [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/Generic_Service/Generic_Service.yml
catalog-be/src/main/resources/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.json [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.json [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.yml [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.zip [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.json [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.yml [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.zip [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/configuration/configuration.json [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.json [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.yml [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.zip [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VirtualMachineInterface/contrailV2VirtualMachineInterface.yml
catalog-be/src/main/resources/import/tosca/heat-types/eline/eline.yml
catalog-be/src/main/resources/import/tosca/heat-types/eline/eline.zip
catalog-be/src/main/resources/import/tosca/heat-types/extNeutronCP/extNeutronCP.yml
catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.json [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.yml [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.zip [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.json [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.yml [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.zip [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/globalCompute/globalCompute.zip
catalog-be/src/main/resources/import/tosca/heat-types/globalPort/globalPort.yml
catalog-be/src/main/resources/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.zip
catalog-be/src/main/resources/import/tosca/heat-types/neutronPort/neutronPort.yml
catalog-be/src/main/resources/import/tosca/heat-types/portMirroring/portMirroring.zip
catalog-be/src/main/resources/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.zip
catalog-be/src/main/resources/import/tosca/heat-types/serviceProxy/serviceProxy.zip
catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.json [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.zip [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.zip
catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json [new file with mode: 0644]
catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.yml

diff --git a/catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.yml b/catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.yml
new file mode 100644 (file)
index 0000000..edd20e7
--- /dev/null
@@ -0,0 +1,13 @@
+org.openecomp.annotations.Source:
+    description: Indicates the origin source of an input
+    properties:
+        source_type:
+          type: string
+        vf_module_label:
+          type: list
+          description: List of VF Modules this input was originated from
+          entry_schema:
+            type: string
+        param_name:
+            type: string
+            description: Source parameter name
diff --git a/catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.zip b/catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.zip
new file mode 100644 (file)
index 0000000..5783c97
Binary files /dev/null and b/catalog-be/src/main/resources/import/tosca/annotation-types/annotationTypes.zip differ
index 38d4c06..b647651 100644 (file)
@@ -219,6 +219,11 @@ org.openecomp.capabilities.VLANAssignment:
       type: string
       description: Ability to recognize capability per vfc instance group on vnf instance
       required: true
+org.openecomp.capabilities.RoutingConfiguration:
+  derived_from: tosca.capabilities.Root
+org.openecomp.capabilities.FabricConfiguration:
+  derived_from: tosca.capabilities.Root
+
 #ONAP types
 tosca.capabilities.nfv.VirtualStorage:
     derived_from: tosca.capabilities.Root
@@ -247,7 +252,7 @@ tosca.capabilities.nfv.VirtualBindable:
 tosca.capabilities.nfv.VirtualLinkable:
   derived_from: tosca.capabilities.Root
 tosca.capabilities.nfv.ExtVirtualLinkable:
-  derived_from: tosca.capabilities.Root    
+  derived_from: tosca.capabilities.Root
 tosca.capabilities.nfv.Forwarder: 
   derived_from: tosca.capabilities.Root
 tosca.capabilities.nfv.ext.GuestOs: 
index c5555a5..b3635dc 100644 (file)
@@ -57,14 +57,20 @@ tosca.datatypes.Credential:
 org.openecomp.datatypes.PortMirroringConnectionPointDescription:
   derived_from: tosca.datatypes.Root
   properties:
-    nf_type: 
-        type: string
-    nfc_type: 
-        type: string
+    nf_naming_code:
+      type: string
+    nfc_naming_code:
+      type: string
     network_role: 
-        type: string 
-    pps_capacity: 
-        type: string
+      type: string
+    pps_capacity:
+      type: string
+    nf_type:
+      type: string
+      description: deprecated
+    nfc_type:
+      type: string
+      description: deprecated
 
 tosca.datatypes.TimeInterval: 
   derived_from: tosca.datatypes.Root
@@ -1391,8 +1397,7 @@ tosca.datatypes.nfv.injectFile: #used for vCPE usecase
       type: string
       required: true
 tosca.datatypes.nfv.L2AddressData:
-  derived_from: tosca.datatypes.Root
-  properties: 
+  properties:
     mac_address_assignment: 
       type: boolean
       required: true
@@ -1452,7 +1457,7 @@ tosca.datatypes.nfv.VlFlavour:
     flavourId:
       type: string
 tosca.datatypes.nfv.ext.AddressPairs:
-  properties: 
+  properties:
     ip: 
       type: string
       required: false
@@ -1460,7 +1465,7 @@ tosca.datatypes.nfv.ext.AddressPairs:
       type: string
       required: false
 tosca.datatypes.nfv.ext.FloatingIP:
-  properties: 
+  properties:
     external_network: 
       type: string
       required: false
@@ -1468,7 +1473,7 @@ tosca.datatypes.nfv.ext.FloatingIP:
       type: string
       required: false
 tosca.datatypes.nfv.ext.LocationInfo:
-  properties: 
+  properties:
     availability_zone: 
       type: string
       required: false
@@ -1479,7 +1484,7 @@ tosca.datatypes.nfv.ext.LocationInfo:
       type: string
       required: false
 tosca.datatypes.nfv.ext.HostRouteInfo:
-  properties: 
+  properties:
     destination: 
       type: string
       required: false
@@ -1487,7 +1492,7 @@ tosca.datatypes.nfv.ext.HostRouteInfo:
       type: string
       required: false
 tosca.datatypes.nfv.ext.InjectData:
-  properties: 
+  properties:
     file_name: 
       type: string
       required: false
@@ -1495,7 +1500,7 @@ tosca.datatypes.nfv.ext.InjectData:
       type: string
       required: false
 tosca.datatypes.nfv.ext.zte.WatchDog:
-  properties: 
+  properties:
     enable_delay: 
       type: integer
       required: false
@@ -1503,7 +1508,7 @@ tosca.datatypes.nfv.ext.zte.WatchDog:
       type: string
       required: false
 tosca.datatypes.nfv.ext.LocalAffinityOrAntiAffinityRule:
-  properties: 
+  properties:
     scope: 
       type: string
       required: false
diff --git a/catalog-be/src/main/resources/import/tosca/group-types/groupTypes.json b/catalog-be/src/main/resources/import/tosca/group-types/groupTypes.json
new file mode 100644 (file)
index 0000000..caea6a8
--- /dev/null
@@ -0,0 +1,22 @@
+{
+  "tosca.groups.Root": {
+    "displayName": "Root",
+    "icon": "group-root"
+  },
+  "org.openecomp.groups.heat.HeatStack": {
+    "displayName": "Heat Stack",
+    "icon": "group-heat-stack"
+  },
+  "org.openecomp.groups.VfModule": {
+    "displayName": "VF Module",
+    "icon": "group-vf-module"
+  },
+  "org.openecomp.groups.NetworkCollection": {
+    "displayName": "Network Collection",
+    "icon": "group-network-collection"
+  },
+  "org.openecomp.groups.VfcInstanceGroup": {
+    "displayName": "Vfc Instance",
+    "icon": "group-vfc-instance"
+  }
+}
\ No newline at end of file
index 902cf0c..3652ae4 100644 (file)
@@ -2,4 +2,3 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
 node_types:
   org.openecomp.resource.abstract.nodes.service: 
     derived_from: tosca.nodes.Root
-       
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.json b/catalog-be/src/main/resources/import/tosca/heat-types/VLANNetworkReceptor/VLANNetworkReceptor.json
new file mode 100644 (file)
index 0000000..157b62a
--- /dev/null
@@ -0,0 +1,21 @@
+{
+  "payloadName": "VLANNetworkReceptor.yml",
+  "contactId": "jh0003",
+  "name": "VLAN Network Receptor Configuration",
+  "description": "VLAN network receptor configuration object",
+  "resourceIconPath": "pmc",
+  "resourceType": "Configuration",
+  "categories": [
+  {
+    "name": "Configuration",
+    "subcategories": [
+      {
+        "name": "Configuration"
+      }
+    ]
+  }
+],
+  "tags": [
+    "VLAN Network Receptor Configuration"
+  ]
+}
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.json b/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.json
new file mode 100644 (file)
index 0000000..ab28d03
--- /dev/null
@@ -0,0 +1,21 @@
+{
+  "payloadName": "VRFEntry.yml",
+  "contactId": "jh0003",
+  "name": "VRF Entry Configuration",
+  "description": "VRF Entry configuration object",
+  "resourceIconPath": "pmc",
+  "resourceType": "Configuration",
+  "categories": [
+  {
+    "name": "Configuration",
+    "subcategories": [
+      {
+        "name": "Configuration"
+      }
+    ]
+  }
+],
+  "tags": [
+    "VRF Entry Configuration"
+  ]
+}
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.yml b/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.yml
new file mode 100644 (file)
index 0000000..7cba5a8
--- /dev/null
@@ -0,0 +1,17 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:    
+    org.openecomp.nodes.VRFEntry:
+        derived_from: tosca.nodes.Root
+        requirements:
+            - routing_configuration_internal:
+                occurrences:
+                    - 1
+                    - UNBOUNDED
+                capability: org.openecomp.capabilities.RoutingConfiguration
+                relationship: org.openecomp.relationships.RoutesTo     
+            - routing_configuration_external:
+                occurrences:
+                    - 1
+                    - UNBOUNDED
+                capability: org.openecomp.capabilities.RoutingConfiguration
+                relationship: org.openecomp.relationships.RoutesTo 
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.zip b/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.zip
new file mode 100644 (file)
index 0000000..fa6312e
Binary files /dev/null and b/catalog-be/src/main/resources/import/tosca/heat-types/VRFEntry/VRFEntry.zip differ
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.json b/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.json
new file mode 100644 (file)
index 0000000..2d3f541
--- /dev/null
@@ -0,0 +1,21 @@
+{
+  "payloadName": "VRFObject.yml",
+  "contactId": "jh0003",
+  "name": "VRF Object Configuration",
+  "description": "VRF Object configuration object",
+  "resourceIconPath": "pmc",
+  "resourceType": "Configuration",
+  "categories": [
+  {
+    "name": "Configuration",
+    "subcategories": [
+      {
+        "name": "Configuration"
+      }
+    ]
+  }
+],
+  "tags": [
+    "VRF Object Configuration"
+  ]
+}
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.yml b/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.yml
new file mode 100644 (file)
index 0000000..28f1d52
--- /dev/null
@@ -0,0 +1,8 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+  org.openecomp.nodes.VRFObject:
+    derived_from: tosca.nodes.Root
+    description: provides capability to connect WAN Transport Service Proxy to VRF Entry
+    capabilities:
+      routing_configuration_external:
+        type: org.openecomp.capabilities.RoutingConfiguration
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.zip b/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.zip
new file mode 100644 (file)
index 0000000..23287d6
Binary files /dev/null and b/catalog-be/src/main/resources/import/tosca/heat-types/VRFObject/VRFObject.zip differ
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/configuration/configuration.json b/catalog-be/src/main/resources/import/tosca/heat-types/configuration/configuration.json
new file mode 100644 (file)
index 0000000..ea56a6b
--- /dev/null
@@ -0,0 +1,20 @@
+{
+   "payloadName": "configuration.yml",
+   "contactId": "jh0003",
+   "name": "Configuration",
+   "description": "Root Configuration.",
+   "resourceIconPath": "defaulticon",
+   "categories": [
+   {
+     "name": "Generic",
+     "subcategories": [
+       {
+         "name": "Abstract"
+       }
+     ]
+   }
+ ],
+   "tags": [
+     "Configuration"
+   ]
+ }
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.json b/catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.json
new file mode 100644 (file)
index 0000000..d6139b3
--- /dev/null
@@ -0,0 +1,15 @@
+{
+       "payloadName": "contrailV2VLANSubInterfaceV2.yml",
+       "contactId": "jh0003",
+       "name": "contrailV2VLANSubInterfaceV2",
+       "description": "VLAN sub-Interface is a logical port which must be binded to a port. Regular port may have 1…N VLAN Interfaces.It can connect to its own network (regardless of the network the parent port can connect)",
+       "resourceIconPath": "network",
+       "resourceType": "CP",
+       "categories": [{
+               "name": "Generic",
+               "subcategories": [{
+                       "name": "Network Elements"
+               }]
+       }],
+       "tags": ["contrailV2VLANSubInterfaceV2"]
+}
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.yml b/catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.yml
new file mode 100644 (file)
index 0000000..a9a89e8
--- /dev/null
@@ -0,0 +1,70 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:   
+  org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface:
+    derived_from: org.openecomp.resource.cp.nodes.network.v2.SubInterface
+    properties:
+      virtual_machine_interface_refs:
+        description: List of virtual machine interface.
+        type: list
+        status: SUPPORTED
+        entry_schema:
+          type: string
+        required: false
+      name:
+        description: Virtual Machine Sub Interface VLAN name
+        type: string
+        status: SUPPORTED
+        required: false
+      virtual_network_refs:
+        description: List of virtual networks.
+        type: list
+        status: SUPPORTED
+        entry_schema:
+          type: string
+        required: false
+      virtual_machine_interface_properties:
+        description: virtual machine interface properties.
+        type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.Properties
+        status: SUPPORTED
+        required: false
+      virtual_machine_interface_allowed_address_pairs:
+        description: Virtual Machine Sub Interface allowed address pairs.
+        type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+        status: SUPPORTED
+        required: false
+      virtual_machine_interface_mac_addresses:
+        description: List of mac addresses.
+        type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.MacAddress
+        status: SUPPORTED
+        required: false
+      security_group_refs:
+        description: List of security groups.
+        type: list
+        status: SUPPORTED
+        entry_schema:
+          type: string
+        required: false
+      port_tuple_refs:
+        description: List of port tuples.
+        type: list
+        status: SUPPORTED
+        entry_schema:
+          type: string
+        required: false
+    attributes:
+      fq_name:
+        description: The FQ name of the Virtual Network.
+        type: string
+        status: SUPPORTED
+      show:
+        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
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.zip b/catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.zip
new file mode 100644 (file)
index 0000000..cc65bf9
Binary files /dev/null and b/catalog-be/src/main/resources/import/tosca/heat-types/contrailV2VLANSubInterfaceV2/contrailV2VLANSubInterfaceV2.zip differ
index a217907..69e15ff 100644 (file)
@@ -62,4 +62,5 @@ node_types:
         - 0
         - UNBOUNDED
         valid_source_types:
-        - org.openecomp.resources.cp.nodes.heat.network.contrailV2.VLANSubInterface
\ No newline at end of file
+        - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+        - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
\ No newline at end of file
index 7987688..2124136 100644 (file)
@@ -1,4 +1,5 @@
 tosca_definitions_version: tosca_simple_yaml_1_0_0
+
 node_types:
   org.openecomp.resource.vl.ELine:
     derived_from: org.openecomp.resource.vl.VL
index 8ba7cbc..ea770f5 100644 (file)
Binary files a/catalog-be/src/main/resources/import/tosca/heat-types/eline/eline.zip and b/catalog-be/src/main/resources/import/tosca/heat-types/eline/eline.zip differ
index 35306f5..ad946fc 100644 (file)
@@ -135,6 +135,7 @@ node_types:
         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
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.json b/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.json
new file mode 100644 (file)
index 0000000..1e4e15f
--- /dev/null
@@ -0,0 +1,21 @@
+{
+  "payloadName": "extVirtualMachineInterfaceCP.yml",
+  "contactId": "jh0003",
+  "name": "extVirtualMachineInterfaceCP",
+  "description": "External port for virtual machine interface",
+  "resourceIconPath": "network",
+  "resourceType": "CP",
+  "categories": [
+    {
+      "name": "Generic",
+      "subcategories": [
+        {
+          "name": "Network Elements"
+        }
+      ]
+    }
+  ],
+  "tags": [
+    "extVirtualMachineInterfaceCP"
+  ]
+}
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.yml b/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.yml
new file mode 100644 (file)
index 0000000..6816e7b
--- /dev/null
@@ -0,0 +1,67 @@
+
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+  org.openecomp.resource.cp.v2.extVirtualMachineInterfaceCP:
+    derived_from: org.openecomp.resource.cp.v2.extCP
+    properties:
+      name:
+        description: Virtual Machine Interface name
+        type: string
+        status: SUPPORTED
+        required: false
+      security_group_refs:
+        description: List of security groups.
+        type: list
+        status: SUPPORTED
+        entry_schema:
+          type: string
+          required: false
+      virtual_network_refs:
+        description: List of virtual networks.
+        type: list
+        status: SUPPORTED
+        entry_schema:
+          type: string
+          required: false
+      virtual_machine_interface_properties:
+        description: virtual machine interface properties.
+        type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.interface.Properties
+        status: SUPPORTED
+        required: false
+      port_tuple_refs:
+        description: List of port tuples.
+        type: list
+        status: SUPPORTED
+        entry_schema:
+          type: string
+          required: false
+      virtual_machine_interface_mac_addresses:
+        description: List of mac addresses.
+        type: list
+        status: SUPPORTED
+        entry_schema:
+          type: string
+          required: false
+      virtual_machine_interface_allowed_address_pairs:
+        description: Virtual Machine Interface allowed address pairs.
+        type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
+        status: SUPPORTED
+        required: false
+    attributes:
+      fq_name:
+        description: The FQ name of the Virtual Network.
+        type: string
+        status: SUPPORTED
+      show:
+        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
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.zip b/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.zip
new file mode 100644 (file)
index 0000000..4edd5b3
Binary files /dev/null and b/catalog-be/src/main/resources/import/tosca/heat-types/extVirtualMachineInterfaceCP/extVirtualMachineInterfaceCP.zip differ
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.json b/catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.json
new file mode 100644 (file)
index 0000000..ee48a77
--- /dev/null
@@ -0,0 +1,21 @@
+{
+  "payloadName": "fabricConfiguration.yml",
+  "contactId": "jh0003",
+  "name": "Fabric Configuration",
+  "description": "A fabric Configuration object",
+  "resourceIconPath": "pmc",
+  "resourceType": "Configuration",
+  "categories": [
+    {
+      "name": "Configuration",
+      "subcategories": [
+        {
+          "name": "Configuration"
+        }
+      ]
+    }
+  ],
+  "tags": [
+    "Fabric Configuration"
+  ]
+}
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.yml b/catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.yml
new file mode 100644 (file)
index 0000000..18658b9
--- /dev/null
@@ -0,0 +1,10 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+   org.openecomp.nodes.FabricConfiguration:
+     derived_from: org.openecomp.nodes.Configuration
+     requirements:
+     - fabric_configuration_monitoring:
+          capability: org.openecomp.capabilities.FabricConfiguration
+          occurrences:
+          - 1
+          - UNBOUNDED
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.zip b/catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.zip
new file mode 100644 (file)
index 0000000..15088d9
Binary files /dev/null and b/catalog-be/src/main/resources/import/tosca/heat-types/fabricConfiguration/fabricConfiguration.zip differ
index 23a471f..a04df59 100644 (file)
Binary files a/catalog-be/src/main/resources/import/tosca/heat-types/globalCompute/globalCompute.zip and b/catalog-be/src/main/resources/import/tosca/heat-types/globalCompute/globalCompute.zip differ
index 791a0b9..c0fd672 100644 (file)
@@ -35,6 +35,11 @@ node_types:
           type: org.openecomp.datatypes.Naming
       subnetpoolid:
           type: string      
+      subinterface_indicator:
+        description: identifies if Port is having Sub Interface
+        type: boolean
+        required: false
+        default: false
     capabilities:
       network.incoming.packets.rate:
         type: org.openecomp.capabilities.metric.Ceilometer
index d73488d..9edb9f5 100644 (file)
Binary files a/catalog-be/src/main/resources/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.zip and b/catalog-be/src/main/resources/import/tosca/heat-types/multiFlavorVFC/multiFlavorVFC.zip differ
index 34a74eb..0f6fcb3 100644 (file)
@@ -131,6 +131,7 @@ node_types:
         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
\ No newline at end of file
index cbed61f..ca5650b 100644 (file)
Binary files a/catalog-be/src/main/resources/import/tosca/heat-types/portMirroring/portMirroring.zip and b/catalog-be/src/main/resources/import/tosca/heat-types/portMirroring/portMirroring.zip differ
index a11e4f7..7a4ce51 100644 (file)
Binary files a/catalog-be/src/main/resources/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.zip and b/catalog-be/src/main/resources/import/tosca/heat-types/portMirroringByPolicy/portMirroringByPolicy.zip differ
index 9f0b60d..55ffe94 100644 (file)
Binary files a/catalog-be/src/main/resources/import/tosca/heat-types/serviceProxy/serviceProxy.zip and b/catalog-be/src/main/resources/import/tosca/heat-types/serviceProxy/serviceProxy.zip differ
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.json b/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.json
new file mode 100644 (file)
index 0000000..2b7d98c
--- /dev/null
@@ -0,0 +1,15 @@
+{
+       "payloadName": "subInterfaceV2.yml",
+       "contactId": "jh0003",
+       "name": "subInterfaceV2",
+       "description": "VLAN sub-Interface is a logical port which must be binded to a port. Regular port may have 1…N VLAN Interfaces.It can connect to its own network (regardless of the network the parent port can connect)",
+       "resourceIconPath": "network",
+       "resourceType": "CP",
+       "categories": [{
+               "name": "Generic",
+               "subcategories": [{
+                       "name": "Network Elements"
+               }]
+       }],
+       "tags": ["subInterfaceV2"]
+}
\ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml b/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml
new file mode 100644 (file)
index 0000000..7c19089
--- /dev/null
@@ -0,0 +1,45 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:    
+  org.openecomp.resource.cp.nodes.network.v2.SubInterface:
+    derived_from: tosca.nodes.Root
+    properties:
+      ip_address:
+        description: Allow the user to set a fixed IP address. Note that this address is a request to the provider which they will attempt to fulfill but may not be able to dependent on the network the port is associated with.
+        type: string
+        required: false
+      order:
+        description: 'The order of the NIC on the compute instance (e.g. eth2). Note:
+          when binding more than one port to a single compute (aka multi vNICs) and
+          ordering is desired, it is *mandatory* that all ports will be set with an
+          order value and. The order values must represent a positive, arithmetic
+          progression that starts with 0 (e.g. 0, 1, 2, ..., n).'
+        type: integer
+        default: 0
+        required: false
+        constraints:
+        - greater_or_equal: 0
+      is_default:
+        description: Set is_default=true to apply a default gateway route on the running compute instance to the associated network gateway. Only one port that is associated to single compute node can set as default=true.
+        type: boolean
+        default: false
+        required: false
+      ip_range_start:
+        description: Defines the starting IP of a range to be allocated for the compute instances that are associated by this Port. Without setting this property the IP allocation is done from the entire CIDR block of the network.
+        type: string
+        required: false
+      ip_range_end:
+        description: Defines the ending IP of a range to be allocated for the compute instances that are associated by this Port. Without setting this property the IP allocation is done from the entire CIDR block of the network.
+        type: string
+        required: false
+    attributes:
+      ip_address:
+        description: The IP address would be assigned to the associated compute instance.
+        type: string
+    requirements:
+    - subinterface_link:
+        capability: tosca.capabilities.network.Linkable
+        relationship: tosca.relationships.network.LinksTo
+    - binding:
+        capability: tosca.capabilities.network.Bindable
+        relationship: tosca.relationships.network.BindsTo    
+
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.zip b/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.zip
new file mode 100644 (file)
index 0000000..fc34ec5
Binary files /dev/null and b/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.zip differ
index 03a7d53..eb763da 100644 (file)
Binary files a/catalog-be/src/main/resources/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.zip and b/catalog-be/src/main/resources/import/tosca/heat-types/vnfConfiguration/vnfConfiguration.zip differ
diff --git a/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json b/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.json
new file mode 100644 (file)
index 0000000..9f97d55
--- /dev/null
@@ -0,0 +1,51 @@
+{
+  "tosca.policies.Root": {
+    "displayName": "Root",
+    "icon": "policy-root"
+  },
+  "tosca.policies.Placement": {
+    "displayName": "Placement",
+    "icon": "policy-placement"
+  },
+  "tosca.policies.Scaling": {
+    "displayName": "Scaling",
+    "icon": "policy-scaling"
+  },
+  "tosca.policies.Update": {
+    "displayName": "Update",
+    "icon": "policy-update"
+  },
+  "tosca.policies.Performance": {
+    "displayName": "Performance",
+    "icon": "policy-performance"
+  },
+  "org.openecomp.policies.placement.Antilocate": {
+    "displayName": "Placement Antilocate",
+    "icon": "policy-placement-antilocate"
+  },
+  "org.openecomp.policies.placement.Colocate": {
+    "displayName": "Placement Colocate",
+    "icon": "policy-placement-colocate"
+  },
+  "org.openecomp.policies.placement.valet.Diversity": {
+    "displayName": "Placement Valet Diversity",
+    "icon": "policy-placement-valet-diversity"
+  },
+  "org.openecomp.policies.placement.valet.Exclusivity": {
+    "displayName": "Placement Valet Exclusivity",
+    "icon": "policy-placement-valet-exclusivity"
+  },
+  "org.openecomp.policies.placement.valet.Affinity": {
+    "displayName": "Placement Valet Affinity",
+    "icon": "placement-valet-affinity"
+  },
+  "org.openecomp.policies.scaling.Fixed": {
+    "displayName": "Scaling Fixed",
+    "icon": "policy-fixed"
+  },
+  "org.openecomp.policies.External": {
+    "displayName": "External",
+    "icon": "policy-external"
+  }
+
+}
\ No newline at end of file
index fa4d5b7..2ed8c0e 100644 (file)
-  tosca.relationships.Root:
-    description: This is the default (root) TOSCA Relationship Type definition that all other TOSCA Relationship Types derive from.
-    attributes:
-      tosca_id:
-        description: A unique identifier of the realized instance of a Relationship Template that derives from any TOSCA normative type.
-        type: string
-      tosca_name:
-        description: This attribute reflects the name of the Relationship Template as defined in the TOSCA service template. This name is not unique to the realized instance model of corresponding deployed application as each template in the model can result in one or more instances (e.g., scaled) when orchestrated to a provider environment.
-        type: string
-      state:
-        description: The state of the relationship instance.
-        type: string
-        default: initial
-    interfaces:
-      Configure:
-        type: tosca.interfaces.relationship.Configure        
+tosca.relationships.Root:
+  description: This is the default (root) TOSCA Relationship Type definition that all other TOSCA Relationship Types derive from.
+  attributes:
+    tosca_id:
+      description: A unique identifier of the realized instance of a Relationship Template that derives from any TOSCA normative type.
+      type: string
+    tosca_name:
+      description: This attribute reflects the name of the Relationship Template as defined in the TOSCA service template. This name is not unique to the realized instance model of corresponding deployed application as each template in the model can result in one or more instances (e.g., scaled) when orchestrated to a provider environment.
+      type: string
+    state:
+      description: The state of the relationship instance.
+      type: string
+      default: initial
+  interfaces:
+    Configure:
+      type: tosca.interfaces.relationship.Configure        
 
-  tosca.relationships.RoutesTo:
-    derived_from: tosca.relationships.ConnectsTo
-    description: This type represents an intentional network routing between two Endpoints in different networks.
-    valid_target_types:
-    - tosca.capabilities.Endpoint
+tosca.relationships.RoutesTo:
+  derived_from: tosca.relationships.ConnectsTo
+  description: This type represents an intentional network routing between two Endpoints in different networks.
+  valid_target_types:
+  - tosca.capabilities.Endpoint
 
-  tosca.relationships.network.LinksTo:
-    derived_from: tosca.relationships.DependsOn
-    description: This relationship type represents an association relationship between Port and Network node types.
-    valid_target_types:
-    - tosca.capabilities.network.Linkable
+tosca.relationships.network.LinksTo:
+  derived_from: tosca.relationships.DependsOn
+  description: This relationship type represents an association relationship between Port and Network node types.
+  valid_target_types:
+  - tosca.capabilities.network.Linkable
 
-  tosca.relationships.AttachesTo:
-    derived_from: tosca.relationships.Root
-    description: This type represents an attachment relationship between two nodes. For example, an AttachesTo relationship type would be used for attaching a storage node to a Compute node.
-    valid_target_types:
-    - tosca.capabilities.Attachment
-    properties:
-      location:
-        description: 'The relative location (e.g., path on the file system), which
-          provides the root location to address an attached node. e.g., a mount point
-          / path such as ''/usr/data''. Note: The user must provide it and it cannot
-          be "root".'
-        type: string
-        constraints:
-        - min_length: 1
-      device:
-        description: The logical device name which for the attached device (which is represented by the target node in the model). e.g., '/dev/hda1'.
-        type: string
-        required: false
-    attributes:
-      device:
-        description: 'The logical name of the device as exposed to the instance. Note:
-          A runtime property that gets set when the model gets instantiated by the
-          orchestrator.'
-        type: string
+tosca.relationships.AttachesTo:
+  derived_from: tosca.relationships.Root
+  description: This type represents an attachment relationship between two nodes. For example, an AttachesTo relationship type would be used for attaching a storage node to a Compute node.
+  valid_target_types:
+  - tosca.capabilities.Attachment
+  properties:
+    location:
+      description: 'The relative location (e.g., path on the file system), which
+        provides the root location to address an attached node. e.g., a mount point
+        / path such as ''/usr/data''. Note: The user must provide it and it cannot
+        be "root".'
+      type: string
+      constraints:
+      - min_length: 1
+    device:
+      description: The logical device name which for the attached device (which is represented by the target node in the model). e.g., '/dev/hda1'.
+      type: string
+      required: false
+  attributes:
+    device:
+      description: 'The logical name of the device as exposed to the instance. Note:
+        A runtime property that gets set when the model gets instantiated by the
+        orchestrator.'
+      type: string
 
-  tosca.relationships.network.BindsTo:
-    derived_from: tosca.relationships.DependsOn
-    description: This type represents a network association relationship between Port and Compute node types.
-    valid_target_types:
-    - tosca.capabilities.network.Bindable
+tosca.relationships.network.BindsTo:
+  derived_from: tosca.relationships.DependsOn
+  description: This type represents a network association relationship between Port and Compute node types.
+  valid_target_types:
+  - tosca.capabilities.network.Bindable
 
-  tosca.relationships.HostedOn:
-    derived_from: tosca.relationships.Root
-    description: This type represents a hosting relationship between two nodes.
-    valid_target_types:
-    - tosca.capabilities.Container
+tosca.relationships.HostedOn:
+  derived_from: tosca.relationships.Root
+  description: This type represents a hosting relationship between two nodes.
+  valid_target_types:
+  - tosca.capabilities.Container
 
-  tosca.relationships.DependsOn:
-    derived_from: tosca.relationships.Root
-    description: This type represents a general dependency relationship between two nodes.
-    valid_target_types:
-    - tosca.capabilities.Node
+tosca.relationships.DependsOn:
+  derived_from: tosca.relationships.Root
+  description: This type represents a general dependency relationship between two nodes.
+  valid_target_types:
+  - tosca.capabilities.Node
 
-  tosca.relationships.ConnectsTo:
-    derived_from: tosca.relationships.Root
-    description: This type represents a network connection relationship between two nodes.
-    valid_target_types:
-    - tosca.capabilities.Endpoint
-    properties:
-      credential:
-        type: tosca.datatypes.Credential
-        required: false
+tosca.relationships.ConnectsTo:
+  derived_from: tosca.relationships.Root
+  description: This type represents a network connection relationship between two nodes.
+  valid_target_types:
+  - tosca.capabilities.Endpoint
+  properties:
+    credential:
+      type: tosca.datatypes.Credential
+      required: false
 
-  org.openecomp.relationships.VolumeAttachesTo:
-    derived_from: org.openecomp.relationships.AttachesTo
-    description: This type represents an attachment relationship for associating volume
-    properties:
-      volume_id:
-        description: The ID of the volume to be attached
-        type: string
-        status: SUPPORTED
-        required: true
-      instance_uuid:
-        description: The ID of the server to which the volume attaches
-        type: string
-        status: SUPPORTED
-        required: true
-    attributes:
-      show:
-        description: Detailed information about resource
-        type: string
-        status: SUPPORTED
+org.openecomp.relationships.VolumeAttachesTo:
+  derived_from: org.openecomp.relationships.AttachesTo
+  description: This type represents an attachment relationship for associating volume
+  properties:
+    volume_id:
+      description: The ID of the volume to be attached
+      type: string
+      status: SUPPORTED
+      required: true
+    instance_uuid:
+      description: The ID of the server to which the volume attaches
+      type: string
+      status: SUPPORTED
+      required: true
+  attributes:
+    show:
+      description: Detailed information about resource
+      type: string
+      status: SUPPORTED
 
-  org.openecomp.relationships.AttachesTo:
+org.openecomp.relationships.AttachesTo:
     derived_from: tosca.relationships.AttachesTo
     description: This type represents an attachment relationship
     properties:
         type: string
         status: SUPPORTED
         required: false
-  org.openecomp.relationships.ForwardsTo:
+org.openecomp.relationships.ForwardsTo:
+  derived_from: tosca.relationships.Root
+  valid_target_types: [org.openecomp.capabilities.Forwarder]
+org.openecomp.relationships.AssignsTo:
     derived_from: tosca.relationships.Root
-    valid_target_types:
-    - org.openecomp.capabilities.Forwarder
+org.openecomp.relationships.RoutesTo:
+    derived_from: tosca.relationships.RoutesTo
+    description: This type represents an intentional network routing between internal and external network
     
-  tosca.relationships.nfv.VirtualBindsTo:
+tosca.relationships.nfv.VirtualBindsTo:
     derived_from: tosca.relationships.DependsOn
     valid_target_types:
     - tosca.capabilities.nfv.VirtualBindable
 
-  tosca.relationships.nfv.VirtualLinksTo:
+tosca.relationships.nfv.VirtualLinksTo:
     derived_from: tosca.relationships.DependsOn
     valid_target_types:
     - tosca.capabilities.nfv.VirtualLinkable
\ No newline at end of file