[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / VMInterfaceToNettworkConnection / nestedArrayParam / 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 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     untrusted_vlan_networks:
12       hidden: false
13       immutable: false
14       type: list
15       entry_schema:
16         type: string
17     jsa_net_name:
18       hidden: false
19       immutable: false
20       type: string
21       description: network name of jsa log network
22   node_templates:
23     test_net1:
24       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
25       properties:
26         shared: true
27         network_name:
28           get_input: jsa_net_name
29     test_net:
30       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
31       properties:
32         shared: true
33         network_name:
34           get_input: jsa_net_name
35     test_nested:
36       type: org.openecomp.resource.abstract.nodes.heat.nested
37       directives:
38       - substitutable
39       properties:
40         p1:
41           get_input: untrusted_vlan_networks
42         service_template_filter:
43           substitute_service_template: nestedServiceTemplate.yaml
44         p2: test_net1
45   groups:
46     main_group:
47       type: org.openecomp.groups.heat.HeatStack
48       properties:
49         heat_file: ../Artifacts/main.yml
50         description: |
51           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
52       members:
53       - test_net1
54       - test_net
55       - test_nested