pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Functions
nodes.c File Reference
#include <crm_internal.h>
#include <libxml/tree.h>
#include <crm/common/nvpair.h>
Include dependency graph for nodes.c:

Go to the source code of this file.

Functions

bool pcmk_node_is_online (const pcmk_node_t *node)
 
bool pcmk_node_is_pending (const pcmk_node_t *node)
 
bool pcmk_node_is_clean (const pcmk_node_t *node)
 
bool pcmk_node_is_shutting_down (const pcmk_node_t *node)
 
bool pcmk_node_is_in_maintenance (const pcmk_node_t *node)
 
bool pcmk_foreach_active_resource (pcmk_node_t *node, bool(*fn)(pcmk_resource_t *, void *), void *user_data)
 
void pcmk__xe_add_node (xmlNode *xml, const char *node, int nodeid)
 
pcmk_node_tpcmk__find_node_in_list (const GList *nodes, const char *node_name)
 

Function Documentation

◆ pcmk__find_node_in_list()

pcmk_node_t* pcmk__find_node_in_list ( const GList *  nodes,
const char *  node_name 
)

Definition at line 150 of file nodes.c.

◆ pcmk__xe_add_node()

void pcmk__xe_add_node ( xmlNode *  xml,
const char *  node,
int  nodeid 
)

Definition at line 127 of file nodes.c.

◆ pcmk_foreach_active_resource()

bool pcmk_foreach_active_resource ( pcmk_node_t node,
bool(*)(pcmk_resource_t *, void *)  fn,
void *  user_data 
)

Definition at line 107 of file nodes.c.

◆ pcmk_node_is_clean()

bool pcmk_node_is_clean ( const pcmk_node_t node)

Definition at line 61 of file nodes.c.

◆ pcmk_node_is_in_maintenance()

bool pcmk_node_is_in_maintenance ( const pcmk_node_t node)

Definition at line 89 of file nodes.c.

◆ pcmk_node_is_online()

bool pcmk_node_is_online ( const pcmk_node_t node)

Definition at line 24 of file nodes.c.

◆ pcmk_node_is_pending()

bool pcmk_node_is_pending ( const pcmk_node_t node)

Definition at line 42 of file nodes.c.

◆ pcmk_node_is_shutting_down()

bool pcmk_node_is_shutting_down ( const pcmk_node_t node)

Definition at line 75 of file nodes.c.