Enforce mandatory address action parametre

Change-Id: I741c77dd9954608c397fdfe18d55c9f3d70f4dfe
Closes-Bug: #1952615
This commit is contained in:
Liam Young
2021-12-16 13:23:32 +00:00
parent 1567c04038
commit 7dd34067e0

View File

@@ -38,6 +38,8 @@ rejoin-instance:
address:
type: string
description: Address of the instance to rejoin to the cluster
required:
- address
description: |
Rejoin an instance to the cluster. *Note* This action must be run on an
instance that is a functioning member of the cluster. For example, after a
@@ -51,6 +53,8 @@ remove-instance:
type: boolean
default: False
description: Remove the instance even if it is unreachable.
required:
- address
description: |
Remove an instance from the cluster. *Note* This action must be run on an
instance that is a functioning member of the cluster preferrably the the
@@ -60,6 +64,8 @@ add-instance:
address:
type: string
description: Address of the instance to add to the cluster
required:
- address
description: |
Configure and add an instnace to the cluster. *Note* This action must be
run on an instance that is a functioning member of the cluster.