OpenStack host maintenance and upgrade in interaction with application on top of it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

148 lines
3.3 KiB

#############################################################################
# Variables in header #
#############################################################################
#############################################################################
# Variables in path #
#############################################################################
session_id:
description: |
Session ID
in: path
required: false
type: string
min_version: \> 1
uuid-path:
description: |
uuid
in: path
required: true
type: string
#############################################################################
# Variables in query #
#############################################################################
#############################################################################
# Variables in body #
#############################################################################
action-metadata:
description: |
Metadata; hints to plug-ins
in: body
required: true
type: dictionary
min_version: \> 1
action-plugin-name:
description: |
plug-in name. Default workflow executes plug-ins in an alphabetical order
in: body
required: true
type: string
min_version: \> 1
action-plugin-type:
description: |
Type of the workflow. Possible values are:
* pre: executed before the host type actions
* post: executed after the host type actions
* host: executed for every host
in: body
required: true
type: integer
min_version: \> 1
action-plugins:
description: |
List of action plug-ins.
in: body
required: true
type: list of dictionaries
min_version: \> 1
hosts:
description: |
Hosts to be maintained. An empty list can indicate hosts are to be
discovered.
in: body
required: true
type: list of strings
instance-actions:
description: |
instance ID : action string
in: body
required: true
type: dictionary
instance-ids:
description: |
List of instance IDs.
in: body
required: true
type: list of strings
maintenance-workflow-start-time:
description: |
Maintenance workflow start time.
in: body
required: true
type: string
metadata:
description: |
Metadata; like hints to projects
in: body
required: true
type: dictionary
upgrade-list:
description: |
List of needed SW upgrades
in: body
required: false
type: list of dictionaries
min_version: \> 1
uuid:
description: |
uuid
in: body
required: true
type: string
uuid-list:
description: |
list of UUID strings
in: body
required: true
type: string
workflow-name:
description: |
Maintenance workflow to be used.
in: body
required: true
type: string
workflow-state:
description: |
Maintenance workflow state.
in: body
required: true
type: string
workflow-state-reply:
description: |
There can have different values depending on what is the maintenance
session state to reply to. In the below example, the maintenance state is
'PLANNED_MAINTENANCE' and the reply state is formed by adding 'ACK\_' or
'NACK\_' as the prefix to reply value.
in: body
required: true
type: string