Table 8.2. Properties of an Expression
Field | Default | Description |
---|---|---|
id
|
| |
attribute
|
| |
type
|
string
| |
operation
|
|
The comparison to perform (required). Allowed values:
|
value
|
| |
value-source
|
literal
|
How the
value is derived (since 1.1.17). Allowed values:
|
Table 8.3. Built-in node attributes
Name | Value |
---|---|
#uname
|
Node name
|
#id
|
Node ID
|
#kind
|
Node type. Possible values are
cluster , remote , and container . Kind is remote for Pacemaker Remote nodes created with the ocf:pacemaker:remote resource, and container for Pacemaker Remote guest nodes and bundle nodes (since 1.1.13)
|
#is_dc
|
"true" if this node is a Designated Controller (DC), "false" otherwise
|
#cluster-name
|
The value of the
cluster-name cluster property, if set
|
#site-name
|
The value of the
site-name cluster property, if set, otherwise identical to #cluster-name
|
#role
|
The role the relevant multistate resource has on this node. Valid only within a rule for a location constraint for a multistate resource.
|