om node wait

Wait for the condition given by –filter <condition> to become true.

condition := [!]<jsonpath>[<op><val>] jsonpath : a jsonpath in the cluster data as reported by “om node daemon status –format flat_json” op := { = | > | >= | < | <= | ~ | in }

“~” is a fullmatch of the <val> regular expression unless “^” or “$” are specified. “in” supports comma-separated or json list format. “!” is the negation operator. If “<op><val>” is not specified, any value evaluated as True is considered a match (non-zero numerics, non-empty lists, non-emptry strings).

–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.

–duration=<string>

A duration expression like, 1h10m.

–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.

–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.

–verbose

Include more information to some print commands output. For example, add the next run column in the output of om node print schedule.

-h, –help

Show this help message and exit