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