# -*- coding: utf8 -*-
-# ============LICENSE_START=======================================================
+# ============LICENSE_START====================================================
# org.onap.vvp/validation-scripts
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
+# VERSION: '1.0.0'
---
-resources:
+nested_template_description: base
- vm_type_volume_0:
- type: OS::Cinder::Volume
- properties:
- size: { get_param: vm_type_volume_size_0 }
+parameters:
+ vm_type_volume_name_0:
+ type: string
+ vm_type_volume_size_0:
+ type: number
- vm_type_volume_1:
- type: OS::Cinder::Volume
+resources:
+ server_0:
+ type: not_a_template_file
properties:
- size: { get_param: vm_type_volume_size_0 }
-
- vm_type_volume_0_RSG:
+ name: {get_param: server_name_0}
+ my_resource_group_1:
type: OS::Heat::ResourceGroup
- count: { get_param: vm_type_volume_count_0_RSG }
- resource_def:
- type: OS::Cinder::Volume
- properties:
- size: { get_param: vm_type_volume_size_0 }
+ properties:
+ count: 5
+ resource_def: { type: bad-level3.yaml }
outputs:
-
vm_type_volume_id_0:
- value: { get_resource: vm_type_volume_0 }
-
- vm_type_volume_id_1:
- value: { get_resource: vm_type_volume_1 }
-
- vm_type_volume_ids_0:
- value: { get_attr: [vm_type_volume_0_RSG, refs] }
\ No newline at end of file
+ value: {get_resource: vm_type_volume_0}