placement

placement check-placement-compliance

Usage

usage: -c placement check-placement-compliance [-h]
                                            [-f {adaptive_table,json,shell,table,value,yaml}]
                                            [-c COLUMN]
                                            [-m [NAME=VALUE [NAME=VALUE ...]]]
                                            [--max-width <integer>]
                                            [--noindent] [--prefix PREFIX]

Description

Check placement compliance of all VMs to current placement rules.

Return

Returns dict: Number of VMs and list of non-compliant VMs per node

Optional

 optional arguments:
-h, --help            show this help message and exit

placement check-rule-compliance

Usage

usage: -c placement check-rule-compliance [-h]
                                       [-f {adaptive_table,json,shell,table,value,yaml}]
                                       [-c COLUMN]
                                       [-m [NAME=VALUE [NAME=VALUE ...]]]
                                       [--max-width <integer>] [--noindent]
                                       [--prefix PREFIX]
                                       rule_id

Description

Check placement compliance of all VMs to a placemnt rule.

Return

Returns dict: Number of VMs and list of non-compliant VMs per node

Optional

 optional arguments:
-h, --help            show this help message and exit

placement configuration reset

Usage

usage: -c placement configuration reset [-h]
                                     [-f {adaptive_table,csv,json,table,value,yaml}]
                                     [-c COLUMN]
                                     [-m [NAME=VALUE [NAME=VALUE ...]]]
                                     [--max-width <integer>] [--noindent]
                                     [--quote {all,minimal,none,nonnumeric}]

Description

Reset placement configuration parameters to their original value.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit

placement configure

Usage

usage: -c placement configure [-h]
                           [-f {adaptive_table,csv,json,table,value,yaml}]
                           [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                           [--max-width <integer>] [--noindent]
                           [--quote {all,minimal,none,nonnumeric}]
                           [--args ARGS] [--name NAME] [--value VALUE]

Description

Change placement configuration parameters.

Return

None

Optional

 optional arguments:
-h, --help            show this help message and exit
--args ARGS           Key-value dict from configuration parameter name to the new value in JSON format (e.g., '{"key": "value"}')
--name NAME           Name of configuration value to change (must be accompanied by value)
--value VALUE         Value of configuration value to change in JSON format (must be accompanied by name)

placement estimate-oversubscription-factors

Usage

usage: -c placement estimate-oversubscription-factors [-h]
                                                   [-f {adaptive_table,json,shell,table,value,yaml}]
                                                   [-c COLUMN]
                                                   [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                   [--max-width <integer>]
                                                   [--noindent]
                                                   [--prefix PREFIX]
                                                   [--show-nodes]
                                                   node

Description

Compute current oversubscription factors. If a node is given, compute approximate oversubscription factors without the given node (i.e., after the VMs on that node have been migrated to other nodes).

Return

Returns dict: Estimated oversubscription values

Optional

 optional arguments:
-h, --help            show this help message and exit
--show-nodes          Show status of each node

placement evac-vm

Usage

usage: -c placement evac-vm [-h]
                         [-f {adaptive_table,json,shell,table,value,yaml}]
                         [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                         [--max-width <integer>] [--noindent]
                         [--prefix PREFIX]
                         vm_uuid

Description

Evacuate VM out of its current node.

Return

Returns dict: Current VM status

Optional

 optional arguments:
-h, --help            show this help message and exit

placement force-placement-compliance

Usage

usage: -c placement force-placement-compliance [-h]
                                            [-f {adaptive_table,json,shell,table,value,yaml}]
                                            [-c COLUMN]
                                            [-m [NAME=VALUE [NAME=VALUE ...]]]
                                            [--max-width <integer>]
                                            [--noindent] [--prefix PREFIX]
                                            [--kill-vms]

Description

Initiate migrate of VMs which are not compliant with current placement rules.

Return

Returns dict: Number of VMs and list of non-compliant VMs per node

Optional

 optional arguments:
-h, --help            show this help message and exit
--kill-vms            If false, VMs will not be killed even if the do not comply to a hard rule

placement force-rule-compliance

Usage

usage: -c placement force-rule-compliance [-h]
                                       [-f {adaptive_table,json,shell,table,value,yaml}]
                                       [-c COLUMN]
                                       [-m [NAME=VALUE [NAME=VALUE ...]]]
                                       [--max-width <integer>] [--noindent]
                                       [--prefix PREFIX] [--kill-vms]
                                       rule_id

Description

Initiate migrate of VMs which are not compliant with a placement rules.

Return

Returns dict: Number of VMs and list of non-compliant VMs per node

Optional

 optional arguments:
-h, --help            show this help message and exit
--kill-vms            If false, VMs will not be killed even if the do not comply to a hard rule

placement simulate

Usage

usage: -c placement simulate [-h]
                          [-f {adaptive_table,json,shell,table,value,yaml}]
                          [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                          [--max-width <integer>] [--noindent]
                          [--prefix PREFIX]
                          vm_id

Description

Report status of the cluster.

Return

Returns dict: Placement result per node

Optional

 optional arguments:
-h, --help            show this help message and exit

placement status

Usage

usage: -c placement status [-h]
                        [-f {adaptive_table,json,shell,table,value,yaml}]
                        [-c COLUMN] [-m [NAME=VALUE [NAME=VALUE ...]]]
                        [--max-width <integer>] [--noindent]
                        [--prefix PREFIX]

Description

Report status of the cluster.

Return

Returns dict: Status of the cluster

Optional

 optional arguments:
-h, --help            show this help message and exit