yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
yp_ha_service_t Struct Reference

YP-HA service instance. More...

#include <agt_yp_ha.h>

Collaboration diagram for yp_ha_service_t:

Data Fields

dlq_hdr_t ha_serverQ
 common state is a Q of yp_ha_server_t
 
yp_ha_server_tmy_server_cb
 HA control block.
 
const xmlChar * ha_server_key
 shared HA pool key
 
obj_template_typ_ha_obj
 YANG object template for service layer.
 
val_value_tpayload_val
 payload_val for reuse and faster messages
 
yp_ha_state_t ha_state
 current HA state
 
boolean ha_enabled
 HA enabled flag.
 
boolean ha_init_done
 HA init done flag.
 
struct yp_ha_active_t_ * active_cb
 active mode
 
struct yp_ha_standby_t_ * standby_cb
 standby mode
 
xmlChar tstamp [TSTAMP_MIN_SIZE]
 ha-role-state-time leaf
 
uint64 config_updates
 config-updates leaf
 
uint64 config_failures
 config-failures leaf
 
xmlChar last_error_time [TSTAMP_MIN_SIZE]
 last-error-time leaf
 
status_t last_error_num
 last error message leaf
 

Detailed Description

YP-HA service instance.

One control block is maintained for the YP-HA service instance Either Active or Standby Roles. Used internally, no service layer fields should be accessed directly


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