push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / novatovolumeconnection / sharednestednotconnected / 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       p1:
41         type: string
42         description: UID of OAM network
43       cmaui_image:
44         type: string
45         description: Image for CMAUI server
46       cmaui_flavor:
47         type: string
48         description: Flavor for CMAUI server
49       cmaui_volume_param2:
50         type: string
51         description: nova server id
52       security_group_name:
53         type: list
54         description: CMAUI1, CMAUI2 server names
55         entry_schema:
56           type: string
57       availability_zone_0:
58         type: string
59         description: availabilityzone name
60       shared_vol1:
61         type: string
62         description: nova server id
63       cmaui_oam_ips:
64         type: string
65     requirements:
66     - link_cmaui_port_2:
67         capability: tosca.capabilities.network.Linkable
68         node: tosca.nodes.Root
69         relationship: tosca.relationships.network.LinksTo
70         occurrences:
71         - 1
72         - 1
73     - local_storage_server_cmaui2:
74         capability: tosca.capabilities.Attachment
75         node: tosca.nodes.BlockStorage
76         relationship: tosca.relationships.AttachesTo
77         occurrences:
78         - 0
79         - UNBOUNDED
80     - local_storage_server_cmaui1:
81         capability: tosca.capabilities.Attachment
82         node: tosca.nodes.BlockStorage
83         relationship: tosca.relationships.AttachesTo
84         occurrences:
85         - 0
86         - UNBOUNDED
87     - link_cmaui_port_1:
88         capability: tosca.capabilities.network.Linkable
89         node: tosca.nodes.Root
90         relationship: tosca.relationships.network.LinksTo
91         occurrences:
92         - 1
93         - 1
94     capabilities:
95       scalable_server_cmaui1:
96         type: tosca.capabilities.Scalable
97         occurrences:
98         - 1
99         - UNBOUNDED
100       endpoint_server_cmaui1:
101         type: tosca.capabilities.Endpoint.Admin
102         occurrences:
103         - 1
104         - UNBOUNDED
105       os_server_cmaui1:
106         type: tosca.capabilities.OperatingSystem
107         occurrences:
108         - 1
109         - UNBOUNDED
110       scalable_server_cmaui2:
111         type: tosca.capabilities.Scalable
112         occurrences:
113         - 1
114         - UNBOUNDED
115       endpoint_server_cmaui2:
116         type: tosca.capabilities.Endpoint.Admin
117         occurrences:
118         - 1
119         - UNBOUNDED
120       attachment_cmaui_port_2:
121         type: tosca.capabilities.Attachment
122         occurrences:
123         - 1
124         - UNBOUNDED
125       host_server_cmaui1:
126         type: tosca.capabilities.Container
127         valid_source_types:
128         - tosca.nodes.SoftwareComponent
129         occurrences:
130         - 1
131         - UNBOUNDED
132       os_server_cmaui2:
133         type: tosca.capabilities.OperatingSystem
134         occurrences:
135         - 1
136         - UNBOUNDED
137       binding_server_cmaui2:
138         type: tosca.capabilities.network.Bindable
139         occurrences:
140         - 1
141         - UNBOUNDED
142       host_server_cmaui2:
143         type: tosca.capabilities.Container
144         valid_source_types:
145         - tosca.nodes.SoftwareComponent
146         occurrences:
147         - 1
148         - UNBOUNDED
149       binding_server_cmaui1:
150         type: tosca.capabilities.network.Bindable
151         occurrences:
152         - 1
153         - UNBOUNDED
154       attachment_cmaui_port_1:
155         type: tosca.capabilities.Attachment
156         occurrences:
157         - 1
158         - UNBOUNDED