push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / nestedvolumelocal / expectedoutputfiles / nested-pcm_v0.1ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: nested-pcm_v0.1
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 node_types:
34   org.openecomp.resource.vfc.nodes.heat.nova:
35     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
36 topology_template:
37   inputs:
38     nova_image_name:
39       label: nova_001 image name
40       hidden: false
41       immutable: false
42       type: string
43       description: PCRF CM server name
44     pcm_server_name:
45       label: PCRF CM server name
46       hidden: false
47       immutable: false
48       type: string
49       description: PCRF CM server name
50     nove_001_vol_property:
51       label: PCRF CM server name
52       hidden: false
53       immutable: false
54       type: string
55       description: PCRF CM server name
56   node_templates:
57     nova_001:
58       type: org.openecomp.resource.vfc.nodes.heat.nova
59       properties:
60         image:
61           get_input: nova_image_name
62   groups:
63     nested-pcm_v0.1:
64       type: org.openecomp.groups.heat.HeatStack
65       properties:
66         heat_file: ../Artifacts/nested-pcm_v0.1.yaml
67         description: heat template that creates PCRF Cluman stack
68       members:
69       - nova_001
70   substitution_mappings:
71     node_type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
72     capabilities:
73       scalable_nova_001:
74       - nova_001
75       - scalable
76       host_nova_001:
77       - nova_001
78       - host
79       endpoint_nova_001:
80       - nova_001
81       - endpoint
82       os_nova_001:
83       - nova_001
84       - os
85       binding_nova_001:
86       - nova_001
87       - binding
88     requirements:
89       local_storage_nova_001:
90       - nova_001
91       - local_storage