1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements. See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
18 tosca.capabilities.Root:
20 shorthand_name: Root # ARIA NOTE: omitted in the spec
21 type_qualified_name: tosca:Root
22 specification: tosca-simple-1.0
23 specification_section: 5.4.1
24 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ROOT'
26 This is the default (root) TOSCA Capability Type definition that all other TOSCA Capability Types derive from.
28 tosca.capabilities.Node:
31 type_qualified_name: tosca:Node
32 specification: tosca-simple-1.0
33 specification_section: 5.4.2
34 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_NODE'
37 The Node capability indicates the base capabilities of a TOSCA Node Type.
38 derived_from: tosca.capabilities.Root
40 tosca.capabilities.Container:
42 shorthand_name: Container
43 type_qualified_name: tosca:Container
44 specification: tosca-simple-1.0
45 specification_section: 5.4.3
46 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_CONTAINER'
49 The Container capability, when included on a Node Type or Template definition, indicates that the node can act as a container
50 for (or a host for) one or more other declared Node Types.
51 derived_from: tosca.capabilities.Root
55 Number of (actual or virtual) CPUs associated with the Compute node.
62 Specifies the operating frequency of CPU's core. This property expresses the expected frequency of one (1) CPU as
63 provided by the property "num_cpus".
64 type: scalar-unit.frequency
66 - greater_or_equal: 0.1 GHz
70 Size of the local disk available to applications running on the Compute node (default unit is MB).
71 type: scalar-unit.size
73 - greater_or_equal: 0 MB
77 Size of memory available to applications running on the Compute node (default unit is MB).
78 type: scalar-unit.size
80 - greater_or_equal: 0 MB
83 tosca.capabilities.Attachment:
85 shorthand_name: Attachment
86 type_qualified_name: tosca:Attachment
87 specification: tosca-simple-1.0
88 specification_section: 5.4.8
89 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ATTACHMENT'
91 This is the default TOSCA type that should be used or extended to define an attachment capability of a (logical)
92 infrastructure device node (e.g., BlockStorage node).
93 derived_from: tosca.capabilities.Root
95 tosca.capabilities.OperatingSystem:
97 shorthand_name: OperatingSystem
98 type_qualified_name: tosca:OperatingSystem
99 specification: tosca-simple-1.0
100 specification_section: 5.4.9
101 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_OPSYS'
103 This is the default TOSCA type that should be used to express an Operating System capability for a node.
104 derived_from: tosca.capabilities.Root
108 The Operating System (OS) architecture. Examples of valid values include: x86_32, x86_64, etc.
113 The Operating System (OS) type. Examples of valid values include: linux, aix, mac, windows, etc.
118 The Operating System (OS) distribution. Examples of valid values for a "type" of "Linux" would include: debian, fedora,
124 The Operating System version.
128 tosca.capabilities.Scalable:
130 shorthand_name: Scalable
131 type_qualified_name: tosca:Scalable
132 specification: tosca-simple-1.0
133 specification_section: 5.4.10
134 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_SCALABLE'
137 This is the default TOSCA type that should be used to express a scalability capability for a node.
138 derived_from: tosca.capabilities.Root
142 This property is used to indicate the minimum number of instances that should be created for the associated TOSCA Node
143 Template by a TOSCA orchestrator.
148 This property is used to indicate the maximum number of instances that should be created for the associated TOSCA Node
149 Template by a TOSCA orchestrator.
154 An optional property that indicates the requested default number of instances that should be the starting number of
155 instances a TOSCA orchestrator should attempt to allocate. Note: The value for this property MUST be in the range between
156 the values set for "min_instances" and "max_instances" properties.
164 tosca.capabilities.Endpoint:
166 shorthand_name: Endpoint
167 type_qualified_name: tosca:Endpoint
168 specification: tosca-simple-1.0
169 specification_section: 5.4.4
170 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ENDPOINT'
172 This is the default TOSCA type that should be used or extended to define a network endpoint capability. This includes the information to express a basic endpoint with a single port or a complex endpoint with multiple ports. By default the Endpoint is assumed to represent an address on a private network unless otherwise specified.
173 derived_from: tosca.capabilities.Root
177 The name of the protocol (i.e., the protocol prefix) that the endpoint accepts (any OSI Layer 4-7 protocols). Examples:
178 http, https, ftp, tcp, udp, etc.
184 The optional port of the endpoint.
185 type: tosca.datatypes.network.PortDef
189 Requests for the endpoint to be secure and use credentials supplied on the ConnectsTo relationship.
195 The optional URL path of the endpoint's address if applicable for the protocol.
200 The optional name (or ID) of the network port this endpoint should be bound to.
205 The optional name (or ID) of the network this endpoint should be bound to. network_name: PRIVATE | PUBLIC |
206 <network_name> | <network_id>.
212 The optional indicator of the direction of the connection.
215 - valid_values: [ source, target, peer ]
220 The optional map of ports the Endpoint supports (if more than one).
223 type: tosca.datatypes.network.PortSpec
230 Note: This is the IP address as propagated up by the associated node's host (Compute) container.
233 tosca.capabilities.Endpoint.Public:
235 shorthand_name: Endpoint.Public
236 type_qualified_name: tosca:Endpoint.Public
237 specification: tosca-simple-1.0
238 specification_section: 5.4.5
239 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ENDPOINT_PUBLIC'
241 This capability represents a public endpoint which is accessible to the general internet (and its public IP address ranges).
243 This public endpoint capability also can be used to create a floating (IP) address that the underlying network assigns from a
244 pool allocated from the application's underlying public network. This floating address is managed by the underlying network
245 such that can be routed an application's private address and remains reliable to internet clients.
246 derived_from: tosca.capabilities.Endpoint
255 Indicates that the public address should be allocated from a pool of floating IPs that are associated with the network.
261 The optional name to register with DNS.
266 tosca.capabilities.Endpoint.Admin:
268 shorthand_name: Endpoint.Admin
269 type_qualified_name: tosca:Endpoint.Admin
270 specification: tosca-simple-1.0
271 specification_section: 5.4.6
272 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ENDPOINT_ADMIN'
274 This is the default TOSCA type that should be used or extended to define a specialized administrator endpoint capability.
275 derived_from: tosca.capabilities.Endpoint
279 Requests for the endpoint to be secure and use credentials supplied on the ConnectsTo relationship.
285 tosca.capabilities.Endpoint.Database:
287 shorthand_name: Endpoint.Database
288 type_qualified_name: tosca:Endpoint.Database
289 specification: tosca-simple-1.0
290 specification_section: 5.4.7
291 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_ENDPOINT_DATABASE'
293 This is the default TOSCA type that should be used or extended to define a specialized database endpoint capability.
294 derived_from: tosca.capabilities.Endpoint
300 tosca.capabilities.network.Bindable:
302 shorthand_name: Bindable # ARIA NOTE: mistake in spec? has "network." as a prefix
303 type_qualified_name: tosca:Bindable
304 specification: tosca-simple-1.0
305 specification_section: 5.4.11
306 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_NETWORK_BINDABLE'
308 A node type that includes the Bindable capability indicates that it can be bound to a logical network association via a
310 derived_from: tosca.capabilities.Node
312 tosca.capabilities.network.Linkable:
314 shorthand_name: Linkable
315 type_qualified_name: tosca:Linkable
316 specification: tosca-simple-1.0
317 specification_section: 7.5.3
318 specification_url: 'http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#DEFN_TYPE_CAPABILITIES_NETWORK_LINKABLE'
320 A node type that includes the Linkable capability indicates that it can be pointed by tosca.relationships.network.LinksTo
322 derived_from: tosca.capabilities.Node