pacemaker  2.0.5-ba59be712
Scalable High-Availability cluster resource manager
Data Fields
pcmk_controld_api_reply_t Struct Reference

#include <include/crm/common/ipc_controld.h>

Data Fields

enum pcmk_controld_api_reply reply_type
 
const char * feature_set
 CRM feature set advertised by controller. More...
 
const char * host_from
 Name of node that sent reply. More...
 
union {
   struct {
      bool   have_quorum
 
      bool   is_remote
 
      int   id
 
      const char *   uuid
 
      const char *   uname
 
      const char *   state
 
   }   node_info
 
   struct {
      xmlNode *   node_state
 
   }   resource
 
   struct {
      const char *   sys_from
 
      const char *   fsa_state
 
      const char *   result
 
   }   ping
 
   GList *   nodes
 
data
 

Detailed Description

Controller reply passed to event callback

Note
Shutdown and election calls have no reply. Reprobe calls are acknowledged but contain no data (reply_type will be the only item set). Node info and ping calls have their own reply data. Fail and refresh calls use the resource reply type and reply data.
The pointers in the reply are only guaranteed to be meaningful for the execution of the callback; if the values are needed for later, the callback should copy them.

Definition at line 57 of file ipc_controld.h.

Field Documentation

◆ data

union { ... } pcmk_controld_api_reply_t::data

◆ feature_set

const char* pcmk_controld_api_reply_t::feature_set

CRM feature set advertised by controller.

Definition at line 59 of file ipc_controld.h.

◆ fsa_state

const char* pcmk_controld_api_reply_t::fsa_state

Definition at line 81 of file ipc_controld.h.

◆ have_quorum

bool pcmk_controld_api_reply_t::have_quorum

Definition at line 65 of file ipc_controld.h.

◆ host_from

const char* pcmk_controld_api_reply_t::host_from

Name of node that sent reply.

Definition at line 60 of file ipc_controld.h.

◆ id

int pcmk_controld_api_reply_t::id

Definition at line 67 of file ipc_controld.h.

◆ is_remote

bool pcmk_controld_api_reply_t::is_remote

Definition at line 66 of file ipc_controld.h.

◆ node_info

struct { ... } pcmk_controld_api_reply_t::node_info

◆ node_state

xmlNode* pcmk_controld_api_reply_t::node_state

Definition at line 75 of file ipc_controld.h.

◆ nodes

GList* pcmk_controld_api_reply_t::nodes

Definition at line 86 of file ipc_controld.h.

◆ ping

struct { ... } pcmk_controld_api_reply_t::ping

◆ reply_type

enum pcmk_controld_api_reply pcmk_controld_api_reply_t::reply_type

Definition at line 58 of file ipc_controld.h.

◆ resource

struct { ... } pcmk_controld_api_reply_t::resource

◆ result

const char* pcmk_controld_api_reply_t::result

Definition at line 82 of file ipc_controld.h.

◆ state

const char* pcmk_controld_api_reply_t::state

Definition at line 70 of file ipc_controld.h.

◆ sys_from

const char* pcmk_controld_api_reply_t::sys_from

Definition at line 80 of file ipc_controld.h.

◆ uname

const char* pcmk_controld_api_reply_t::uname

Definition at line 69 of file ipc_controld.h.

◆ uuid

const char* pcmk_controld_api_reply_t::uuid

Definition at line 68 of file ipc_controld.h.


The documentation for this struct was generated from the following file: