push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / novatovolumeconnection / innernestedconnection / 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:
33     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
34     properties:
35       cmaui_names:
36         type: list
37         description: CMAUI1, CMAUI2 server names
38         entry_schema:
39           type: string
40       cmaui_cinder_volume_size:
41         type: float
42         description: the size of the CMAUI Cinder volume
43       timezone:
44         type: string
45         description: timezone
46       security_group_name:
47         type: string
48         description: the name of security group
49       cmaui_volume:
50         type: string
51         description: Volume for CMAUI server
52       oam_network_netmask:
53         type: string
54         description: oam network gateway
55       cmaui_image:
56         type: string
57         description: Image for CMAUI server
58       vnf_id:
59         type: string
60         description: Unique ID for this VNF instance
61         default: This_is_ths_MMSC-CMAUI_id
62       cmaui_flavor:
63         type: string
64         description: Flavor for CMAUI server
65       oam_network_gateway:
66         type: string
67         description: oam network gateway
68       availability_zone_0:
69         type: string
70         description: availabilityzone name
71       cmaui_oam_ips:
72         type: list
73         description: CMAUI oam_net IP addresses
74         entry_schema:
75           type: string
76       inner_cmaui_volume_a1:
77         type: string
78         description: the name of the target volume backend
79       inner_cmaui_volume_b2:
80         type: string
81         description: the name of the target volume backend
82       external_dns:
83         type: string
84         description: dns server
85       oam_net_name:
86         type: string
87         description: UID of OAM network
88       external_ntp:
89         type: string
90         description: ntp server
91       CMAUI_volume_type:
92         type: string
93         description: the name of the target volume backend
94     requirements:
95     - link_cmaui_port_2:
96         capability: tosca.capabilities.network.Linkable
97         node: tosca.nodes.Root
98         relationship: tosca.relationships.network.LinksTo
99         occurrences:
100         - 1
101         - 1
102     - local_storage_server_cmaui2:
103         capability: tosca.capabilities.Attachment
104         node: tosca.nodes.BlockStorage
105         relationship: tosca.relationships.AttachesTo
106         occurrences:
107         - 0
108         - UNBOUNDED
109     - local_storage_server_cmaui1:
110         capability: tosca.capabilities.Attachment
111         node: tosca.nodes.BlockStorage
112         relationship: tosca.relationships.AttachesTo
113         occurrences:
114         - 0
115         - UNBOUNDED
116     - link_cmaui_port_0:
117         capability: tosca.capabilities.network.Linkable
118         node: tosca.nodes.Root
119         relationship: tosca.relationships.network.LinksTo
120         occurrences:
121         - 1
122         - 1
123     capabilities:
124       scalable_server_cmaui1:
125         type: tosca.capabilities.Scalable
126         occurrences:
127         - 1
128         - UNBOUNDED
129       endpoint_server_cmaui1:
130         type: tosca.capabilities.Endpoint.Admin
131         occurrences:
132         - 1
133         - UNBOUNDED
134       os_server_cmaui1:
135         type: tosca.capabilities.OperatingSystem
136         occurrences:
137         - 1
138         - UNBOUNDED
139       scalable_server_cmaui2:
140         type: tosca.capabilities.Scalable
141         occurrences:
142         - 1
143         - UNBOUNDED
144       endpoint_server_cmaui2:
145         type: tosca.capabilities.Endpoint.Admin
146         occurrences:
147         - 1
148         - UNBOUNDED
149       attachment_cmaui_port_2:
150         type: tosca.capabilities.Attachment
151         occurrences:
152         - 1
153         - UNBOUNDED
154       host_server_cmaui1:
155         type: tosca.capabilities.Container
156         valid_source_types:
157         - tosca.nodes.SoftwareComponent
158         occurrences:
159         - 1
160         - UNBOUNDED
161       os_server_cmaui2:
162         type: tosca.capabilities.OperatingSystem
163         occurrences:
164         - 1
165         - UNBOUNDED
166       binding_server_cmaui2:
167         type: tosca.capabilities.network.Bindable
168         occurrences:
169         - 1
170         - UNBOUNDED
171       attachment_cmaui_port_0:
172         type: tosca.capabilities.Attachment
173         occurrences:
174         - 1
175         - UNBOUNDED
176       host_server_cmaui2:
177         type: tosca.capabilities.Container
178         valid_source_types:
179         - tosca.nodes.SoftwareComponent
180         occurrences:
181         - 1
182         - UNBOUNDED
183       binding_server_cmaui1:
184         type: tosca.capabilities.network.Bindable
185         occurrences:
186         - 1
187         - UNBOUNDED