[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / nestedOtherScenarios / oneLevel / nestedTwoSameOneDiffWithConnectivity / in / main.yml
1 heat_template_version: 2013-05-23
2
3 description: >
4   Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
5
6 parameters:
7   jsa_name:
8     type: string
9     description: network name of jsa log network
10   security_group_name:
11     type: string
12     description: security_group_name
13
14 resources:
15   test_nested_same_file_1:
16     type: nested-same-file-1B.yml
17     properties:
18       p1: {get_attr: [test_nested_diff_file, nested_diff_file_attr_1]}
19       p2: { get_resource: jsa_security_group2}
20
21   test_nested_same_file_2:
22     type: nested-same-file-1B.yml
23     depends_on:
24       - test_nested_same_file_1
25     properties:
26       p2: {get_attr: [test_nested_same_file_1, nested_same_file_attr_1]}
27
28   test_nested_diff_file:
29     type: nested-other-file-1B.yml
30     depends_on:
31       - test_nested_same_file_1
32       - test_nested_same_file_2
33     properties:
34       p1: { get_resource: jsa_security_group1}
35
36   dependsOn_network:
37     type: OS::Neutron::Net
38     depends_on:
39       - test_nested_same_file_1
40       - test_nested_same_file_2
41       - test_nested_diff_file
42     properties:
43       name:
44         get_param: jsa_name
45
46   jsa_security_group1:
47     type: OS::Neutron::SecurityGroup
48     properties:
49       description: ems security group
50       name: {get_param: security_group_name}
51       rules: [{"direction": egress, "ethertype": IPv4, "port_range_min": 1, "port_range_max": 65535, "protocol": tcp, "remote_ip_prefix": 0.0.0.0/0}]
52
53   jsa_security_group2:
54     type: OS::Neutron::SecurityGroup
55     properties:
56       description: ems security group
57       name: {get_param: security_group_name}
58       rules: [
59               {"direction": ingress, "ethertype": IPv6, "protocol": icmp, "remote_ip_prefix": "::/0"}
60               ]