[VVP] updating nested parameter test
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_nested_parameters / pass / base_stark_volume.yaml
diff --git a/ice_validator/tests/fixtures/test_nested_parameters/pass/base_stark_volume.yaml b/ice_validator/tests/fixtures/test_nested_parameters/pass/base_stark_volume.yaml
new file mode 100755 (executable)
index 0000000..0273569
--- /dev/null
@@ -0,0 +1,51 @@
+heat_template_version: 2014-10-16
+
+description: >
+  this is a test
+
+parameters:
+
+  count: 
+    type: string
+    description: nsdkfla
+
+  vnf_name:
+    type: string
+    label: VF name
+    description: Unique name for this VF instance.
+
+  vf_module_id:
+    type: string
+    label: VF module id
+    description: VF module id
+
+  vf_module_name:
+    type: string
+    label: VF module name
+    description: Unique name for this VF module instance.
+
+  stark_volume_size:
+    type: number
+    label: stark cinder volume size 
+    description: Size of the Cinder volume. Measured in gigabytes.
+
+resources:
+
+  stark_volume_RG:
+    type: OS::Heat::ResourceGroup
+    properties:
+      count: { get_param: count }
+      resource_def:
+        type: base_stark_nested_volume.yaml
+        properties:
+          vnf_name: {get_param: vnf_name}
+          vf_module_id: { get_param: vf_module_id }
+          vf_module_name: { get_param: vf_module_name }
+          stark_volume_size: { get_param: stark_volume_size }
+
+outputs:
+
+  stark_volumes:
+    value: { get_attr: [stark_volume_RG, stark_volume_0] } 
+    description: test
+