[sdc] docker file fix for cassandra
[sdc.git] / openecomp-be / lib / openecomp-sdc-enrichment-lib / openecomp-sdc-enrichment-core / src / test / resources / extractServiceComposition / toscaGlobalServiceTemplates / CommonGlobalTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: CommonGlobalTypes
4   template_version: 1.0.0
5 description: TOSCA Global Types
6 imports:
7   NativeTypesServiceTemplate:
8     file: NativeTypesServiceTemplateServiceTemplate.yaml
9 data_types:
10   org.openecomp.datatypes.heat.network.AddressPair:
11     derived_from: tosca.datatypes.Root
12     description: MAC/IP address pairs
13     properties:
14       mac_address:
15         type: string
16         description: MAC address
17         required: false
18         status: SUPPORTED
19       ip_address:
20         type: string
21         description: IP address
22         required: false
23         status: SUPPORTED
24   org.openecomp.datatypes.heat.network.subnet.HostRoute:
25     derived_from: tosca.datatypes.Root
26     description: Host route info for the subnet
27     properties:
28       destination:
29         type: string
30         description: The destination for static route
31         required: false
32         status: SUPPORTED
33       nexthop:
34         type: string
35         description: The next hop for the destination
36         required: false
37         status: SUPPORTED
38   org.openecomp.datatypes.heat.network.neutron.Subnet:
39     derived_from: tosca.datatypes.Root
40     description: A subnet represents an IP address block that can be used for assigning IP addresses to virtual instances
41     properties:
42       tenant_id:
43         type: string
44         description: The ID of the tenant who owns the network
45         required: false
46         status: SUPPORTED
47       enable_dhcp:
48         type: boolean
49         description: Set to true if DHCP is enabled and false if DHCP is disabled
50         required: false
51         default: true
52         status: SUPPORTED
53       ipv6_address_mode:
54         type: string
55         description: IPv6 address mode
56         required: false
57         status: SUPPORTED
58         constraints:
59         - valid_values:
60           - dhcpv6-stateful
61           - dhcpv6-stateless
62           - slaac
63       ipv6_ra_mode:
64         type: string
65         description: IPv6 RA (Router Advertisement) mode
66         required: false
67         status: SUPPORTED
68         constraints:
69         - valid_values:
70           - dhcpv6-stateful
71           - dhcpv6-stateless
72           - slaac
73       value_specs:
74         type: map
75         description: Extra parameters to include in the request
76         required: false
77         default: {
78           }
79         status: SUPPORTED
80         entry_schema:
81           type: string
82       allocation_pools:
83         type: list
84         description: The start and end addresses for the allocation pools
85         required: false
86         status: SUPPORTED
87         entry_schema:
88           type: org.openecomp.datatypes.heat.network.AllocationPool
89       subnetpool:
90         type: string
91         description: The name or ID of the subnet pool
92         required: false
93         status: SUPPORTED
94       dns_nameservers:
95         type: list
96         description: A specified set of DNS name servers to be used
97         required: false
98         default: [
99           ]
100         status: SUPPORTED
101         entry_schema:
102           type: string
103       host_routes:
104         type: list
105         description: The gateway IP address
106         required: false
107         status: SUPPORTED
108         entry_schema:
109           type: org.openecomp.datatypes.heat.network.subnet.HostRoute
110       ip_version:
111         type: integer
112         description: The gateway IP address
113         required: false
114         default: 4
115         status: SUPPORTED
116         constraints:
117         - valid_values:
118           - '4'
119           - '6'
120       name:
121         type: string
122         description: The name of the subnet
123         required: false
124         status: SUPPORTED
125       prefixlen:
126         type: integer
127         description: Prefix length for subnet allocation from subnet pool
128         required: false
129         status: SUPPORTED
130         constraints:
131         - greater_or_equal: 0
132       cidr:
133         type: string
134         description: The CIDR
135         required: false
136         status: SUPPORTED
137       gateway_ip:
138         type: string
139         description: The gateway IP address
140         required: false
141         status: SUPPORTED
142   org.openecomp.datatypes.heat.network.AllocationPool:
143     derived_from: tosca.datatypes.Root
144     description: The start and end addresses for the allocation pool
145     properties:
146       start:
147         type: string
148         description: Start address for the allocation pool
149         required: false
150         status: SUPPORTED
151       end:
152         type: string
153         description: End address for the allocation pool
154         required: false
155         status: SUPPORTED
156 relationship_types:
157   org.openecomp.relationships.AttachesTo:
158     derived_from: tosca.relationships.Root
159     description: This type represents an attachment relationship
160 group_types:
161   org.openecomp.groups.heat.HeatStack:
162     derived_from: tosca.groups.Root
163     description: Grouped all heat resources which are in the same heat stack
164     properties:
165       heat_file:
166         type: string
167         description: Heat file which associate to this group/heat stack
168         required: true
169         status: SUPPORTED
170       description:
171         type: string
172         description: Heat file description
173         required: false
174         status: SUPPORTED
175 policy_types:
176   org.openecomp.policies.placement.Colocate:
177     derived_from: tosca.policy.placement
178     description: Keep associated nodes (groups of nodes) based upon affinity value
179     properties:
180       name:
181         type: string
182         description: The name of the policy
183         required: false
184         status: SUPPORTED
185       affinity:
186         type: string
187         description: affinity
188         required: true
189         status: SUPPORTED
190         constraints:
191         - valid_values:
192           - host
193           - region
194           - compute
195   org.openecomp.policies.placement.Antilocate:
196     derived_from: tosca.policy.placement
197     description: My placement policy for separation based upon container type value
198     properties:
199       name:
200         type: string
201         description: The name of the policy
202         required: false
203         status: SUPPORTED
204       container_type:
205         type: string
206         description: container type
207         required: false
208         status: SUPPORTED
209         constraints:
210         - valid_values:
211           - host
212           - region
213           - compute