push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / nestedvolumeseperatefile / 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   GlobalSubstitutionTypes:
16     file: GlobalSubstitutionTypesServiceTemplate.yaml
17   NeutronPortGlobalTypes:
18     file: NeutronPortGlobalTypesServiceTemplate.yaml
19   NeutronNetGlobalTypes:
20     file: NeutronNetGlobalTypesServiceTemplate.yaml
21   CommonGlobalTypes:
22     file: CommonGlobalTypesServiceTemplate.yaml
23   ContrailAbstractSubstituteGlobalTypes:
24     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
25   ContrailNetworkRuleGlobalType:
26     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
27   NeutronSecurityRulesGlobalTypes:
28     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
29   NovaServerGlobalTypes:
30     file: NovaServerGlobalTypesServiceTemplate.yaml
31   ContrailV2VirtualMachineInterfaceGlobalType:
32     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
33 topology_template:
34   inputs:
35     not_null:
36       hidden: false
37       immutable: false
38       type: string
39     nove_001_vol:
40       label: volume
41       hidden: false
42       immutable: false
43       type: string
44       description: volume name
45   node_templates:
46     server_pcm_001:
47       type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
48       directives:
49       - substitutable
50       properties:
51         service_template_filter:
52           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
53         nove_001_vol_property:
54           get_input: nove_001_vol
55     nove_001_vol:
56       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
57       properties: {
58         }
59   groups:
60     volume:
61       type: org.openecomp.groups.heat.HeatStack
62       properties:
63         heat_file: ../Artifacts/volume.yaml
64       members:
65       - nove_001_vol
66     hot-nimbus-pcm_v0.4:
67       type: org.openecomp.groups.heat.HeatStack
68       properties:
69         heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
70         description: heat template that creates PCRF Cluman stack
71       members:
72       - server_pcm_001