push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / porttonetconnection / nested / 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       p2:
44         type: string
45       p3:
46         type: string
47       cmaui_image:
48         type: string
49         description: Image for CMAUI server
50       cmaui_flavor:
51         type: string
52         description: Flavor for CMAUI server
53       security_group_name:
54         type: list
55         description: CMAUI1, CMAUI2 server names
56         entry_schema:
57           type: string
58       availability_zone_0:
59         type: string
60         description: availabilityzone name
61       cmaui_oam_ips:
62         type: string
63     requirements:
64     - link_cmaui_port_2:
65         capability: tosca.capabilities.network.Linkable
66         node: tosca.nodes.Root
67         relationship: tosca.relationships.network.LinksTo
68         occurrences:
69         - 1
70         - 1
71     - local_storage_server_cmaui:
72         capability: tosca.capabilities.Attachment
73         node: tosca.nodes.BlockStorage
74         relationship: tosca.relationships.AttachesTo
75         occurrences:
76         - 0
77         - UNBOUNDED
78     - link_cmaui_port_1:
79         capability: tosca.capabilities.network.Linkable
80         node: tosca.nodes.Root
81         relationship: tosca.relationships.network.LinksTo
82         occurrences:
83         - 1
84         - 1
85     - link_cmaui_port_0:
86         capability: tosca.capabilities.network.Linkable
87         node: tosca.nodes.Root
88         relationship: tosca.relationships.network.LinksTo
89         occurrences:
90         - 1
91         - 1
92     capabilities:
93       host_server_cmaui:
94         type: tosca.capabilities.Container
95         valid_source_types:
96         - tosca.nodes.SoftwareComponent
97         occurrences:
98         - 1
99         - UNBOUNDED
100       os_server_cmaui:
101         type: tosca.capabilities.OperatingSystem
102         occurrences:
103         - 1
104         - UNBOUNDED
105       endpoint_server_cmaui:
106         type: tosca.capabilities.Endpoint.Admin
107         occurrences:
108         - 1
109         - UNBOUNDED
110       binding_server_cmaui:
111         type: tosca.capabilities.network.Bindable
112         occurrences:
113         - 1
114         - UNBOUNDED
115       attachment_cmaui_port_2:
116         type: tosca.capabilities.Attachment
117         occurrences:
118         - 1
119         - UNBOUNDED
120       scalable_server_cmaui:
121         type: tosca.capabilities.Scalable
122         occurrences:
123         - 1
124         - UNBOUNDED
125       attachment_cmaui_port_0:
126         type: tosca.capabilities.Attachment
127         occurrences:
128         - 1
129         - UNBOUNDED
130       attachment_cmaui_port_1:
131         type: tosca.capabilities.Attachment
132         occurrences:
133         - 1
134         - UNBOUNDED