push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / sharedresources / expectedoutputfiles / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5   ContrailComputeGlobalTypes:
6     file: ContrailComputeGlobalTypesServiceTemplate.yaml
7   CinderVolumeGlobalTypes:
8     file: CinderVolumeGlobalTypesServiceTemplate.yaml
9   ContrailVirtualNetworkGlobalType:
10     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
11   AbstractSubstituteGlobalTypes:
12     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
13   ContrailPortGlobalTypes:
14     file: ContrailPortGlobalTypesServiceTemplate.yaml
15   NeutronPortGlobalTypes:
16     file: NeutronPortGlobalTypesServiceTemplate.yaml
17   NeutronNetGlobalTypes:
18     file: NeutronNetGlobalTypesServiceTemplate.yaml
19   CommonGlobalTypes:
20     file: CommonGlobalTypesServiceTemplate.yaml
21   ContrailAbstractSubstituteGlobalTypes:
22     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
23   ContrailNetworkRuleGlobalType:
24     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
25   NeutronSecurityRulesGlobalTypes:
26     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
27   NovaServerGlobalTypes:
28     file: NovaServerGlobalTypesServiceTemplate.yaml
29   ContrailV2VirtualMachineInterfaceGlobalType:
30     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
31 node_types:
32   org.openecomp.resource.vfc.nodes.heat.server_pcm_002:
33     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
34   org.openecomp.resource.vfc.nodes.heat.server_pcm_001:
35     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
36 topology_template:
37   inputs:
38     fsb1-flavor:
39       label: FSB1_flavor
40       hidden: false
41       immutable: false
42       type: string
43       description: FSB1_flavor
44     fsb_zone:
45       label: FSB1_zone
46       hidden: false
47       immutable: false
48       type: string
49       description: FSB1_zone
50     fsb1-name:
51       label: FSB1_name
52       hidden: false
53       immutable: false
54       type: string
55       description: FSB1_name
56     FSB_1_image:
57       label: MME_FSB1
58       hidden: false
59       immutable: false
60       type: string
61       description: MME_FSB1_15B-CP04-r5a01
62   node_templates:
63     server_pcm_002:
64       type: org.openecomp.resource.vfc.nodes.heat.server_pcm_002
65       properties:
66         flavor:
67           get_input: fsb1-flavor
68         availability_zone:
69           get_input: fsb_zone
70         name:
71           get_input: fsb1-name
72     server_pcm_001:
73       type: org.openecomp.resource.vfc.nodes.heat.server_pcm_001
74       properties:
75         flavor:
76           get_input: fsb1-flavor
77         availability_zone:
78           get_input: fsb_zone
79         name:
80           get_input: fsb1-name
81   groups:
82     sharedDefinitionOutParam:
83       type: org.openecomp.groups.heat.HeatStack
84       properties:
85         heat_file: ../Artifacts/sharedDefinitionOutParam.yaml
86         description: heat template that creates PCRF Cluman stack
87       members:
88       - server_pcm_002
89       - server_pcm_001
90   outputs:
91     out_id2:
92       value: static value
93     out_id1:
94       value:
95         get_input: oam_net_gw