blob: 0d9c6569f65206be2bc70ad81c51552430dc79cd (
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
57
58
59
60
61
62
63
|
heat_template_version: 2013-05-23
description: >
Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
parameters:
jsa_net_name:
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_net:
type: OS::Neutron::Net
properties:
name: {get_param: jsa_net_name}
shared: True
test_contrailV2_net:
type: OS::ContrailV2::VirtualNetwork
properties:
name: { get_param: contrail_net_name }
test_contrail_net:
type: OS::Contrail::VirtualNetwork
properties:
name: { get_param: contrail_net_name }
test_nova:
type: OS::Nova::Server
properties:
name: {get_param: jsa_name}
image: image
test_nested1Level:
type: nested1.yml
properties:
p1: { get_resource: test_net}
p2: { get_attr: [ test_contrailV2_net, fq_name ] }
test_resourceGroup:
type: OS::Heat::ResourceGroup
properties:
count: 9
resource_def:
type: nested3.yml
properties:
p1: { list_join: [':', { get_attr: [ test_contrailV2_net, fq_name ] } ] }
indx: "%index%"
test_nestedInvalidConnectionToNetwork1:
type: nested1.yml
properties:
p1: { get_resource: test_nova}
test_nestedInvalidConnectionToNetwork2:
type: nested1.yml
properties:
p1: { get_resource: test_contrail_net}
|