push addional code
[sdc.git] / openecomp-be / backend / openecomp-sdc-vendor-software-product-manager / src / test / resources / tree / nested_volume / base_mobt.yaml
1 heat_template_version: 2014-10-16
2
3 description: heat template that creates additional MOBT nodes in stack
4
5 parameters:
6   mobt_vol_count: 
7     type: number
8     label: MOBT OAM server count 
9     description: MOBT OAM server instance count 
10     default: 2 
11     constraints: 
12       - range: { min: 2, max: 2 }
13     
14 resources:
15   server_volume_attach_group: 
16     type: OS::Heat::ResourceGroup
17     properties: 
18       count: { get_param: mobt_vol_count }
19       resource_def:
20        type: hot_mobt_volume_attach_nested.yaml
21        properties: 
22           mobt_vol_index: "%index%"
23           server_mobt_group_ids: { get_attr: [ server_mobt_group_data, mobt_server_adm_x_id ] }
24     update_policy: 
25       batch_create: 
26         max_batch_size: 1