scyld-attribctlΒΆ

NAME

scyld-attribctl -- Query and modify attribute groups for the cluster.

USAGE

scyld-attribctl

[-h] [-v] [-q] [[-c | --config] CONFIG] [--base-url URL] [[-u | --user] USER[:PASSWD]] [--human | --json | --csv | --table] [--pretty | --no-pretty] [--show-uids] [[-i | --ids] -i ATTRIBS | -a | --all] {list,ls, create,mk, clone,cp, update,up, replace,re, delete,rm, get,set,clear}

OPTIONAL ARGUMENTS

-h, --help

Print usage message and exit. Ignore trailing args, parse and ignore preceding args.

-v, --verbose

Increase verbosity.

-q, --quiet

Decrease verbosity.

-c, --config CONFIG

Specify a client configuration file CONFIG.

--show-uids

Do not try to make the output more human readable.

-a, -all

Interact with all attribute groups (default for list).

-i, --ids ATTRIBS

A comma-separated list of attribute groups to query or modify.

ARGUMENTS TO OVERRIDE BASIC CONFIGURATION DETAILS

--base-url URL

Specify the base URL of the ClusterWare REST API.

-u, --user USER[:PASSWD]

Masquerade as user USER with optional colon-separated password PASSWD.

FORMATTING ARGUMENTS

--human

Format the output for readability (default).

--json

Format the output as JSON.

--csv

Format the output as CSV.

--table

Format the output as a table.

--pretty

Indent JSON or XML output, and substitute human readable output for other formats.

--no-pretty

Opposite of --pretty.

ACTIONS ON SPECIFIED ATTRIBUTE GROUP(S)

list (ls)

List information about attribute group(s).

create (mk) name=NAME

Add an attribute group NAME.

clone (cp) name=NAME

Copy attribute group to new identifier NAME.

update (up)

Modify attribute group fields.

replace (re)

Replace all attribute group fields.

delete (rm)

Delete attribute groups.

get

Get attribute values.

set

Set attribute values.

clear

Clear attribute values.

EXAMPLES

scyld-attribctl create name=iScsi

Add a new attribute group.

scyld-attribctl -i iScsi set _boot_config=RebelBoot _boot_style=iscsi

Configure attributes to boot nodes using RebelBoot using iSCSI for root file system access.

RETURN VALUES

Upon successful completion, scyld-attribctl returns 0. On failure, an error message is printed to stderr and scyld-attribctl returns 1.