1 tosca_definitions_version: tosca_simple_yaml_1_1_0
3 TOSCA simple profile common types. To be included by default in all templates.
10 description: The TOSCA root Data Type all other TOSCA base Data Types derive from
13 tosca.datatypes.Credential:
14 derived_from: tosca.datatypes.Root
33 tosca.datatypes.TimeInterval:
34 derived_from: tosca.datatypes.Root
44 tosca.datatypes.network.NetworkInfo:
45 derived_from: tosca.datatypes.Root
56 tosca.datatypes.network.PortInfo:
57 derived_from: tosca.datatypes.Root
72 tosca.datatypes.network.PortDef:
75 - in_range: [ 1, 65535 ]
78 tosca.datatypes.network.PortSpec:
79 derived_from: tosca.datatypes.Root
86 - valid_values: [ udp, tcp, igmp ]
88 #I think the intent was (same for source):
89 #type: tosca.datatypes.network.PortDef
91 entry_schema: tosca.datatypes.network.PortDef
95 - in_range: [ 1, 65535 ]
98 entry_schema: tosca.datatypes.network.PortDef
102 - in_range: [ 1, 65535 ]
107 tosca.capabilities.Root:
108 description: The TOSCA root Capability Type all other TOSCA base Capability Types derive from
111 tosca.capabilities.Node:
112 derived_from: tosca.capabilities.Root
115 tosca.capabilities.Compute:
116 derived_from: tosca.capabilities.Root
125 - greater_or_equal: 1
127 type: scalar-unit.frequency
130 - greater_or_equal: 0.1 GHz
132 type: scalar-unit.size
135 - greater_or_equal: 0 MB
137 type: scalar-unit.size
140 - greater_or_equal: 0 MB
143 tosca.capabilities.Network:
144 derived_from: tosca.capabilities.Root
151 tosca.capabilities.Storage:
152 derived_from: tosca.capabilities.Root
159 tosca.capabilities.compute.Container:
160 derived_from: tosca.capabilities.Compute
163 tosca.capabilities.Endpoint:
164 derived_from: tosca.capabilities.Root
170 type: tosca.datatypes.network.PortDef
189 - valid_values: [ source, target, peer ]
195 entry_schema: tosca.datatypes.network.PortSpec
201 tosca.capabilities.Endpoint.Public:
202 derived_from: tosca.capabilities.Endpoint
204 # Change the default network_name to use the first public network found
210 indicates that the public address should be allocated from a pool of floating IPs that are associated with the network.
215 description: The optional name to register with DNS
221 tosca.capabilities.Endpoint.Admin:
222 derived_from: tosca.capabilities.Endpoint
223 # Change Endpoint secure indicator to true from its default of false
232 tosca.capabilities.Endpoint.Database:
233 derived_from: tosca.capabilities.Endpoint
236 tosca.capabilities.Attachment:
237 derived_from: tosca.capabilities.Root
240 tosca.capabilities.OperatingSystem:
241 derived_from: tosca.capabilities.Root
257 tosca.capabilities.Scalable:
258 derived_from: tosca.capabilities.Root
270 tosca.capabilities.network.Bindable:
271 derived_from: tosca.capabilities.Node
277 tosca.relationships.Root:
278 description: The TOSCA root Relationship Type all other TOSCA base Relationship Types derive from
286 type: tosca.interfaces.relationship.Configure
289 tosca.relationships.DependsOn:
290 derived_from: tosca.relationships.Root
291 valid_target_types: [ tosca.capabilities.Node ]
294 tosca.relationships.HostedOn:
295 derived_from: tosca.relationships.Root
296 valid_target_types: [ tosca.capabilities.compute.Container ]
299 tosca.relationships.ConnectsTo:
300 derived_from: tosca.relationships.Root
301 valid_target_types: [ tosca.capabilities.Endpoint ]
304 type: tosca.datatypes.Credential
308 tosca.relationships.AttachesTo:
309 derived_from: tosca.relationships.Root
310 valid_target_types: [ tosca.capabilities.Attachment ]
321 tosca.relationships.RoutesTo:
322 derived_from: tosca.relationships.ConnectsTo
323 valid_target_types: [ tosca.capabilities.Endpoint ]
329 tosca.interfaces.Root:
330 # derived_from: tosca.entity.Root
331 description: The TOSCA root Interface Type all other TOSCA base Interface Types derive from
334 tosca.interfaces.node.lifecycle.Standard:
335 derived_from: tosca.interfaces.Root
337 description: Standard lifecycle create operation.
339 description: Standard lifecycle configure operation.
341 description: Standard lifecycle start operation.
343 description: Standard lifecycle stop operation.
345 description: Standard lifecycle delete operation.
348 tosca.interfaces.relationship.Configure:
349 derived_from: tosca.interfaces.Root
350 pre_configure_source:
351 description: Operation to pre-configure the source endpoint.
352 pre_configure_target:
353 description: Operation to pre-configure the target endpoint.
354 post_configure_source:
355 description: Operation to post-configure the source endpoint.
356 post_configure_target:
357 description: Operation to post-configure the target endpoint.
359 description: Operation to notify the source node of a target node being added via a relationship.
361 description: Operation to notify the target node of a source node which is now available via a relationship.
363 description: Operation to notify source some property or attribute of the target changed
365 description: Operation to remove a target node.
372 description: The TOSCA Node Type all other TOSCA base Node Types derive from
382 type: tosca.capabilities.Node
385 capability: tosca.capabilities.Node
386 node: tosca.nodes.Root
387 relationship: tosca.relationships.DependsOn
388 occurrences: [ 0, UNBOUNDED ]
391 type: tosca.interfaces.node.lifecycle.Standard
395 derived_from: tosca.nodes.Root
403 #entry schema for attribute has a string value as per A.5.9 ..
404 #the standard document defines it as a map similar to the property definition ..
405 entry_schema: tosca.datatypes.network.NetworkInfo
408 entry_schema: tosca.datatypes.network.PortInfo
411 capability: tosca.capabilities.Attachment
412 node: tosca.nodes.BlockStorage
413 relationship: tosca.relationships.AttachesTo
414 occurrences: [0, UNBOUNDED]
417 type: tosca.capabilities.compute.Container
418 valid_source_types: [tosca.nodes.SoftwareComponent]
420 type: tosca.capabilities.Endpoint.Admin
422 type: tosca.capabilities.OperatingSystem
424 type: tosca.capabilities.Scalable
426 type: tosca.capabilities.network.Bindable
429 tosca.nodes.SoftwareComponent:
430 derived_from: tosca.nodes.Root
432 # domain-specific software component version
437 type: tosca.datatypes.Credential
441 capability: tosca.capabilities.compute.Container
442 node: tosca.nodes.Compute
443 relationship: tosca.relationships.HostedOn
446 tosca.nodes.WebServer:
447 derived_from: tosca.nodes.SoftwareComponent
449 # Private, layer 4 endpoints
450 data_endpoint: tosca.capabilities.Endpoint
451 admin_endpoint: tosca.capabilities.Endpoint.Admin
453 type: tosca.capabilities.compute.Container
454 valid_source_types: [ tosca.nodes.WebApplication ]
457 tosca.nodes.WebApplication:
458 derived_from: tosca.nodes.Root
464 type: tosca.capabilities.Endpoint
467 capability: tosca.capabilities.compute.Container
468 node: tosca.nodes.WebServer
469 relationship: tosca.relationships.HostedOn
473 derived_from: tosca.nodes.SoftwareComponent
478 description: the optional root password for the DBMS service
482 description: the port the DBMS service will listen to for data and requests
485 type: tosca.capabilities.compute.Container
486 valid_source_types: [ tosca.nodes.Database ]
489 tosca.nodes.Database:
490 derived_from: tosca.nodes.Root
494 description: the logical name of the database
497 description: the port the underlying database service will listen to for data
500 description: the optional user account name for DB administration
504 description: the optional password for the DB user account
508 capability: tosca.capabilities.compute.Container
509 node: tosca.nodes.DBMS
510 relationship: tosca.relationships.HostedOn
513 type: tosca.capabilities.Endpoint.Database
516 tosca.nodes.ObjectStorage:
517 derived_from: tosca.nodes.Root
522 type: scalar-unit.size
524 - greater_or_equal: 0 GB
526 type: scalar-unit.size
528 - greater_or_equal: 0 GB
531 type: tosca.capabilities.Endpoint
534 tosca.nodes.BlockStorage:
535 derived_from: tosca.nodes.Root
538 type: scalar-unit.size
540 - greater_or_equal: 1 MB
549 type: tosca.capabilities.Attachment
552 tosca.nodes.Container.Runtime:
553 derived_from: tosca.nodes.SoftwareComponent
556 type: tosca.capabilities.compute.Container
558 type: tosca.capabilities.Scalable
561 tosca.nodes.Container.Application:
562 derived_from: tosca.nodes.Root
565 capability: tosca.capabilities.compute.Container
566 # node: tosca.nodes.Container !invalid node reference!
567 relationship: tosca.relationships.HostedOn
570 tosca.nodes.LoadBalancer:
571 derived_from: tosca.nodes.Root
580 type: tosca.capabilities.Endpoint.Public
581 occurrences: [0, UNBOUNDED]
582 description: the Floating (IP) clients on the public network can connect to
585 capability: tosca.capabilities.Endpoint
586 relationship: tosca.relationships.RoutesTo
587 occurrences: [0, UNBOUNDED]
588 # correction by jora: requirement defintion does not allow for a description entry
589 # description: Connection to one or more load balanced applications
594 tosca.artifacts.Root:
595 description: The TOSCA Artifact Type all other TOSCA Artifact Types derive from
598 tosca.artifacts.File:
599 derived_from: tosca.artifacts.Root
602 tosca.artifacts.Deployment:
603 derived_from: tosca.artifacts.Root
604 description: TOSCA base type for deployment artifacts
607 tosca.artifacts.Deployment.Image:
608 derived_from: tosca.artifacts.Deployment
611 tosca.artifacts.Deployment.Image.VM:
612 derived_from: tosca.artifacts.Deployment.Image
613 description: Virtual Machine (VM) Image
616 tosca.artifacts.Implementation:
617 derived_from: tosca.artifacts.Root
618 description: TOSCA base type for implementation artifacts
621 tosca.artifacts.Implementation.Bash:
622 derived_from: tosca.artifacts.Implementation
623 description: Script artifact for the Unix Bash shell
624 mime_type: application/x-sh
628 tosca.artifacts.Implementation.Python:
629 derived_from: tosca.artifacts.Implementation
630 description: Artifact for the interpreted Python language
631 mime_type: application/x-python
639 description: The TOSCA Group Type all other TOSCA Group Types derive from
642 type: tosca.interfaces.node.lifecycle.Standard
648 description: The TOSCA Policy Type all other TOSCA Policy Types derive from
650 tosca.policies.Placement:
651 derived_from: tosca.policies.Root
652 description: The TOSCA Policy Type definition that is used to govern placement of TOSCA nodes or groups of nodes.
654 tosca.policies.Scaling:
655 derived_from: tosca.policies.Root
656 description: The TOSCA Policy Type definition that is used to govern scaling of TOSCA nodes or groups of nodes.
658 tosca.policies.Update:
659 derived_from: tosca.policies.Root
660 description: The TOSCA Policy Type definition that is used to govern update of TOSCA nodes or groups of nodes.
662 tosca.policies.Performance:
663 derived_from: tosca.policies.Root
664 description: The TOSCA Policy Type definition that is used to declare performance requirements for TOSCA nodes or groups of nodes.