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