aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/novatovolumeconnection/nestedMultiLevels/inputfiles/main.yml
blob: cd24012cbfa3c516cafb93dc14d4b7dd3f1f7f97 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
heat_template_version: 2013-05-23

description: >
  Version 2.0 02-09-2016 (Authors: John Doe, user PROD)

parameters:
  cmaui_cinder_volume_size:
    type: string
  CMAUI_volume_type:
    type: string
  jsa_name:
    type: string
    description: network name of jsa log network
  contrail_net_name:
    type: string
    description: network name of jsa log network

resources:
  test_vol1:
     type: OS::Cinder::Volume
     properties:
       size: {get_param: cmaui_cinder_volume_size}
       volume_type: {get_param: CMAUI_volume_type}

  test_vol2:
     type: OS::Cinder::Volume
     properties:
       size: {get_param: cmaui_cinder_volume_size}
       volume_type: {get_param: CMAUI_volume_type}

  test_nova:
    type: OS::Nova::Server
    properties:
      name: {get_param: jsa_name}
      image: image

  test_nested1Level:
    type: nested1.yml
    properties:
      p1: { get_resource: test_vol1 }
      p2: { get_resource: test_vol2 }

  test_resourceGroup:
    type: OS::Heat::ResourceGroup
    properties:
      count: 9
      resource_def:
        type: nested3.yml
        properties:
          p1: { get_resource: test_vol1 }
          indx: "%index%"

  test_nestedInvalidConnectionToNova:
    type: nested1.yml
    properties:
      p1: { get_resource: test_nova}