[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / resources / OS_Neutron_Net / expectedoutputfiles / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 topology_template:
8   inputs:
9     param_number:
10       hidden: false
11       immutable: false
12       type: float
13       description: param number - float
14     jsa_cidr:
15       hidden: false
16       immutable: false
17       type: string
18       description: CIDR of jsa log network
19       default: 107.243.7.128/26
20     param_string:
21       hidden: false
22       immutable: false
23       type: string
24       description: param String - string
25     param_json:
26       hidden: false
27       immutable: false
28       type: json
29       description: param json - map<String>
30     param_comma_delimited_list:
31       hidden: false
32       immutable: false
33       type: list
34       description: param comma_delimited_list - List
35       entry_schema:
36         type: string
37     user_name:
38       label: User Name
39       hidden: true
40       immutable: false
41       type: string
42       description: User name to be configured for the application
43       constraints:
44       - max_length: 8
45       - min_length: 6
46       - pattern: '[A-Z]+[a-zA-Z0-9]*'
47       - in_range:
48         - 0
49         - 10
50     param_boolean:
51       hidden: false
52       immutable: false
53       type: boolean
54       description: param boolean - boolean
55     instance_type:
56       label: Instance Type
57       hidden: false
58       immutable: false
59       type: string
60       description: Instance type for compute instances
61       constraints:
62       - valid_values:
63         - m1.small
64         - m1.medium
65         - m1.large
66     jsa_net_name:
67       hidden: false
68       immutable: false
69       type: string
70       description: network name of jsa log network
71       default: jsa_log_net_0
72   node_templates:
73     jsa_net:
74       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
75       properties:
76         shared: true
77         network_name:
78           get_input: jsa_net_name
79         subnets:
80           jsa_subnet:
81             cidr:
82               get_input: jsa_cidr
83     jsa_net_test_get_attribute_2_params:
84       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
85       properties:
86         dhcp_agent_ids:
87         - '1000'
88         - '1001'
89         - '1002'
90         tenant_id: 23456
91         port_security_enabled: true
92         shared: true
93         admin_state_up: false
94         qos_policy: full
95         network_name:
96           get_attribute:
97           - jsa_net
98           - network_name
99         value_specs:
100           key1: spec1
101     jsa_net_test_get_attribute_3_params:
102       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
103       properties:
104         dhcp_agent_ids:
105         - '1000'
106         - '1001'
107         - '1002'
108         tenant_id: 23456
109         port_security_enabled: true
110         shared: true
111         admin_state_up: false
112         qos_policy: full
113         network_name:
114           get_attribute:
115           - jsa_net
116           - network_name
117           - 0
118         value_specs:
119           key1: spec1
120     jsa_net_test_get_attribute_4_params:
121       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
122       properties:
123         dhcp_agent_ids:
124         - '1000'
125         - '1001'
126         - '1002'
127         tenant_id: 23456
128         port_security_enabled: true
129         shared: true
130         admin_state_up: false
131         qos_policy: full
132         network_name:
133           get_attribute:
134           - jsa_net
135           - network_name
136           - 0
137           - a1
138         value_specs:
139           key1: spec1
140     jsa_net_test_get_attribute_5_params:
141       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
142       properties:
143         dhcp_agent_ids:
144         - '1000'
145         - '1001'
146         - '1002'
147         tenant_id: 23456
148         port_security_enabled: true
149         shared: true
150         admin_state_up: false
151         qos_policy: full
152         network_name:
153           get_attribute:
154           - jsa_net
155           - network_name
156           - 0
157           - a1
158           - a2
159         value_specs:
160           key1: spec1
161     jsa_net_test_full_attribute:
162       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
163       properties:
164         dhcp_agent_ids:
165         - '1000'
166         - '1001'
167         - '1002'
168         tenant_id: 23456
169         port_security_enabled: true
170         shared: true
171         admin_state_up: false
172         qos_policy: full
173         network_name:
174           get_input: jsa_net_name
175         subnets:
176           jsa_net_test_full_attribute_subnet:
177             cidr:
178               get_input: jsa_cidr
179         value_specs:
180           key1: spec1
181           key2: spec2
182   groups:
183     ep-jsa_net_group:
184       type: org.openecomp.groups.heat.HeatStack
185       properties:
186         heat_file: ../Artifacts/ep-jsa_net.yaml
187         description: |
188           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
189       members:
190       - jsa_net
191       - jsa_net_test_get_attribute_2_params
192       - jsa_net_test_get_attribute_3_params
193       - jsa_net_test_get_attribute_4_params
194       - jsa_net_test_get_attribute_5_params
195       - jsa_net_test_full_attribute