12#ifndef _H_agt_yp_ha_active
13#define _H_agt_yp_ha_active
180 const xmlChar *revision,
199 const xmlChar **config_stamp);
YumaPro High Availability module (YP-HA)
void agt_yp_ha_active_init(yp_ha_service_t *ha_serv)
Initialize the YP-HA Active module.
Definition: agt_yp_ha_active.c:2093
status_t agt_yp_ha_active_nvstore(yp_ha_service_t *ha_serv)
Do an <nvstore> command to the standby servers.
Definition: agt_yp_ha_active.c:2175
status_t agt_yp_ha_active_get_config_info(yp_ha_service_t *ha_serv, ncx_transaction_id_t *config_id, const xmlChar **config_stamp)
Get the config ID and timestamp info.
Definition: agt_yp_ha_active.c:2245
void agt_yp_ha_active_mod_event(yp_ha_service_t *ha_serv, const xmlChar *name, const xmlChar *revision, val_value_t *inputval, boolean is_module, boolean is_load)
Generate a module event.
Definition: agt_yp_ha_active.c:2197
void agt_yp_ha_active_stop(yp_ha_service_t *ha_serv)
Exit from YP-HA Active server mode.
Definition: agt_yp_ha_active.c:2053
status_t agt_yp_ha_active_config_update(yp_ha_service_t *ha_serv, rpc_msg_t *msg, agt_cfg_transaction_t *txcb)
Do a config update in the active role.
Definition: agt_yp_ha_active.c:2152
status_t agt_yp_ha_active_setup(yp_ha_service_t *ha_serv)
One time pre-init YP-HA Active mode.
Definition: agt_yp_ha_active.c:1926
void agt_yp_ha_active_cleanup_server(yp_ha_service_t *ha_serv, yp_ha_server_t *ha_server)
Cleanup the YP-HA Active Server subsystem record.
Definition: agt_yp_ha_active.c:2125
void agt_yp_ha_active_cleanup(yp_ha_service_t *ha_serv)
Cleanup the YP-HA Active module.
Definition: agt_yp_ha_active.c:2106
status_t agt_yp_ha_active_go(yp_ha_service_t *ha_serv)
Go into YP-HA Active server mode.
Definition: agt_yp_ha_active.c:2035
status_t
global error return code
Definition: status_enum.h:210
uint64 ncx_transaction_id_t
transaction is scoped to single session write operation on a config
Definition: ncxtypes.h:728
global error status code enumerations
Transaction Control Block.
Definition: agt_cfg.h:235
NETCONF Server and Client RPC Request/Reply Message Header.
Definition: rpc.h:185
one value to match one type
Definition: val.h:912
For each CLI-configured ha-server there will be one entry entry the active and standby both need this...
Definition: agt_yp_ha.h:133
YP-HA service instance.
Definition: agt_yp_ha.h:157