Updated pom to remove distribution-management section and corrected aai base image...
[aai/babel.git] / src / test / resources / ymlFiles / resource-Contrailv2virtualnetwork-template-1.yml
diff --git a/src/test/resources/ymlFiles/resource-Contrailv2virtualnetwork-template-1.yml b/src/test/resources/ymlFiles/resource-Contrailv2virtualnetwork-template-1.yml
new file mode 100644 (file)
index 0000000..6bac30c
--- /dev/null
@@ -0,0 +1,60 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+metadata:
+  invariantUUID: c7491ff5-1a81-4193-83ab-f46632255ec4
+  UUID: 2f46eaa9-99f0-482c-b483-b9beb4db2352
+  name: ContrailV2VirtualNetwork
+  description: Represents a network service with optional subnets and advanced configurations for contrail V2.
+  type: VL
+  category: Generic
+  subcategory: Network Elements
+  resourceVendor: ATT (Tosca)
+  resourceVendorRelease: 1.0.0.wd03
+imports:
+- nodes:
+    file: nodes.yml
+- datatypes:
+    file: data.yml
+- capabilities:
+    file: capabilities.yml
+- relationships:
+    file: relationships.yml
+- groups:
+    file: groups.yml
+- policies:
+    file: policies.yml
+node_types:
+  org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork:
+    derived_from: org.openecomp.resource.vl.nodes.network.Network
+    description: Represents a network service with optional subnets and advanced configurations for contrail V2.
+    properties:
+      network_ipam_refs_data:
+        type: list
+        description: IPAM references Data
+        entry_schema:
+          type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.IpamRefData
+      network_policy_refs_data:
+        type: list
+        description: Policy references data
+        entry_schema:
+          type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefData
+      network_ipam_refs:
+        type: list
+        description: IPAM references
+        entry_schema:
+          type: string
+      network_policy_refs:
+        type: list
+        description: Policy references
+        entry_schema:
+          type: string
+      subnets:
+        type: map
+        description: Network related subnets
+        entry_schema:
+          type: org.openecomp.datatypes.heat.network.neutron.Subnet
+    capabilities:
+      attachment:
+        type: tosca.capabilities.Attachment
+        occurrences:
+        - 1
+        - UNBOUNDED