node-script-result

delete

Delete script results from the given system_id with the given id. “id” can either by the script set id, current-commissioning, current-testing, or current-installation.

maas $PROFILE node-script-result delete [--help] [-d] [-k] system_id id

Positional arguments

Argument

Effect

system_id

The system ID of the machine/device (e.g., abc123)

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

download

Download a compressed tar containing all results from the given system_id with the given id. “id” can either by the script set id, current-commissioning, current-testing, or current-installation.

maas $PROFILE node-script-result download [--help] [-d] [-k] system_id id [data ...]

Positional arguments

Argument

Effect

system_id

The system ID of the machine/device (e.g., abc123)

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword “hardware_type”

Optional String. Only return scripts for the given hardware type. Can be node, cpu, memory, or storage. Defaults to all.

Keyword “filters”

Optional String. A comma separated list to show only results that ran with a script name or tag.

Keyword “output”

Optional String. Can be either combined, stdout, stderr, or all. By default only the combined output is returned.

Keyword “filetype”

Optional String. Filetype to output, can be txt or tar.xz.

Note: This command accepts JSON.

read

View a set of test results for a given system_id and script id. “id” can either by the script set id, current-commissioning, current-testing, or current-installation.

maas $PROFILE node-script-result read [--help] [-d] [-k] system_id id [data ...]

Positional arguments

Argument

Effect

system_id

The system ID of the machine/device (e.g., abc123)

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword “hardware_type”

Optional String. Only return scripts for the given hardware type. Can be node, cpu, memory, or storage. Defaults to all.

Keyword “include_output”

Optional String. Include the base64 encoded output from the script if any value for include_output is given.

Keyword “filters”

Optional String. A comma separated list to show only results that ran with a script name, tag, or id.

Note: This command accepts JSON.

update

Update a set of test results for a given system_id and script id. “id” can either be the script set id, current-commissioning, current-testing, or current-installation.

maas $PROFILE node-script-result update [--help] [-d] [-k] system_id id [data ...]

Positional arguments

Argument

Effect

system_id

The system ID of the machine/device (e.g., abc123)

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword “hardware_type”

Optional String. Only return scripts for the given hardware type. Can be node, cpu, memory, or storage. Defaults to all.

Keyword “filters”

Optional String. A comma separated list to show only results that ran with a script name, tag, or id.

Keyword “include_output”

Optional String. Include the base64 encoded output from the script if any value for include_output is given.

Keyword “suppressed”

Optional Boolean. Set whether or not this script result should be suppressed using ‘true’ or ‘false’.

Note: This command accepts JSON.

node-script-results read

Return a list of script results grouped by run for the given system_id.

maas $PROFILE node-script-results read [--help] [-d] [-k] system_id [data ...]

Positional arguments

Argument

Effect

system_id

The system ID of the machine/device (e.g., abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword “type”

Optional String. Only return scripts with the given type. This can be commissioning, testing, installion or release. Defaults to showing all.

Keyword “hardware_type”

Optional String. Only return scripts for the given hardware type. Can be node, cpu, memory, or storage. Defaults to all.

Keyword “include_output”

Optional String. Include base64 encoded output from the script. Note that any value of include_output will include the encoded output from the script.

Keyword “filters”

Optional String. A comma separated list to show only results with a script name or tag.

Note: This command accepts JSON.