aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/tree/nested_volume/hot_mobt_volume_attach_nested.yaml
blob: 8e6d07f899c753a14cda439852e3aa250f37353a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
heat_template_version: 2014-10-16

description: nested heat template that associtate the cinder volumes to OAM nodes stack

parameters:
  mobt_volume_ids:
    type: comma_delimited_list
    label: MOBT OAM Cinder Volumes
    description: MOBT OAM Cinder Volumes

  server_mobt_group_ids:
    type: comma_delimited_list
    label: MOBT OAM Resource Group
    description: MOBT OAM Resource Group

  mobt_vol_index:
    type: number
    label: ADM volume index
    description: ADM volume UUID in list 
    
resources:
  mobt_adm_vol_attachment_x:
    type: OS::Cinder::VolumeAttachment
    properties:
      volume_id: { get_param: [ mobt_volume_ids, get_param: mobt_vol_index ]}
      mountpoint: /dev/vdb
      instance_uuid: { get_param: [ server_mobt_group_ids, get_param: mobt_vol_index ]}