fix tosca template bugs
[modeling/etsicatalog.git] / catalog / pub / utils / toscaparser / testdata / ns / service-vims / Definitions / resource-VduVirtualstorage-template.yml
diff --git a/catalog/pub/utils/toscaparser/testdata/ns/service-vims/Definitions/resource-VduVirtualstorage-template.yml b/catalog/pub/utils/toscaparser/testdata/ns/service-vims/Definitions/resource-VduVirtualstorage-template.yml
new file mode 100644 (file)
index 0000000..f7415c7
--- /dev/null
@@ -0,0 +1,46 @@
+tosca_definitions_version: tosca_simple_yaml_1_1
+metadata:
+  invariantUUID: fabee67b-5538-453d-9dc0-41c5655c9105
+  UUID: e852ea2a-3a48-4521-8ef7-f12682c75e86
+  name: VDU VirtualStorage
+  description: VDU VirtualStorage
+  type: VFC
+  category: Generic
+  subcategory: Infrastructure
+  resourceVendor: ATT (Tosca)
+  resourceVendorRelease: 1.0.0.wd03
+  resourceVendorModelNumber: ''
+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:
+  tosca.nodes.nfv.VDU.VirtualStorage:
+    derived_from: tosca.nodes.Root
+    description: VDU VirtualStorage
+    properties:
+      id:
+        type: string
+      size_of_storage:
+        type: string
+      rdma_enabled:
+        type: boolean
+      type_of_storage:
+        type: string
+    capabilities:
+      virtual_storage:
+        type: tosca.capabilities.nfv.VirtualStorage
+        occurrences:
+        - 1
+        - UNBOUNDED
+        valid_source_types: [
+          ]