pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
attrs_internal.h File Reference
Include dependency graph for attrs_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define pcmk__set_node_attr_flags(node_attr_flags, flags_to_set)
 
#define pcmk__clear_node_attr_flags(node_attr_flags, flags_to_clear)
 

Enumerations

enum  pcmk__node_attr_opts {
  pcmk__node_attr_none = 0 , pcmk__node_attr_remote = (1 << 0) , pcmk__node_attr_private = (1 << 1) , pcmk__node_attr_pattern = (1 << 2) ,
  pcmk__node_attr_value = (1 << 3) , pcmk__node_attr_delay = (1 << 4) , pcmk__node_attr_perm = (1 << 5) , pcmk__node_attr_sync_local = (1 << 6) ,
  pcmk__node_attr_sync_cluster = (1 << 7) , pcmk__node_attr_utilization = (1 << 8) , pcmk__node_attr_query_all = (1 << 9)
}
 

Functions

const char * pcmk__node_attr_target (const char *name)
 
const char * pcmk__node_attr (const pcmk_node_t *node, const char *name, const char *target, enum pcmk__rsc_node node_type)
 

Macro Definition Documentation

◆ pcmk__clear_node_attr_flags

#define pcmk__clear_node_attr_flags ( node_attr_flags,
flags_to_clear )
Value:
do { \
node_attr_flags = pcmk__clear_flags_as(__func__, __LINE__, \
LOG_TRACE, "Node attribute", crm_system_name, \
(node_attr_flags), (flags_to_clear), #flags_to_clear); \
} while (0)
char * crm_system_name
Definition utils.c:45
#define LOG_TRACE
Definition logging.h:38

Definition at line 43 of file attrs_internal.h.

◆ pcmk__set_node_attr_flags

#define pcmk__set_node_attr_flags ( node_attr_flags,
flags_to_set )
Value:
do { \
node_attr_flags = pcmk__set_flags_as(__func__, __LINE__, \
LOG_TRACE, "Node attribute", crm_system_name, \
(node_attr_flags), (flags_to_set), #flags_to_set); \
} while (0)

Definition at line 37 of file attrs_internal.h.

Enumeration Type Documentation

◆ pcmk__node_attr_opts

Enumerator
pcmk__node_attr_none 
pcmk__node_attr_remote 
pcmk__node_attr_private 
pcmk__node_attr_pattern 
pcmk__node_attr_value 
pcmk__node_attr_delay 
pcmk__node_attr_perm 
pcmk__node_attr_sync_local 
pcmk__node_attr_sync_cluster 
pcmk__node_attr_utilization 
pcmk__node_attr_query_all 

Definition at line 23 of file attrs_internal.h.

Function Documentation

◆ pcmk__node_attr()

const char * pcmk__node_attr ( const pcmk_node_t * node,
const char * name,
const char * target,
enum pcmk__rsc_node node_type )

Definition at line 114 of file attrs.c.

◆ pcmk__node_attr_target()

const char * pcmk__node_attr_target ( const char * name)

Definition at line 38 of file attrs.c.