push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / reusenestedfrommultibase / expectedoutputfiles / GlobalSubstitutionTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: GlobalSubstitutionTypes
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.abstract.nodes.heat.nested-pcm_v0.1:
33     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
34     properties:
35       availabilityzone_name:
36         type: string
37         description: availabilityzone name
38       oam_net_gw:
39         type: string
40         description: CPS network gateway
41       pcm_image_name:
42         type: string
43         description: PCRF CM image name
44       security_group_name:
45         type: string
46         description: the name of security group
47       cps_net_ip:
48         type: string
49         description: CPS network ip
50       pcm_flavor_name:
51         type: string
52         description: flavor name of PCRF CM instance
53       pcm_vol:
54         type: string
55         description: CPS Cluman Cinder Volume
56       pcm_server_name:
57         type: string
58         description: PCRF CM server name
59       cps_net_name:
60         type: string
61         description: CPS network name
62       cps_net_mask:
63         type: string
64         description: CPS network mask
65       oam_net_ip:
66         type: string
67         description: OAM network ip
68       oam_net_mask:
69         type: string
70         description: CPS network mask
71       oam_net_name:
72         type: string
73         description: OAM network name
74     attributes:
75       server_pcm_id:
76         type: string
77         description: the pcm nova service id
78     requirements:
79     - link_pcm_port_1:
80         capability: tosca.capabilities.network.Linkable
81         node: tosca.nodes.Root
82         relationship: tosca.relationships.network.LinksTo
83         occurrences:
84         - 1
85         - 1
86     - local_storage_server_pcm:
87         capability: tosca.capabilities.Attachment
88         node: tosca.nodes.BlockStorage
89         relationship: tosca.relationships.AttachesTo
90         occurrences:
91         - 0
92         - UNBOUNDED
93     - link_pcm_port_0:
94         capability: tosca.capabilities.network.Linkable
95         node: tosca.nodes.Root
96         relationship: tosca.relationships.network.LinksTo
97         occurrences:
98         - 1
99         - 1
100     capabilities:
101       endpoint_server_pcm:
102         type: tosca.capabilities.Endpoint.Admin
103         occurrences:
104         - 1
105         - UNBOUNDED
106       os_server_pcm:
107         type: tosca.capabilities.OperatingSystem
108         occurrences:
109         - 1
110         - UNBOUNDED
111       host_server_pcm:
112         type: tosca.capabilities.Container
113         valid_source_types:
114         - tosca.nodes.SoftwareComponent
115         occurrences:
116         - 1
117         - UNBOUNDED
118       scalable_server_pcm:
119         type: tosca.capabilities.Scalable
120         occurrences:
121         - 1
122         - UNBOUNDED
123       binding_server_pcm:
124         type: tosca.capabilities.network.Bindable
125         occurrences:
126         - 1
127         - UNBOUNDED
128       attachment_pcm_port_0:
129         type: tosca.capabilities.Attachment
130         occurrences:
131         - 1
132         - UNBOUNDED
133       attachment_pcm_port_1:
134         type: tosca.capabilities.Attachment
135         occurrences:
136         - 1
137         - UNBOUNDED