Kea  1.9.9-git
isc::ha Namespace Reference

Classes

class  CommandCreator
 Holds a collection of functions which generate commands used for High Availability. More...
 
class  CommunicationState
 Holds communication state between the two HA peers. More...
 
class  CommunicationState4
 Holds communication state between DHCPv4 servers. More...
 
class  CommunicationState6
 Holds communication state between DHCPv6 servers. More...
 
class  HAConfig
 Storage for High Availability configuration. More...
 
class  HAConfigParser
 Configuration parser for High Availability. More...
 
class  HAConfigValidationError
 Exception thrown when configuration validation fails. More...
 
class  HAImpl
 High Availability hooks library implementation. More...
 
class  HAService
 High availability service. More...
 
class  LeaseUpdateBacklog
 Queue holding a backlog of unsent lease updates. More...
 
class  QueryFilter
 DHCP query filtering class. More...
 

Typedefs

typedef boost::shared_ptr< CommunicationState4CommunicationState4Ptr
 Pointer to the CommunicationState4 object. More...
 
typedef boost::shared_ptr< CommunicationState6CommunicationState6Ptr
 Pointer to the CommunicationState6 object. More...
 
typedef boost::shared_ptr< CommunicationStateCommunicationStatePtr
 Type of the pointer to the CommunicationState object. More...
 
typedef boost::shared_ptr< HAConfigHAConfigPtr
 Pointer to the High Availability configuration structure. More...
 
typedef boost::shared_ptr< HAImplHAImplPtr
 Pointer to the High Availability hooks library implementation. More...
 
typedef boost::shared_ptr< HAServiceHAServicePtr
 Pointer to the HAService class. More...
 

Enumerations

enum  HAServerType { HAServerType::DHCPv4, HAServerType::DHCPv6 }
 Lists possible server types for which HA service is created. More...
 

Functions

std::string stateToString (int state)
 Returns state name. More...
 
int stringToState (const std::string &state_name)
 Returns state for a given name. More...
 

Variables

const int HA_BACKUP_ST = util::StateModel::SM_DERIVED_STATE_MIN + 1
 Backup state. More...
 
const isc::log::MessageID HA_BUFFER4_RECEIVE_FAILED = "HA_BUFFER4_RECEIVE_FAILED"
 
const isc::log::MessageID HA_BUFFER4_RECEIVE_NOT_FOR_US = "HA_BUFFER4_RECEIVE_NOT_FOR_US"
 
const isc::log::MessageID HA_BUFFER4_RECEIVE_PACKET_OPTIONS_SKIPPED = "HA_BUFFER4_RECEIVE_PACKET_OPTIONS_SKIPPED"
 
const isc::log::MessageID HA_BUFFER4_RECEIVE_UNPACK_FAILED = "HA_BUFFER4_RECEIVE_UNPACK_FAILED"
 
const isc::log::MessageID HA_BUFFER6_RECEIVE_FAILED = "HA_BUFFER6_RECEIVE_FAILED"
 
const isc::log::MessageID HA_BUFFER6_RECEIVE_NOT_FOR_US = "HA_BUFFER6_RECEIVE_NOT_FOR_US"
 
const isc::log::MessageID HA_BUFFER6_RECEIVE_PACKET_OPTIONS_SKIPPED = "HA_BUFFER6_RECEIVE_PACKET_OPTIONS_SKIPPED"
 
const isc::log::MessageID HA_BUFFER6_RECEIVE_UNPACK_FAILED = "HA_BUFFER6_RECEIVE_UNPACK_FAILED"
 
const isc::log::MessageID HA_COMMAND_PROCESSED_FAILED = "HA_COMMAND_PROCESSED_FAILED"
 
const isc::log::MessageID HA_COMMUNICATION_INTERRUPTED = "HA_COMMUNICATION_INTERRUPTED"
 
const isc::log::MessageID HA_COMMUNICATION_INTERRUPTED_CLIENT4 = "HA_COMMUNICATION_INTERRUPTED_CLIENT4"
 
const isc::log::MessageID HA_COMMUNICATION_INTERRUPTED_CLIENT4_UNACKED = "HA_COMMUNICATION_INTERRUPTED_CLIENT4_UNACKED"
 
const isc::log::MessageID HA_COMMUNICATION_INTERRUPTED_CLIENT6 = "HA_COMMUNICATION_INTERRUPTED_CLIENT6"
 
const isc::log::MessageID HA_COMMUNICATION_INTERRUPTED_CLIENT6_UNACKED = "HA_COMMUNICATION_INTERRUPTED_CLIENT6_UNACKED"
 
const int HA_COMMUNICATION_RECOVERY_ST = util::StateModel::SM_DERIVED_STATE_MIN + 2
 Communication recovery state. More...
 
const isc::log::MessageID HA_CONFIG_AUTO_FAILOVER_DISABLED = "HA_CONFIG_AUTO_FAILOVER_DISABLED"
 
const isc::log::MessageID HA_CONFIG_DHCP_MT_DISABLED = "HA_CONFIG_DHCP_MT_DISABLED"
 
const isc::log::MessageID HA_CONFIG_LEASE_SYNCING_DISABLED = "HA_CONFIG_LEASE_SYNCING_DISABLED"
 
const isc::log::MessageID HA_CONFIG_LEASE_SYNCING_DISABLED_REMINDER = "HA_CONFIG_LEASE_SYNCING_DISABLED_REMINDER"
 
const isc::log::MessageID HA_CONFIG_LEASE_UPDATES_AND_SYNCING_DIFFER = "HA_CONFIG_LEASE_UPDATES_AND_SYNCING_DIFFER"
 
const isc::log::MessageID HA_CONFIG_LEASE_UPDATES_DISABLED = "HA_CONFIG_LEASE_UPDATES_DISABLED"
 
const isc::log::MessageID HA_CONFIG_LEASE_UPDATES_DISABLED_REMINDER = "HA_CONFIG_LEASE_UPDATES_DISABLED_REMINDER"
 
const isc::log::MessageID HA_CONFIG_SYSTEM_MT_UNSUPPORTED = "HA_CONFIG_SYSTEM_MT_UNSUPPORTED"
 
const isc::log::MessageID HA_CONFIGURATION_FAILED = "HA_CONFIGURATION_FAILED"
 
const isc::log::MessageID HA_CONFIGURATION_SUCCESSFUL = "HA_CONFIGURATION_SUCCESSFUL"
 
const isc::log::MessageID HA_CONTINUE_HANDLER_FAILED = "HA_CONTINUE_HANDLER_FAILED"
 
const isc::log::MessageID HA_DEINIT_OK = "HA_DEINIT_OK"
 
const isc::log::MessageID HA_DHCP4_START_SERVICE_FAILED = "HA_DHCP4_START_SERVICE_FAILED"
 
const isc::log::MessageID HA_DHCP6_START_SERVICE_FAILED = "HA_DHCP6_START_SERVICE_FAILED"
 
const isc::log::MessageID HA_DHCP_DISABLE_COMMUNICATIONS_FAILED = "HA_DHCP_DISABLE_COMMUNICATIONS_FAILED"
 
const isc::log::MessageID HA_DHCP_DISABLE_FAILED = "HA_DHCP_DISABLE_FAILED"
 
const isc::log::MessageID HA_DHCP_ENABLE_COMMUNICATIONS_FAILED = "HA_DHCP_ENABLE_COMMUNICATIONS_FAILED"
 
const isc::log::MessageID HA_DHCP_ENABLE_FAILED = "HA_DHCP_ENABLE_FAILED"
 
const isc::log::MessageID HA_HEARTBEAT_COMMUNICATIONS_FAILED = "HA_HEARTBEAT_COMMUNICATIONS_FAILED"
 
const isc::log::MessageID HA_HEARTBEAT_FAILED = "HA_HEARTBEAT_FAILED"
 
const isc::log::MessageID HA_HEARTBEAT_HANDLER_FAILED = "HA_HEARTBEAT_HANDLER_FAILED"
 
const isc::log::MessageID HA_HIGH_CLOCK_SKEW = "HA_HIGH_CLOCK_SKEW"
 
const isc::log::MessageID HA_HIGH_CLOCK_SKEW_CAUSES_TERMINATION = "HA_HIGH_CLOCK_SKEW_CAUSES_TERMINATION"
 
const int HA_HOT_STANDBY_ST = util::StateModel::SM_DERIVED_STATE_MIN + 3
 Hot standby state. More...
 
const int HA_IN_MAINTENANCE_ST = util::StateModel::SM_DERIVED_STATE_MIN + 5
 In maintenance state. More...
 
const isc::log::MessageID HA_INIT_OK = "HA_INIT_OK"
 
const isc::log::MessageID HA_INVALID_PARTNER_STATE_COMMUNICATION_RECOVERY = "HA_INVALID_PARTNER_STATE_COMMUNICATION_RECOVERY"
 
const isc::log::MessageID HA_INVALID_PARTNER_STATE_HOT_STANDBY = "HA_INVALID_PARTNER_STATE_HOT_STANDBY"
 
const isc::log::MessageID HA_INVALID_PARTNER_STATE_LOAD_BALANCING = "HA_INVALID_PARTNER_STATE_LOAD_BALANCING"
 
const isc::log::MessageID HA_LEASE_SYNC_FAILED = "HA_LEASE_SYNC_FAILED"
 
const isc::log::MessageID HA_LEASE_SYNC_STALE_LEASE4_SKIP = "HA_LEASE_SYNC_STALE_LEASE4_SKIP"
 
const isc::log::MessageID HA_LEASE_SYNC_STALE_LEASE6_SKIP = "HA_LEASE_SYNC_STALE_LEASE6_SKIP"
 
const isc::log::MessageID HA_LEASE_UPDATE_COMMUNICATIONS_FAILED = "HA_LEASE_UPDATE_COMMUNICATIONS_FAILED"
 
const isc::log::MessageID HA_LEASE_UPDATE_CREATE_UPDATE_FAILED_ON_PEER = "HA_LEASE_UPDATE_CREATE_UPDATE_FAILED_ON_PEER"
 
const isc::log::MessageID HA_LEASE_UPDATE_DELETE_FAILED_ON_PEER = "HA_LEASE_UPDATE_DELETE_FAILED_ON_PEER"
 
const isc::log::MessageID HA_LEASE_UPDATE_FAILED = "HA_LEASE_UPDATE_FAILED"
 
const isc::log::MessageID HA_LEASE_UPDATES_DISABLED = "HA_LEASE_UPDATES_DISABLED"
 
const isc::log::MessageID HA_LEASE_UPDATES_ENABLED = "HA_LEASE_UPDATES_ENABLED"
 
const isc::log::MessageID HA_LEASES4_COMMITTED_FAILED = "HA_LEASES4_COMMITTED_FAILED"
 
const isc::log::MessageID HA_LEASES4_COMMITTED_NOTHING_TO_UPDATE = "HA_LEASES4_COMMITTED_NOTHING_TO_UPDATE"
 
const isc::log::MessageID HA_LEASES6_COMMITTED_FAILED = "HA_LEASES6_COMMITTED_FAILED"
 
const isc::log::MessageID HA_LEASES6_COMMITTED_NOTHING_TO_UPDATE = "HA_LEASES6_COMMITTED_NOTHING_TO_UPDATE"
 
const isc::log::MessageID HA_LEASES_BACKLOG_COMMUNICATIONS_FAILED = "HA_LEASES_BACKLOG_COMMUNICATIONS_FAILED"
 
const isc::log::MessageID HA_LEASES_BACKLOG_FAILED = "HA_LEASES_BACKLOG_FAILED"
 
const isc::log::MessageID HA_LEASES_BACKLOG_NOTHING_TO_SEND = "HA_LEASES_BACKLOG_NOTHING_TO_SEND"
 
const isc::log::MessageID HA_LEASES_BACKLOG_START = "HA_LEASES_BACKLOG_START"
 
const isc::log::MessageID HA_LEASES_BACKLOG_SUCCESS = "HA_LEASES_BACKLOG_SUCCESS"
 
const isc::log::MessageID HA_LEASES_SYNC_COMMUNICATIONS_FAILED = "HA_LEASES_SYNC_COMMUNICATIONS_FAILED"
 
const isc::log::MessageID HA_LEASES_SYNC_FAILED = "HA_LEASES_SYNC_FAILED"
 
const isc::log::MessageID HA_LEASES_SYNC_LEASE_PAGE_RECEIVED = "HA_LEASES_SYNC_LEASE_PAGE_RECEIVED"
 
const isc::log::MessageID HA_LOAD_BALANCING_DUID_MISSING = "HA_LOAD_BALANCING_DUID_MISSING"
 
const isc::log::MessageID HA_LOAD_BALANCING_IDENTIFIER_MISSING = "HA_LOAD_BALANCING_IDENTIFIER_MISSING"
 
const int HA_LOAD_BALANCING_ST = util::StateModel::SM_DERIVED_STATE_MIN + 4
 Load balancing state. More...
 
const isc::log::MessageID HA_LOCAL_DHCP_DISABLE = "HA_LOCAL_DHCP_DISABLE"
 
const isc::log::MessageID HA_LOCAL_DHCP_ENABLE = "HA_LOCAL_DHCP_ENABLE"
 
isc::log::Logger ha_logger ("ha-hooks")
 
const isc::log::MessageID HA_MAINTENANCE_CANCEL_HANDLER_FAILED = "HA_MAINTENANCE_CANCEL_HANDLER_FAILED"
 
const isc::log::MessageID HA_MAINTENANCE_NOTIFY_CANCEL_COMMUNICATIONS_FAILED = "HA_MAINTENANCE_NOTIFY_CANCEL_COMMUNICATIONS_FAILED"
 
const isc::log::MessageID HA_MAINTENANCE_NOTIFY_CANCEL_FAILED = "HA_MAINTENANCE_NOTIFY_CANCEL_FAILED"
 
const isc::log::MessageID HA_MAINTENANCE_NOTIFY_COMMUNICATIONS_FAILED = "HA_MAINTENANCE_NOTIFY_COMMUNICATIONS_FAILED"
 
const isc::log::MessageID HA_MAINTENANCE_NOTIFY_FAILED = "HA_MAINTENANCE_NOTIFY_FAILED"
 
const isc::log::MessageID HA_MAINTENANCE_NOTIFY_HANDLER_FAILED = "HA_MAINTENANCE_NOTIFY_HANDLER_FAILED"
 
const isc::log::MessageID HA_MAINTENANCE_SHUTDOWN_SAFE = "HA_MAINTENANCE_SHUTDOWN_SAFE"
 
const isc::log::MessageID HA_MAINTENANCE_START_HANDLER_FAILED = "HA_MAINTENANCE_START_HANDLER_FAILED"
 
const isc::log::MessageID HA_MAINTENANCE_STARTED = "HA_MAINTENANCE_STARTED"
 
const isc::log::MessageID HA_MAINTENANCE_STARTED_IN_PARTNER_DOWN = "HA_MAINTENANCE_STARTED_IN_PARTNER_DOWN"
 
const isc::log::MessageID HA_MISSING_CONFIGURATION = "HA_MISSING_CONFIGURATION"
 
const int HA_PARTNER_DOWN_ST = util::StateModel::SM_DERIVED_STATE_MIN + 6
 Partner down state. More...
 
const int HA_PARTNER_IN_MAINTENANCE_ST = util::StateModel::SM_DERIVED_STATE_MIN + 7
 Partner in-maintenance state. More...
 
const int HA_PASSIVE_BACKUP_ST = util::StateModel::SM_DERIVED_STATE_MIN + 8
 In passive-backup state with a single active server and backup servers. More...
 
const isc::log::MessageID HA_PAUSE_CLIENT_LISTENER_FAILED = "HA_PAUSE_CLIENT_LISTENER_FAILED"
 
const int HA_READY_ST = util::StateModel::SM_DERIVED_STATE_MIN + 9
 Server ready state, i.e. synchronized database, can enable DHCP service. More...
 
const isc::log::MessageID HA_RESET_COMMUNICATIONS_FAILED = "HA_RESET_COMMUNICATIONS_FAILED"
 
const isc::log::MessageID HA_RESET_FAILED = "HA_RESET_FAILED"
 
const isc::log::MessageID HA_RESET_HANDLER_FAILED = "HA_RESET_HANDLER_FAILED"
 
const isc::log::MessageID HA_RESUME_CLIENT_LISTENER_FAILED = "HA_RESUME_CLIENT_LISTENER_FAILED"
 
const isc::log::MessageID HA_SCOPES_HANDLER_FAILED = "HA_SCOPES_HANDLER_FAILED"
 
const isc::log::MessageID HA_SERVICE_STARTED = "HA_SERVICE_STARTED"
 
const isc::log::MessageID HA_STATE_MACHINE_CONTINUED = "HA_STATE_MACHINE_CONTINUED"
 
const isc::log::MessageID HA_STATE_MACHINE_PAUSED = "HA_STATE_MACHINE_PAUSED"
 
const isc::log::MessageID HA_STATE_TRANSITION = "HA_STATE_TRANSITION"
 
const isc::log::MessageID HA_STATE_TRANSITION_PASSIVE_BACKUP = "HA_STATE_TRANSITION_PASSIVE_BACKUP"
 
const isc::log::MessageID HA_SYNC_FAILED = "HA_SYNC_FAILED"
 
const isc::log::MessageID HA_SYNC_HANDLER_FAILED = "HA_SYNC_HANDLER_FAILED"
 
const isc::log::MessageID HA_SYNC_START = "HA_SYNC_START"
 
const isc::log::MessageID HA_SYNC_SUCCESSFUL = "HA_SYNC_SUCCESSFUL"
 
const int HA_SYNCING_ST = util::StateModel::SM_DERIVED_STATE_MIN + 10
 Synchronizing database state. More...
 
const isc::log::MessageID HA_TERMINATED = "HA_TERMINATED"
 
const isc::log::MessageID HA_TERMINATED_RESTART_PARTNER = "HA_TERMINATED_RESTART_PARTNER"
 
const int HA_TERMINATED_ST = util::StateModel::SM_DERIVED_STATE_MIN + 11
 HA service terminated state. More...
 
const int HA_UNAVAILABLE_ST = util::StateModel::SM_DERIVED_STATE_MIN + 1000
 Special state indicating that this server is unable to communicate with the partner. More...
 
const int HA_WAITING_ST = util::StateModel::SM_DERIVED_STATE_MIN + 12
 Server waiting state, i.e. waiting for another server to be ready. More...
 
HAImplPtr impl
 

Typedef Documentation

Pointer to the CommunicationState4 object.

Definition at line 650 of file communication_state.h.

Pointer to the CommunicationState6 object.

Definition at line 766 of file communication_state.h.

Type of the pointer to the CommunicationState object.

Definition at line 514 of file communication_state.h.

typedef boost::shared_ptr<HAConfig> isc::ha::HAConfigPtr

Pointer to the High Availability configuration structure.

Definition at line 760 of file ha_config.h.

typedef boost::shared_ptr<HAImpl> isc::ha::HAImplPtr

Pointer to the High Availability hooks library implementation.

Definition at line 178 of file ha_impl.h.

typedef boost::shared_ptr<HAService> isc::ha::HAServicePtr

Pointer to the HAService class.

Definition at line 1240 of file ha_service.h.

Enumeration Type Documentation

enum isc::ha::HAServerType
strong

Lists possible server types for which HA service is created.

Enumerator
DHCPv4 
DHCPv6 

Definition at line 14 of file ha_server_type.h.

Function Documentation

int isc::ha::stringToState ( const std::string &  state_name)

Returns state for a given name.

Parameters
state_namename of the state to be returned.
Exceptions
BadValueif the state name is unsupported.

Definition at line 49 of file ha_service_states.cc.

References HA_BACKUP_ST, HA_COMMUNICATION_RECOVERY_ST, HA_HOT_STANDBY_ST, HA_IN_MAINTENANCE_ST, HA_LOAD_BALANCING_ST, HA_PARTNER_DOWN_ST, HA_PARTNER_IN_MAINTENANCE_ST, HA_PASSIVE_BACKUP_ST, HA_READY_ST, HA_SYNCING_ST, HA_TERMINATED_ST, HA_UNAVAILABLE_ST, HA_WAITING_ST, and isc_throw.

Variable Documentation

const isc::log::MessageID isc::ha::HA_BUFFER4_RECEIVE_FAILED = "HA_BUFFER4_RECEIVE_FAILED"

Definition at line 11 of file ha_messages.h.

Referenced by buffer4_receive().

const isc::log::MessageID isc::ha::HA_BUFFER4_RECEIVE_NOT_FOR_US = "HA_BUFFER4_RECEIVE_NOT_FOR_US"

Definition at line 12 of file ha_messages.h.

Referenced by isc::ha::HAImpl::buffer4Receive().

const isc::log::MessageID isc::ha::HA_BUFFER4_RECEIVE_PACKET_OPTIONS_SKIPPED = "HA_BUFFER4_RECEIVE_PACKET_OPTIONS_SKIPPED"

Definition at line 13 of file ha_messages.h.

Referenced by isc::ha::HAImpl::buffer4Receive().

const isc::log::MessageID isc::ha::HA_BUFFER4_RECEIVE_UNPACK_FAILED = "HA_BUFFER4_RECEIVE_UNPACK_FAILED"

Definition at line 14 of file ha_messages.h.

Referenced by isc::ha::HAImpl::buffer4Receive().

const isc::log::MessageID isc::ha::HA_BUFFER6_RECEIVE_FAILED = "HA_BUFFER6_RECEIVE_FAILED"

Definition at line 15 of file ha_messages.h.

Referenced by buffer6_receive().

const isc::log::MessageID isc::ha::HA_BUFFER6_RECEIVE_NOT_FOR_US = "HA_BUFFER6_RECEIVE_NOT_FOR_US"

Definition at line 16 of file ha_messages.h.

Referenced by isc::ha::HAImpl::buffer6Receive().

const isc::log::MessageID isc::ha::HA_BUFFER6_RECEIVE_PACKET_OPTIONS_SKIPPED = "HA_BUFFER6_RECEIVE_PACKET_OPTIONS_SKIPPED"

Definition at line 17 of file ha_messages.h.

Referenced by isc::ha::HAImpl::buffer6Receive().

const isc::log::MessageID isc::ha::HA_BUFFER6_RECEIVE_UNPACK_FAILED = "HA_BUFFER6_RECEIVE_UNPACK_FAILED"

Definition at line 18 of file ha_messages.h.

Referenced by isc::ha::HAImpl::buffer6Receive().

const isc::log::MessageID isc::ha::HA_COMMAND_PROCESSED_FAILED = "HA_COMMAND_PROCESSED_FAILED"

Definition at line 19 of file ha_messages.h.

Referenced by command_processed().

const isc::log::MessageID isc::ha::HA_COMMUNICATION_INTERRUPTED = "HA_COMMUNICATION_INTERRUPTED"

Definition at line 20 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSendHeartbeat().

const isc::log::MessageID isc::ha::HA_COMMUNICATION_INTERRUPTED_CLIENT4 = "HA_COMMUNICATION_INTERRUPTED_CLIENT4"

Definition at line 21 of file ha_messages.h.

Referenced by isc::ha::CommunicationState4::analyzeMessageInternal().

const isc::log::MessageID isc::ha::HA_COMMUNICATION_INTERRUPTED_CLIENT4_UNACKED = "HA_COMMUNICATION_INTERRUPTED_CLIENT4_UNACKED"

Definition at line 22 of file ha_messages.h.

Referenced by isc::ha::CommunicationState4::analyzeMessageInternal().

const isc::log::MessageID isc::ha::HA_COMMUNICATION_INTERRUPTED_CLIENT6 = "HA_COMMUNICATION_INTERRUPTED_CLIENT6"

Definition at line 23 of file ha_messages.h.

Referenced by isc::ha::CommunicationState6::analyzeMessageInternal().

const isc::log::MessageID isc::ha::HA_COMMUNICATION_INTERRUPTED_CLIENT6_UNACKED = "HA_COMMUNICATION_INTERRUPTED_CLIENT6_UNACKED"

Definition at line 24 of file ha_messages.h.

Referenced by isc::ha::CommunicationState6::analyzeMessageInternal().

const isc::log::MessageID isc::ha::HA_CONFIG_AUTO_FAILOVER_DISABLED = "HA_CONFIG_AUTO_FAILOVER_DISABLED"

Definition at line 27 of file ha_messages.h.

const isc::log::MessageID isc::ha::HA_CONFIG_DHCP_MT_DISABLED = "HA_CONFIG_DHCP_MT_DISABLED"

Definition at line 28 of file ha_messages.h.

Referenced by isc::ha::HAConfig::validate().

const isc::log::MessageID isc::ha::HA_CONFIG_LEASE_SYNCING_DISABLED = "HA_CONFIG_LEASE_SYNCING_DISABLED"

Definition at line 29 of file ha_messages.h.

const isc::log::MessageID isc::ha::HA_CONFIG_LEASE_SYNCING_DISABLED_REMINDER = "HA_CONFIG_LEASE_SYNCING_DISABLED_REMINDER"

Definition at line 30 of file ha_messages.h.

Referenced by isc::ha::HAService::verboseTransition().

const isc::log::MessageID isc::ha::HA_CONFIG_LEASE_UPDATES_AND_SYNCING_DIFFER = "HA_CONFIG_LEASE_UPDATES_AND_SYNCING_DIFFER"

Definition at line 31 of file ha_messages.h.

const isc::log::MessageID isc::ha::HA_CONFIG_LEASE_UPDATES_DISABLED = "HA_CONFIG_LEASE_UPDATES_DISABLED"

Definition at line 32 of file ha_messages.h.

const isc::log::MessageID isc::ha::HA_CONFIG_LEASE_UPDATES_DISABLED_REMINDER = "HA_CONFIG_LEASE_UPDATES_DISABLED_REMINDER"

Definition at line 33 of file ha_messages.h.

Referenced by isc::ha::HAService::verboseTransition().

const isc::log::MessageID isc::ha::HA_CONFIG_SYSTEM_MT_UNSUPPORTED = "HA_CONFIG_SYSTEM_MT_UNSUPPORTED"

Definition at line 34 of file ha_messages.h.

Referenced by isc::ha::HAConfig::validate().

const isc::log::MessageID isc::ha::HA_CONFIGURATION_FAILED = "HA_CONFIGURATION_FAILED"

Definition at line 25 of file ha_messages.h.

Referenced by load().

const isc::log::MessageID isc::ha::HA_CONFIGURATION_SUCCESSFUL = "HA_CONFIGURATION_SUCCESSFUL"

Definition at line 26 of file ha_messages.h.

const isc::log::MessageID isc::ha::HA_CONTINUE_HANDLER_FAILED = "HA_CONTINUE_HANDLER_FAILED"

Definition at line 35 of file ha_messages.h.

Referenced by continue_command().

const isc::log::MessageID isc::ha::HA_DEINIT_OK = "HA_DEINIT_OK"

Definition at line 36 of file ha_messages.h.

Referenced by unload().

const isc::log::MessageID isc::ha::HA_DHCP4_START_SERVICE_FAILED = "HA_DHCP4_START_SERVICE_FAILED"

Definition at line 37 of file ha_messages.h.

Referenced by dhcp4_srv_configured().

const isc::log::MessageID isc::ha::HA_DHCP6_START_SERVICE_FAILED = "HA_DHCP6_START_SERVICE_FAILED"

Definition at line 38 of file ha_messages.h.

Referenced by dhcp6_srv_configured().

const isc::log::MessageID isc::ha::HA_DHCP_DISABLE_COMMUNICATIONS_FAILED = "HA_DHCP_DISABLE_COMMUNICATIONS_FAILED"

Definition at line 39 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncDisableDHCPService().

const isc::log::MessageID isc::ha::HA_DHCP_DISABLE_FAILED = "HA_DHCP_DISABLE_FAILED"

Definition at line 40 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncDisableDHCPService().

const isc::log::MessageID isc::ha::HA_DHCP_ENABLE_COMMUNICATIONS_FAILED = "HA_DHCP_ENABLE_COMMUNICATIONS_FAILED"

Definition at line 41 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncEnableDHCPService().

const isc::log::MessageID isc::ha::HA_DHCP_ENABLE_FAILED = "HA_DHCP_ENABLE_FAILED"

Definition at line 42 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncEnableDHCPService().

const isc::log::MessageID isc::ha::HA_HEARTBEAT_COMMUNICATIONS_FAILED = "HA_HEARTBEAT_COMMUNICATIONS_FAILED"

Definition at line 43 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSendHeartbeat().

const isc::log::MessageID isc::ha::HA_HEARTBEAT_FAILED = "HA_HEARTBEAT_FAILED"

Definition at line 44 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSendHeartbeat().

const isc::log::MessageID isc::ha::HA_HEARTBEAT_HANDLER_FAILED = "HA_HEARTBEAT_HANDLER_FAILED"

Definition at line 45 of file ha_messages.h.

Referenced by heartbeat_command().

const isc::log::MessageID isc::ha::HA_HIGH_CLOCK_SKEW = "HA_HIGH_CLOCK_SKEW"

Definition at line 46 of file ha_messages.h.

const isc::log::MessageID isc::ha::HA_HIGH_CLOCK_SKEW_CAUSES_TERMINATION = "HA_HIGH_CLOCK_SKEW_CAUSES_TERMINATION"

Definition at line 47 of file ha_messages.h.

const isc::log::MessageID isc::ha::HA_INIT_OK = "HA_INIT_OK"

Definition at line 48 of file ha_messages.h.

Referenced by load().

const isc::log::MessageID isc::ha::HA_INVALID_PARTNER_STATE_COMMUNICATION_RECOVERY = "HA_INVALID_PARTNER_STATE_COMMUNICATION_RECOVERY"

Definition at line 49 of file ha_messages.h.

Referenced by isc::ha::HAService::isPartnerStateInvalid().

const isc::log::MessageID isc::ha::HA_INVALID_PARTNER_STATE_HOT_STANDBY = "HA_INVALID_PARTNER_STATE_HOT_STANDBY"

Definition at line 50 of file ha_messages.h.

Referenced by isc::ha::HAService::isPartnerStateInvalid().

const isc::log::MessageID isc::ha::HA_INVALID_PARTNER_STATE_LOAD_BALANCING = "HA_INVALID_PARTNER_STATE_LOAD_BALANCING"

Definition at line 51 of file ha_messages.h.

Referenced by isc::ha::HAService::isPartnerStateInvalid().

const isc::log::MessageID isc::ha::HA_LEASE_SYNC_FAILED = "HA_LEASE_SYNC_FAILED"

Definition at line 64 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSyncLeasesInternal().

const isc::log::MessageID isc::ha::HA_LEASE_SYNC_STALE_LEASE4_SKIP = "HA_LEASE_SYNC_STALE_LEASE4_SKIP"

Definition at line 65 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSyncLeasesInternal().

const isc::log::MessageID isc::ha::HA_LEASE_SYNC_STALE_LEASE6_SKIP = "HA_LEASE_SYNC_STALE_LEASE6_SKIP"

Definition at line 66 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSyncLeasesInternal().

const isc::log::MessageID isc::ha::HA_LEASE_UPDATE_COMMUNICATIONS_FAILED = "HA_LEASE_UPDATE_COMMUNICATIONS_FAILED"

Definition at line 69 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSendLeaseUpdate().

const isc::log::MessageID isc::ha::HA_LEASE_UPDATE_CREATE_UPDATE_FAILED_ON_PEER = "HA_LEASE_UPDATE_CREATE_UPDATE_FAILED_ON_PEER"

Definition at line 70 of file ha_messages.h.

Referenced by isc::ha::HAService::logFailedLeaseUpdates().

const isc::log::MessageID isc::ha::HA_LEASE_UPDATE_DELETE_FAILED_ON_PEER = "HA_LEASE_UPDATE_DELETE_FAILED_ON_PEER"

Definition at line 71 of file ha_messages.h.

Referenced by isc::ha::HAService::logFailedLeaseUpdates().

const isc::log::MessageID isc::ha::HA_LEASE_UPDATE_FAILED = "HA_LEASE_UPDATE_FAILED"

Definition at line 72 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSendLeaseUpdate().

const isc::log::MessageID isc::ha::HA_LEASE_UPDATES_DISABLED = "HA_LEASE_UPDATES_DISABLED"

Definition at line 67 of file ha_messages.h.

Referenced by isc::ha::HAService::verboseTransition().

const isc::log::MessageID isc::ha::HA_LEASE_UPDATES_ENABLED = "HA_LEASE_UPDATES_ENABLED"

Definition at line 68 of file ha_messages.h.

Referenced by isc::ha::HAService::verboseTransition().

const isc::log::MessageID isc::ha::HA_LEASES4_COMMITTED_FAILED = "HA_LEASES4_COMMITTED_FAILED"

Definition at line 52 of file ha_messages.h.

Referenced by leases4_committed().

const isc::log::MessageID isc::ha::HA_LEASES4_COMMITTED_NOTHING_TO_UPDATE = "HA_LEASES4_COMMITTED_NOTHING_TO_UPDATE"

Definition at line 53 of file ha_messages.h.

Referenced by isc::ha::HAImpl::leases4Committed().

const isc::log::MessageID isc::ha::HA_LEASES6_COMMITTED_FAILED = "HA_LEASES6_COMMITTED_FAILED"

Definition at line 54 of file ha_messages.h.

Referenced by leases6_committed().

const isc::log::MessageID isc::ha::HA_LEASES6_COMMITTED_NOTHING_TO_UPDATE = "HA_LEASES6_COMMITTED_NOTHING_TO_UPDATE"

Definition at line 55 of file ha_messages.h.

Referenced by isc::ha::HAImpl::leases6Committed().

const isc::log::MessageID isc::ha::HA_LEASES_BACKLOG_COMMUNICATIONS_FAILED = "HA_LEASES_BACKLOG_COMMUNICATIONS_FAILED"

Definition at line 56 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSendLeaseUpdatesFromBacklog().

const isc::log::MessageID isc::ha::HA_LEASES_BACKLOG_FAILED = "HA_LEASES_BACKLOG_FAILED"

Definition at line 57 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSendLeaseUpdatesFromBacklog().

const isc::log::MessageID isc::ha::HA_LEASES_BACKLOG_NOTHING_TO_SEND = "HA_LEASES_BACKLOG_NOTHING_TO_SEND"

Definition at line 58 of file ha_messages.h.

Referenced by isc::ha::HAService::sendLeaseUpdatesFromBacklog().

const isc::log::MessageID isc::ha::HA_LEASES_BACKLOG_START = "HA_LEASES_BACKLOG_START"

Definition at line 59 of file ha_messages.h.

Referenced by isc::ha::HAService::sendLeaseUpdatesFromBacklog().

const isc::log::MessageID isc::ha::HA_LEASES_BACKLOG_SUCCESS = "HA_LEASES_BACKLOG_SUCCESS"

Definition at line 60 of file ha_messages.h.

Referenced by isc::ha::HAService::sendLeaseUpdatesFromBacklog().

const isc::log::MessageID isc::ha::HA_LEASES_SYNC_COMMUNICATIONS_FAILED = "HA_LEASES_SYNC_COMMUNICATIONS_FAILED"

Definition at line 61 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSyncLeasesInternal().

const isc::log::MessageID isc::ha::HA_LEASES_SYNC_FAILED = "HA_LEASES_SYNC_FAILED"

Definition at line 62 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSyncLeasesInternal().

const isc::log::MessageID isc::ha::HA_LEASES_SYNC_LEASE_PAGE_RECEIVED = "HA_LEASES_SYNC_LEASE_PAGE_RECEIVED"

Definition at line 63 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSyncLeasesInternal().

const isc::log::MessageID isc::ha::HA_LOAD_BALANCING_DUID_MISSING = "HA_LOAD_BALANCING_DUID_MISSING"

Definition at line 73 of file ha_messages.h.

Referenced by isc::ha::QueryFilter::loadBalance().

const isc::log::MessageID isc::ha::HA_LOAD_BALANCING_IDENTIFIER_MISSING = "HA_LOAD_BALANCING_IDENTIFIER_MISSING"

Definition at line 74 of file ha_messages.h.

Referenced by isc::ha::QueryFilter::loadBalance().

const isc::log::MessageID isc::ha::HA_LOCAL_DHCP_DISABLE = "HA_LOCAL_DHCP_DISABLE"

Definition at line 75 of file ha_messages.h.

Referenced by isc::ha::HAService::adjustNetworkState().

const isc::log::MessageID isc::ha::HA_LOCAL_DHCP_ENABLE = "HA_LOCAL_DHCP_ENABLE"

Definition at line 76 of file ha_messages.h.

Referenced by isc::ha::HAService::adjustNetworkState().

isc::log::Logger isc::ha::ha_logger

Definition at line 17 of file ha_log.h.

Referenced by isc::ha::HAService::adjustNetworkState(), isc::ha::CommunicationState4::analyzeMessageInternal(), isc::ha::CommunicationState6::analyzeMessageInternal(), isc::ha::HAService::asyncDisableDHCPService(), isc::ha::HAService::asyncEnableDHCPService(), isc::ha::HAService::asyncSendHAReset(), isc::ha::HAService::asyncSendHeartbeat(), isc::ha::HAService::asyncSendLeaseUpdate(), isc::ha::HAService::asyncSendLeaseUpdatesFromBacklog(), isc::ha::HAService::asyncSyncLeasesInternal(), buffer4_receive(), isc::ha::HAImpl::buffer4Receive(), buffer6_receive(), isc::ha::HAImpl::buffer6Receive(), command_processed(), isc::ha::HAService::conditionalLogPausedState(), continue_command(), dhcp4_srv_configured(), dhcp6_srv_configured(), ha_reset_command(), isc::ha::HAService::HAService(), heartbeat_command(), isc::ha::HAService::inMaintenanceStateHandler(), isc::ha::HAService::isPartnerStateInvalid(), leases4_committed(), isc::ha::HAImpl::leases4Committed(), leases6_committed(), isc::ha::HAImpl::leases6Committed(), load(), isc::ha::QueryFilter::loadBalance(), isc::ha::HAService::logFailedLeaseUpdates(), maintenance_cancel_command(), maintenance_notify_command(), maintenance_start_command(), isc::ha::HAService::partnerDownStateHandler(), isc::ha::HAService::partnerInMaintenanceStateHandler(), isc::ha::HAService::pauseClientAndListener(), isc::ha::HAService::processMaintenanceCancel(), isc::ha::HAService::processMaintenanceStart(), isc::ha::HAService::resumeClientAndListener(), scopes_command(), isc::ha::HAService::sendLeaseUpdatesFromBacklog(), sync_command(), isc::ha::HAService::synchronize(), isc::ha::HAService::terminatedStateHandler(), unload(), isc::ha::HAService::unpause(), isc::ha::HAConfig::validate(), isc::ha::HAService::verboseTransition(), and isc::ha::HAService::waitingStateHandler().

const isc::log::MessageID isc::ha::HA_MAINTENANCE_CANCEL_HANDLER_FAILED = "HA_MAINTENANCE_CANCEL_HANDLER_FAILED"

Definition at line 77 of file ha_messages.h.

Referenced by maintenance_cancel_command().

const isc::log::MessageID isc::ha::HA_MAINTENANCE_NOTIFY_CANCEL_COMMUNICATIONS_FAILED = "HA_MAINTENANCE_NOTIFY_CANCEL_COMMUNICATIONS_FAILED"

Definition at line 78 of file ha_messages.h.

Referenced by isc::ha::HAService::processMaintenanceCancel().

const isc::log::MessageID isc::ha::HA_MAINTENANCE_NOTIFY_CANCEL_FAILED = "HA_MAINTENANCE_NOTIFY_CANCEL_FAILED"

Definition at line 79 of file ha_messages.h.

Referenced by isc::ha::HAService::processMaintenanceCancel().

const isc::log::MessageID isc::ha::HA_MAINTENANCE_NOTIFY_COMMUNICATIONS_FAILED = "HA_MAINTENANCE_NOTIFY_COMMUNICATIONS_FAILED"

Definition at line 80 of file ha_messages.h.

Referenced by isc::ha::HAService::processMaintenanceStart().

const isc::log::MessageID isc::ha::HA_MAINTENANCE_NOTIFY_FAILED = "HA_MAINTENANCE_NOTIFY_FAILED"

Definition at line 81 of file ha_messages.h.

Referenced by isc::ha::HAService::processMaintenanceStart().

const isc::log::MessageID isc::ha::HA_MAINTENANCE_NOTIFY_HANDLER_FAILED = "HA_MAINTENANCE_NOTIFY_HANDLER_FAILED"

Definition at line 82 of file ha_messages.h.

Referenced by maintenance_notify_command().

const isc::log::MessageID isc::ha::HA_MAINTENANCE_SHUTDOWN_SAFE = "HA_MAINTENANCE_SHUTDOWN_SAFE"

Definition at line 83 of file ha_messages.h.

Referenced by isc::ha::HAService::inMaintenanceStateHandler().

const isc::log::MessageID isc::ha::HA_MAINTENANCE_START_HANDLER_FAILED = "HA_MAINTENANCE_START_HANDLER_FAILED"

Definition at line 86 of file ha_messages.h.

Referenced by maintenance_start_command().

const isc::log::MessageID isc::ha::HA_MAINTENANCE_STARTED = "HA_MAINTENANCE_STARTED"

Definition at line 84 of file ha_messages.h.

Referenced by isc::ha::HAService::partnerInMaintenanceStateHandler().

const isc::log::MessageID isc::ha::HA_MAINTENANCE_STARTED_IN_PARTNER_DOWN = "HA_MAINTENANCE_STARTED_IN_PARTNER_DOWN"

Definition at line 85 of file ha_messages.h.

Referenced by isc::ha::HAService::partnerDownStateHandler().

const isc::log::MessageID isc::ha::HA_MISSING_CONFIGURATION = "HA_MISSING_CONFIGURATION"

Definition at line 87 of file ha_messages.h.

Referenced by load().

const int isc::ha::HA_PASSIVE_BACKUP_ST = util::StateModel::SM_DERIVED_STATE_MIN + 8
const isc::log::MessageID isc::ha::HA_PAUSE_CLIENT_LISTENER_FAILED = "HA_PAUSE_CLIENT_LISTENER_FAILED"

Definition at line 88 of file ha_messages.h.

Referenced by isc::ha::HAService::pauseClientAndListener().

const isc::log::MessageID isc::ha::HA_RESET_COMMUNICATIONS_FAILED = "HA_RESET_COMMUNICATIONS_FAILED"

Definition at line 89 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSendHAReset().

const isc::log::MessageID isc::ha::HA_RESET_FAILED = "HA_RESET_FAILED"

Definition at line 90 of file ha_messages.h.

Referenced by isc::ha::HAService::asyncSendHAReset().

const isc::log::MessageID isc::ha::HA_RESET_HANDLER_FAILED = "HA_RESET_HANDLER_FAILED"

Definition at line 91 of file ha_messages.h.

Referenced by ha_reset_command().

const isc::log::MessageID isc::ha::HA_RESUME_CLIENT_LISTENER_FAILED = "HA_RESUME_CLIENT_LISTENER_FAILED"

Definition at line 92 of file ha_messages.h.

Referenced by isc::ha::HAService::resumeClientAndListener().

const isc::log::MessageID isc::ha::HA_SCOPES_HANDLER_FAILED = "HA_SCOPES_HANDLER_FAILED"

Definition at line 93 of file ha_messages.h.

Referenced by scopes_command().

const isc::log::MessageID isc::ha::HA_SERVICE_STARTED = "HA_SERVICE_STARTED"

Definition at line 94 of file ha_messages.h.

Referenced by isc::ha::HAService::HAService().

const isc::log::MessageID isc::ha::HA_STATE_MACHINE_CONTINUED = "HA_STATE_MACHINE_CONTINUED"

Definition at line 95 of file ha_messages.h.

Referenced by isc::ha::HAService::unpause().

const isc::log::MessageID isc::ha::HA_STATE_MACHINE_PAUSED = "HA_STATE_MACHINE_PAUSED"

Definition at line 96 of file ha_messages.h.

Referenced by isc::ha::HAService::conditionalLogPausedState().

const isc::log::MessageID isc::ha::HA_STATE_TRANSITION = "HA_STATE_TRANSITION"

Definition at line 97 of file ha_messages.h.

Referenced by isc::ha::HAService::verboseTransition().

const isc::log::MessageID isc::ha::HA_STATE_TRANSITION_PASSIVE_BACKUP = "HA_STATE_TRANSITION_PASSIVE_BACKUP"

Definition at line 98 of file ha_messages.h.

Referenced by isc::ha::HAService::verboseTransition().

const isc::log::MessageID isc::ha::HA_SYNC_FAILED = "HA_SYNC_FAILED"

Definition at line 99 of file ha_messages.h.

Referenced by isc::ha::HAService::synchronize().

const isc::log::MessageID isc::ha::HA_SYNC_HANDLER_FAILED = "HA_SYNC_HANDLER_FAILED"

Definition at line 100 of file ha_messages.h.

Referenced by sync_command().

const isc::log::MessageID isc::ha::HA_SYNC_START = "HA_SYNC_START"

Definition at line 101 of file ha_messages.h.

Referenced by isc::ha::HAService::synchronize().

const isc::log::MessageID isc::ha::HA_SYNC_SUCCESSFUL = "HA_SYNC_SUCCESSFUL"

Definition at line 102 of file ha_messages.h.

Referenced by isc::ha::HAService::synchronize().

const isc::log::MessageID isc::ha::HA_TERMINATED = "HA_TERMINATED"

Definition at line 103 of file ha_messages.h.

Referenced by isc::ha::HAService::terminatedStateHandler().

const isc::log::MessageID isc::ha::HA_TERMINATED_RESTART_PARTNER = "HA_TERMINATED_RESTART_PARTNER"

Definition at line 104 of file ha_messages.h.

Referenced by isc::ha::HAService::waitingStateHandler().