om node delete

Delete node configuration sections pointed by –kw options.

–color=<string>

Colorize output. Possible values are:

  • auto: guess based on tty presence

  • always|yes: always colorize

  • never|no: never colorize

–debug

Increase stream log verbosity up to the debug level.

–filter=<string>

A JSONPath expression to filter a JSON output.

–format=<string>

Specify a data formatter. Possible values are json, flat_json, csv or table. csv and table formatters are available only for commands returning tabular data.

–kw

An expression like [<section>.]<keyword>[@<scope>][[<index>]]<op><value> where

  • <section> can be:

    • a resource id

    • a resource driver group name (fs, ip, …). In this case, the set applies to all matching resources.

  • <op> can be:

    • -= remove value from the current list

    • += append value to the current list

    • |= append value to the current list if not already included

Multiple –kw can be set to apply multiple configuration change in a file with a single write.

Examples:

  • app.start=false Turn off app start for all app resources

  • app#1.start=true Turn on app start for app#1

  • nodes+=node3 Append node3 to nodes

  • nodes[0]+=node3 Preprend node3 to nodes

–local

Set to disable cluster-wide operations.

–node=<string>

A node selector expression. Embedded in requests for the daemon to route and multiplex the request to a list of nodes. If not specified the local node is targeted.

–server=<string>

The server uri to send a request to. If not specified the local node is targeted. Supported schemes are https and raw. The default scheme is https. The default port is 1214 for the raw scheme, and 1215 for https. The uri can be a fullpath to a listener socket. In this case, the scheme is deduced from the socket. Examples: raw://1.2.3.4:1214, https://relay.opensvc.com, /var/lib/opensvc/lsnr/h2.sock.

-h, –help

Show this help message and exit