push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / nestedvolumelocal / 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   node_templates:
40     server_pcm_001:
41       type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
42       directives:
43       - substitutable
44       properties:
45         service_template_filter:
46           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
47         nove_001_vol_property: nove_001_vol
48       requirements:
49       - local_storage_nova_001:
50           capability: tosca.capabilities.Attachment
51           node: nove_001_vol
52           relationship: tosca.relationships.AttachesTo
53     nove_001_vol:
54       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
55       properties: {
56         }
57   groups:
58     hot-nimbus-pcm_v0.4:
59       type: org.openecomp.groups.heat.HeatStack
60       properties:
61         heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
62         description: heat template that creates PCRF Cluman stack
63       members:
64       - server_pcm_001
65       - nove_001_vol