[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 / nested / 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     jsa_net_name:
12       hidden: false
13       immutable: false
14       type: string
15       description: network name of jsa log network
16   node_templates:
17     test_net1:
18       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
19       properties:
20         shared: true
21         network_name:
22           get_input: jsa_net_name
23     test_net:
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_nested:
30       type: org.openecomp.resource.abstract.nodes.heat.nested
31       directives:
32       - substitutable
33       properties:
34         p1: test_net
35         service_template_filter:
36           substitute_service_template: nestedServiceTemplate.yaml
37         p2: test_net1
38       requirements:
39       - link_template_VMInt_OAM_lb_1:
40           capability: tosca.capabilities.network.Linkable
41           node: test_net
42           relationship: tosca.relationships.network.LinksTo
43       - link_template_VMInt_OAM_lb_2:
44           capability: tosca.capabilities.network.Linkable
45           node: test_net
46           relationship: tosca.relationships.network.LinksTo
47   groups:
48     main_group:
49       type: org.openecomp.groups.heat.HeatStack
50       properties:
51         heat_file: ../Artifacts/main.yml
52         description: |
53           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
54       members:
55       - test_net1
56       - test_net
57       - test_nested