Unverified Commit e9e71887 authored by skoulouzis's avatar skoulouzis Committed by GitHub

Update interface_types.yml

parent 6422bf45
...@@ -2,17 +2,37 @@ tosca_definitions_version: tosca_simple_yaml_1_0 ...@@ -2,17 +2,37 @@ tosca_definitions_version: tosca_simple_yaml_1_0
interface_types: interface_types:
tosca.interfaces.ARTICONF.CloudsStorm: tosca.interfaces.ARTICONF.CloudsStorm:
description: Interface for VM topology management with CloudsStorm description: Interface for VM topology management with CloudsStorm. More at https://cloudsstorm.github.io/
derived_from: tosca.interfaces.node.lifecycle.Standard derived_from: tosca.interfaces.node.lifecycle.Standard
inputs: inputs:
object_type: object_type:
type: string type: string
required: true
description: This field indicates the object type of this operation. According to the specific operation, the object can be, 'SubTopology', some entire sub-topologies; VM, some individual VMs; REQ some requests, only used when vscale, hscale or recover. description: This field indicates the object type of this operation. According to the specific operation, the object can be, 'SubTopology', some entire sub-topologies; VM, some individual VMs; REQ some requests, only used when vscale, hscale or recover.
constraints: constraints:
- valid_values: ['SubTopology' , 'VM' ,'REQ' ] - valid_values: ['SubTopology' , 'VM' ,'REQ' ]
objects: objects:
type: list type: list
required: true
description: It indicates a set of objects, which this operation impacts. If the ObjectType is SubTopology, the name of the object is the sub-topology name; If the ObjectType is VM, the name of the object is the VM full name, containing sub-topology and VM node name, such as, $SubTopology.$Node; If the ObjectType is REQ, the name of the object is previously generated request name. description: It indicates a set of objects, which this operation impacts. If the ObjectType is SubTopology, the name of the object is the sub-topology name; If the ObjectType is VM, the name of the object is the VM full name, containing sub-topology and VM node name, such as, $SubTopology.$Node; If the ObjectType is REQ, the name of the object is previously generated request name.
command:
type: string
required: false
description: The detailed command, when the operation is execut
options:
type: map
required: false
description: Some options defined for this operation. They are key-value pairs. It depends on the specific operation.
execute:
description: Execute some command on the objects. The detailed command is specified in the filed Command below. ObjectType currently can only be VM
put:
description: Upload some input data or files to the remote resources. ObjectType currently can only be VM.
get:
description: Download or retrieve output results or files from the remote resources. ObjectType currently can only be VM.
vscale: vscale:
description: Execute some command on the objects. The detailed command is specified in the filed Command below. ObjectType currently can only be VM. description: Vertically scale up or down to adapt the computing capability of the infrastructure through directly changing the capacity of some VM. ObjectType can only be VM and REQ.
hscale:
description: Horizontally scale out or in to adapt the computing capability of the infrastructure through changing the number of VMs. ObjectType can be SubTopology, VM or REQ.
recover:
description: Recover some failed sub-topologies. ObjectType can be SubTopology or REQ.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment