[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 / porttonetconnection / 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_net:
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_nested:
24       type: org.openecomp.resource.abstract.nodes.heat.nested
25       directives:
26       - substitutable
27       properties:
28         p1: test_net
29         service_template_filter:
30           substitute_service_template: nestedServiceTemplate.yaml
31       requirements:
32       - link_cmaui_port_0:
33           capability: tosca.capabilities.network.Linkable
34           node: test_net
35           relationship: tosca.relationships.network.LinksTo
36   groups:
37     main_group:
38       type: org.openecomp.groups.heat.HeatStack
39       properties:
40         heat_file: ../Artifacts/main.yml
41         description: |
42           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
43       members:
44       - test_net
45       - test_nested