[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 / porttonetresourcegroupconnection / 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     mvs_modules:
18       type: org.openecomp.resource.abstract.nodes.heat.nested
19       directives:
20       - substitutable
21       properties:
22         p1: test_net
23         service_template_filter:
24           substitute_service_template: nestedServiceTemplate.yaml
25           count: 3
26           mandatory: true
27       requirements:
28       - link_cmaui_port_0:
29           capability: tosca.capabilities.network.Linkable
30           node: test_net
31           relationship: tosca.relationships.network.LinksTo
32     test_net:
33       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
34       properties:
35         shared: true
36         network_name:
37           get_input: jsa_net_name
38     test_nested:
39       type: org.openecomp.resource.abstract.nodes.heat.nested
40       directives:
41       - substitutable
42       properties:
43         p1: test_net
44         service_template_filter:
45           substitute_service_template: nestedServiceTemplate.yaml
46       requirements:
47       - link_cmaui_port_0:
48           capability: tosca.capabilities.network.Linkable
49           node: test_net
50           relationship: tosca.relationships.network.LinksTo
51   groups:
52     main_group:
53       type: org.openecomp.groups.heat.HeatStack
54       properties:
55         heat_file: ../Artifacts/main.yml
56         description: |
57           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
58       members:
59       - mvs_modules
60       - test_net
61       - test_nested