Files
fenix/doc/source/api-ref/v1/parameters.yaml
Gergely Csatari b3b534de79 Building api documentation with os-api-ref under the doc folder
This change adds the usage of os-api-ref to the building of the
API documentation, but under the doc folder, so it is possible
to publish the result to readthedocs.org.

This change replaces [1] until the documentation is published
to readthedocs.org. Once Fenix becomes an official OpenStack
project [1] can be implemented.
For the moment I will abandon [1].

[1]: https://review.openstack.org/#/c/616868/

Story: 2004292
Task: #27862

Change-Id: I3144f812d0afd41d500ec7cd8fd4ba1d9c202366
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
2018-11-21 09:55:53 +01:00

149 lines
3.3 KiB
YAML

#############################################################################
# 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