6dcce5e85d1c83ed6296456f122dcbcc0538bd44
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: nested-no-nova
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     security_group_name:
12       hidden: false
13       immutable: false
14       type: string
15     net_name:
16       hidden: false
17       immutable: false
18       type: string
19   node_templates:
20     jsa_security_group_1:
21       type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules
22       properties:
23         name:
24           get_input: security_group_name
25         description: ems security group
26         rules:
27         - protocol: tcp
28           ethertype: IPv4
29           port_range_max: 65535
30           remote_ip_prefix: 0.0.0.0/0
31           direction: egress
32           port_range_min: 1
33         - protocol: udp
34           ethertype: IPv4
35           port_range_max: 65535
36           remote_ip_prefix: 0.0.0.0/0
37           direction: egress
38           port_range_min: 1
39         - protocol: icmp
40           ethertype: IPv4
41           remote_ip_prefix: 0.0.0.0/0
42           direction: egress
43         - protocol: tcp
44           ethertype: IPv6
45           port_range_max: 65535
46           remote_ip_prefix: ::/0
47           direction: egress
48           port_range_min: 1
49         - protocol: udp
50           ethertype: IPv6
51           port_range_max: 65535
52           remote_ip_prefix: ::/0
53           direction: egress
54           port_range_min: 1
55         - protocol: icmp
56           ethertype: IPv6
57           remote_ip_prefix: ::/0
58           direction: egress
59         - protocol: tcp
60           ethertype: IPv4
61           port_range_max: 65535
62           remote_ip_prefix: 0.0.0.0/0
63           direction: ingress
64           port_range_min: 1
65         - protocol: udp
66           ethertype: IPv4
67           port_range_max: 65535
68           remote_ip_prefix: 0.0.0.0/0
69           direction: ingress
70           port_range_min: 1
71         - protocol: icmp
72           ethertype: IPv4
73           remote_ip_prefix: 0.0.0.0/0
74           direction: ingress
75         - protocol: tcp
76           ethertype: IPv6
77           port_range_max: 65535
78           remote_ip_prefix: ::/0
79           direction: ingress
80           port_range_min: 1
81         - protocol: udp
82           ethertype: IPv6
83           port_range_max: 65535
84           remote_ip_prefix: ::/0
85           direction: ingress
86           port_range_min: 1
87         - protocol: icmp
88           ethertype: IPv6
89           remote_ip_prefix: ::/0
90           direction: ingress
91     dependsOn_network_0:
92       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
93       properties:
94         network_name:
95           get_input: net_name
96   groups:
97     nested-no-nova_group:
98       type: org.openecomp.groups.heat.HeatStack
99       properties:
100         heat_file: ../Artifacts/nested-no-nova.yaml
101         description: heat template that creates PCRF Cluman stack
102       members:
103       - jsa_security_group_1
104       - dependsOn_network_0
105   outputs:
106     output1:
107       value: myOutput
108   substitution_mappings:
109     node_type: org.openecomp.resource.abstract.nodes.heat.nested-no-nova
110     capabilities:
111       feature_jsa_security_group_1:
112       - jsa_security_group_1
113       - feature
114       feature_dependsOn_network_0:
115       - dependsOn_network_0
116       - feature
117       link_dependsOn_network_0:
118       - dependsOn_network_0
119       - link
120       attachment_dependsOn_network_0:
121       - dependsOn_network_0
122       - attachment
123       end_point_dependsOn_network_0:
124       - dependsOn_network_0
125       - end_point
126     requirements:
127       dependency_dependsOn_network_0:
128       - dependsOn_network_0
129       - dependency
130       port_jsa_security_group_1:
131       - jsa_security_group_1
132       - port
133       dependency_jsa_security_group_1:
134       - jsa_security_group_1
135       - dependency