Kea 2.7.6
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  HARelationshipMapper
 Holds associations between objects and HA relationships. More...
 
class  HAService
 High availability service. More...
 
class  LeaseSyncFilter
 Checks if a lease fetched from the other server should be synchronized into the local lease database. 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.
 
typedef boost::shared_ptr< CommunicationState6CommunicationState6Ptr
 Pointer to the CommunicationState6 object.
 
typedef boost::shared_ptr< CommunicationStateCommunicationStatePtr
 Type of the pointer to the CommunicationState object.
 
typedef HARelationshipMapper< HAConfigHAConfigMapper
 Type of an object mapping HAConfig to relationships.
 
typedef boost::shared_ptr< HAConfigMapperHAConfigMapperPtr
 Pointer to an object mapping HAConfig to relationships.
 
typedef boost::shared_ptr< HAConfigHAConfigPtr
 Pointer to the High Availability configuration structure.
 
typedef boost::shared_ptr< HAImplHAImplPtr
 Pointer to the High Availability hooks library implementation.
 
typedef HARelationshipMapper< HAServiceHAServiceMapper
 Type of an object mapping HAService to relationships.
 
typedef boost::shared_ptr< HAServiceMapperHAServiceMapperPtr
 Pointer to an object mapping HAService to relationships.
 
typedef boost::shared_ptr< HAServiceHAServicePtr
 Pointer to the HAService class.
 

Enumerations

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

Functions

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

Variables

const int HA_BACKUP_ST = util::StateModel::SM_DERIVED_STATE_MIN + 1
 Backup state.
 
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.
 
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_DHCP_MT_DISABLED_AND_KEA_MT_ENABLED = "HA_CONFIG_DHCP_MT_DISABLED_AND_KEA_MT_ENABLED"
 
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_CAUSED_TERMINATION = "HA_HIGH_CLOCK_SKEW_CAUSED_TERMINATION"
 
const int HA_HOT_STANDBY_ST = util::StateModel::SM_DERIVED_STATE_MIN + 3
 Hot standby state.
 
const int HA_IN_MAINTENANCE_ST = util::StateModel::SM_DERIVED_STATE_MIN + 5
 In maintenance state.
 
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_LEASE4_SERVER_DECLINE_FAILED = "HA_LEASE4_SERVER_DECLINE_FAILED"
 
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_CONFLICT = "HA_LEASE_UPDATE_CONFLICT"
 
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_UPDATE_REJECTS_CAUSED_TERMINATION = "HA_LEASE_UPDATE_REJECTS_CAUSED_TERMINATION"
 
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_NO_RELATIONSHIP = "HA_LEASES4_COMMITTED_NO_RELATIONSHIP"
 
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_NO_RELATIONSHIP = "HA_LEASES6_COMMITTED_NO_RELATIONSHIP"
 
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_APPLIED_LEASES = "HA_LEASES_SYNC_APPLIED_LEASES"
 
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.
 
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.
 
const int HA_PARTNER_IN_MAINTENANCE_ST = util::StateModel::SM_DERIVED_STATE_MIN + 7
 Partner in-maintenance state.
 
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.
 
const isc::log::MessageID HA_PAUSE_CLIENT_LISTENER_FAILED = "HA_PAUSE_CLIENT_LISTENER_FAILED"
 
const isc::log::MessageID HA_PAUSE_CLIENT_LISTENER_ILLEGAL = "HA_PAUSE_CLIENT_LISTENER_ILLEGAL"
 
const int HA_READY_ST = util::StateModel::SM_DERIVED_STATE_MIN + 9
 Server ready state, i.e. synchronized database, can enable DHCP service.
 
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_SUBNET4_SELECT_FAILED = "HA_SUBNET4_SELECT_FAILED"
 
const isc::log::MessageID HA_SUBNET4_SELECT_INVALID_HA_SERVER_NAME = "HA_SUBNET4_SELECT_INVALID_HA_SERVER_NAME"
 
const isc::log::MessageID HA_SUBNET4_SELECT_NO_RELATIONSHIP_FOR_SUBNET = "HA_SUBNET4_SELECT_NO_RELATIONSHIP_FOR_SUBNET"
 
const isc::log::MessageID HA_SUBNET4_SELECT_NO_RELATIONSHIP_SELECTOR_FOR_SUBNET = "HA_SUBNET4_SELECT_NO_RELATIONSHIP_SELECTOR_FOR_SUBNET"
 
const isc::log::MessageID HA_SUBNET4_SELECT_NO_SUBNET_SELECTED = "HA_SUBNET4_SELECT_NO_SUBNET_SELECTED"
 
const isc::log::MessageID HA_SUBNET4_SELECT_NOT_FOR_US = "HA_SUBNET4_SELECT_NOT_FOR_US"
 
const isc::log::MessageID HA_SUBNET6_SELECT_FAILED = "HA_SUBNET6_SELECT_FAILED"
 
const isc::log::MessageID HA_SUBNET6_SELECT_INVALID_HA_SERVER_NAME = "HA_SUBNET6_SELECT_INVALID_HA_SERVER_NAME"
 
const isc::log::MessageID HA_SUBNET6_SELECT_NO_RELATIONSHIP_FOR_SUBNET = "HA_SUBNET6_SELECT_NO_RELATIONSHIP_FOR_SUBNET"
 
const isc::log::MessageID HA_SUBNET6_SELECT_NO_RELATIONSHIP_SELECTOR_FOR_SUBNET = "HA_SUBNET6_SELECT_NO_RELATIONSHIP_SELECTOR_FOR_SUBNET"
 
const isc::log::MessageID HA_SUBNET6_SELECT_NO_SUBNET_SELECTED = "HA_SUBNET6_SELECT_NO_SUBNET_SELECTED"
 
const isc::log::MessageID HA_SUBNET6_SELECT_NOT_FOR_US = "HA_SUBNET6_SELECT_NOT_FOR_US"
 
const isc::log::MessageID HA_SYNC_COMPLETE_NOTIFY_COMMUNICATIONS_FAILED = "HA_SYNC_COMPLETE_NOTIFY_COMMUNICATIONS_FAILED"
 
const isc::log::MessageID HA_SYNC_COMPLETE_NOTIFY_FAILED = "HA_SYNC_COMPLETE_NOTIFY_FAILED"
 
const isc::log::MessageID HA_SYNC_COMPLETE_NOTIFY_HANDLER_FAILED = "HA_SYNC_COMPLETE_NOTIFY_HANDLER_FAILED"
 
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.
 
const isc::log::MessageID HA_TERMINATED = "HA_TERMINATED"
 
const isc::log::MessageID HA_TERMINATED_PARTNER_DID_NOT_RESTART = "HA_TERMINATED_PARTNER_DID_NOT_RESTART"
 
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.
 
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.
 
const int HA_WAITING_ST = util::StateModel::SM_DERIVED_STATE_MIN + 12
 Server waiting state, i.e. waiting for another server to be ready.
 
HAImplPtr impl
 

Typedef Documentation

◆ CommunicationState4Ptr

Pointer to the CommunicationState4 object.

Definition at line 986 of file communication_state.h.

◆ CommunicationState6Ptr

Pointer to the CommunicationState6 object.

Definition at line 1173 of file communication_state.h.

◆ CommunicationStatePtr

Type of the pointer to the CommunicationState object.

Definition at line 780 of file communication_state.h.

◆ HAConfigMapper

Type of an object mapping HAConfig to relationships.

Definition at line 40 of file ha_config.h.

◆ HAConfigMapperPtr

typedef boost::shared_ptr<HAConfigMapper> isc::ha::HAConfigMapperPtr

Pointer to an object mapping HAConfig to relationships.

Definition at line 43 of file ha_config.h.

◆ HAConfigPtr

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

Pointer to the High Availability configuration structure.

Definition at line 37 of file ha_config.h.

◆ HAImplPtr

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

Pointer to the High Availability hooks library implementation.

Definition at line 251 of file ha_impl.h.

◆ HAServiceMapper

Type of an object mapping HAService to relationships.

Definition at line 42 of file ha_service.h.

◆ HAServiceMapperPtr

typedef boost::shared_ptr<HAServiceMapper> isc::ha::HAServiceMapperPtr

Pointer to an object mapping HAService to relationships.

Definition at line 45 of file ha_service.h.

◆ HAServicePtr

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

Pointer to the HAService class.

Definition at line 1387 of file ha_service.h.

Enumeration Type Documentation

◆ HAServerType

enum class 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

◆ stateToString()

◆ stringToState()

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

◆ HA_BACKUP_ST

◆ HA_BUFFER4_RECEIVE_FAILED

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

Definition at line 11 of file ha_messages.h.

Referenced by buffer4_receive().

◆ HA_BUFFER4_RECEIVE_NOT_FOR_US

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

Definition at line 12 of file ha_messages.h.

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

◆ HA_BUFFER4_RECEIVE_PACKET_OPTIONS_SKIPPED

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

Definition at line 13 of file ha_messages.h.

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

◆ HA_BUFFER4_RECEIVE_UNPACK_FAILED

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

Definition at line 14 of file ha_messages.h.

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

◆ HA_BUFFER6_RECEIVE_FAILED

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

Definition at line 15 of file ha_messages.h.

Referenced by buffer6_receive().

◆ HA_BUFFER6_RECEIVE_NOT_FOR_US

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

Definition at line 16 of file ha_messages.h.

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

◆ HA_BUFFER6_RECEIVE_PACKET_OPTIONS_SKIPPED

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

Definition at line 17 of file ha_messages.h.

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

◆ HA_BUFFER6_RECEIVE_UNPACK_FAILED

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

Definition at line 18 of file ha_messages.h.

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

◆ HA_COMMAND_PROCESSED_FAILED

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

Definition at line 19 of file ha_messages.h.

Referenced by command_processed().

◆ HA_COMMUNICATION_INTERRUPTED

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

Definition at line 20 of file ha_messages.h.

◆ HA_COMMUNICATION_INTERRUPTED_CLIENT4

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

Definition at line 21 of file ha_messages.h.

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

◆ HA_COMMUNICATION_INTERRUPTED_CLIENT4_UNACKED

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

Definition at line 22 of file ha_messages.h.

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

◆ HA_COMMUNICATION_INTERRUPTED_CLIENT6

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

Definition at line 23 of file ha_messages.h.

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

◆ HA_COMMUNICATION_INTERRUPTED_CLIENT6_UNACKED

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

Definition at line 24 of file ha_messages.h.

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

◆ HA_COMMUNICATION_RECOVERY_ST

◆ HA_CONFIG_AUTO_FAILOVER_DISABLED

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

Definition at line 27 of file ha_messages.h.

◆ HA_CONFIG_DHCP_MT_DISABLED

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

Definition at line 28 of file ha_messages.h.

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

◆ HA_CONFIG_DHCP_MT_DISABLED_AND_KEA_MT_ENABLED

const isc::log::MessageID isc::ha::HA_CONFIG_DHCP_MT_DISABLED_AND_KEA_MT_ENABLED = "HA_CONFIG_DHCP_MT_DISABLED_AND_KEA_MT_ENABLED"
extern

Definition at line 29 of file ha_messages.h.

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

◆ HA_CONFIG_LEASE_SYNCING_DISABLED

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

Definition at line 30 of file ha_messages.h.

◆ HA_CONFIG_LEASE_SYNCING_DISABLED_REMINDER

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

Definition at line 31 of file ha_messages.h.

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

◆ HA_CONFIG_LEASE_UPDATES_AND_SYNCING_DIFFER

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

Definition at line 32 of file ha_messages.h.

◆ HA_CONFIG_LEASE_UPDATES_DISABLED

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

Definition at line 33 of file ha_messages.h.

◆ HA_CONFIG_LEASE_UPDATES_DISABLED_REMINDER

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

Definition at line 34 of file ha_messages.h.

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

◆ HA_CONFIG_SYSTEM_MT_UNSUPPORTED

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

Definition at line 35 of file ha_messages.h.

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

◆ HA_CONFIGURATION_FAILED

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

Definition at line 25 of file ha_messages.h.

Referenced by load().

◆ HA_CONFIGURATION_SUCCESSFUL

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

Definition at line 26 of file ha_messages.h.

◆ HA_CONTINUE_HANDLER_FAILED

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

Definition at line 36 of file ha_messages.h.

Referenced by continue_command().

◆ HA_DEINIT_OK

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

Definition at line 37 of file ha_messages.h.

Referenced by unload().

◆ HA_DHCP4_START_SERVICE_FAILED

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

Definition at line 38 of file ha_messages.h.

Referenced by dhcp4_srv_configured().

◆ HA_DHCP6_START_SERVICE_FAILED

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

Definition at line 39 of file ha_messages.h.

Referenced by dhcp6_srv_configured().

◆ HA_DHCP_DISABLE_COMMUNICATIONS_FAILED

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

Definition at line 40 of file ha_messages.h.

◆ HA_DHCP_DISABLE_FAILED

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

Definition at line 41 of file ha_messages.h.

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

◆ HA_DHCP_ENABLE_COMMUNICATIONS_FAILED

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

Definition at line 42 of file ha_messages.h.

◆ HA_DHCP_ENABLE_FAILED

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

Definition at line 43 of file ha_messages.h.

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

◆ HA_HEARTBEAT_COMMUNICATIONS_FAILED

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

Definition at line 44 of file ha_messages.h.

◆ HA_HEARTBEAT_FAILED

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

Definition at line 45 of file ha_messages.h.

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

◆ HA_HEARTBEAT_HANDLER_FAILED

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

Definition at line 46 of file ha_messages.h.

Referenced by heartbeat_command().

◆ HA_HIGH_CLOCK_SKEW

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

Definition at line 47 of file ha_messages.h.

◆ HA_HIGH_CLOCK_SKEW_CAUSED_TERMINATION

const isc::log::MessageID isc::ha::HA_HIGH_CLOCK_SKEW_CAUSED_TERMINATION = "HA_HIGH_CLOCK_SKEW_CAUSED_TERMINATION"
extern

Definition at line 48 of file ha_messages.h.

◆ HA_HOT_STANDBY_ST

◆ HA_IN_MAINTENANCE_ST

const int isc::ha::HA_IN_MAINTENANCE_ST = util::StateModel::SM_DERIVED_STATE_MIN + 5

◆ HA_INIT_OK

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

Definition at line 49 of file ha_messages.h.

Referenced by load().

◆ HA_INVALID_PARTNER_STATE_COMMUNICATION_RECOVERY

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

Definition at line 50 of file ha_messages.h.

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

◆ HA_INVALID_PARTNER_STATE_HOT_STANDBY

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

Definition at line 51 of file ha_messages.h.

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

◆ HA_INVALID_PARTNER_STATE_LOAD_BALANCING

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

Definition at line 52 of file ha_messages.h.

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

◆ HA_LEASE4_SERVER_DECLINE_FAILED

const isc::log::MessageID isc::ha::HA_LEASE4_SERVER_DECLINE_FAILED = "HA_LEASE4_SERVER_DECLINE_FAILED"
extern

Definition at line 53 of file ha_messages.h.

Referenced by lease4_server_decline().

◆ HA_LEASE_SYNC_FAILED

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

Definition at line 69 of file ha_messages.h.

◆ HA_LEASE_SYNC_STALE_LEASE4_SKIP

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

Definition at line 70 of file ha_messages.h.

◆ HA_LEASE_SYNC_STALE_LEASE6_SKIP

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

Definition at line 71 of file ha_messages.h.

◆ HA_LEASE_UPDATE_COMMUNICATIONS_FAILED

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

Definition at line 74 of file ha_messages.h.

◆ HA_LEASE_UPDATE_CONFLICT

const isc::log::MessageID isc::ha::HA_LEASE_UPDATE_CONFLICT = "HA_LEASE_UPDATE_CONFLICT"
extern

Definition at line 75 of file ha_messages.h.

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

◆ HA_LEASE_UPDATE_CREATE_UPDATE_FAILED_ON_PEER

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

Definition at line 76 of file ha_messages.h.

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

◆ HA_LEASE_UPDATE_DELETE_FAILED_ON_PEER

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

Definition at line 77 of file ha_messages.h.

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

◆ HA_LEASE_UPDATE_FAILED

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

Definition at line 78 of file ha_messages.h.

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

◆ HA_LEASE_UPDATE_REJECTS_CAUSED_TERMINATION

const isc::log::MessageID isc::ha::HA_LEASE_UPDATE_REJECTS_CAUSED_TERMINATION = "HA_LEASE_UPDATE_REJECTS_CAUSED_TERMINATION"
extern

Definition at line 79 of file ha_messages.h.

◆ HA_LEASE_UPDATES_DISABLED

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

Definition at line 72 of file ha_messages.h.

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

◆ HA_LEASE_UPDATES_ENABLED

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

Definition at line 73 of file ha_messages.h.

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

◆ HA_LEASES4_COMMITTED_FAILED

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

Definition at line 54 of file ha_messages.h.

Referenced by leases4_committed().

◆ HA_LEASES4_COMMITTED_NO_RELATIONSHIP

const isc::log::MessageID isc::ha::HA_LEASES4_COMMITTED_NO_RELATIONSHIP = "HA_LEASES4_COMMITTED_NO_RELATIONSHIP"
extern

Definition at line 56 of file ha_messages.h.

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

◆ HA_LEASES4_COMMITTED_NOTHING_TO_UPDATE

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

Definition at line 55 of file ha_messages.h.

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

◆ HA_LEASES6_COMMITTED_FAILED

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

Definition at line 57 of file ha_messages.h.

Referenced by leases6_committed().

◆ HA_LEASES6_COMMITTED_NO_RELATIONSHIP

const isc::log::MessageID isc::ha::HA_LEASES6_COMMITTED_NO_RELATIONSHIP = "HA_LEASES6_COMMITTED_NO_RELATIONSHIP"
extern

Definition at line 59 of file ha_messages.h.

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

◆ HA_LEASES6_COMMITTED_NOTHING_TO_UPDATE

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

Definition at line 58 of file ha_messages.h.

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

◆ HA_LEASES_BACKLOG_COMMUNICATIONS_FAILED

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

Definition at line 60 of file ha_messages.h.

◆ HA_LEASES_BACKLOG_FAILED

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

Definition at line 61 of file ha_messages.h.

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

◆ HA_LEASES_BACKLOG_NOTHING_TO_SEND

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

Definition at line 62 of file ha_messages.h.

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

◆ HA_LEASES_BACKLOG_START

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

Definition at line 63 of file ha_messages.h.

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

◆ HA_LEASES_BACKLOG_SUCCESS

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

Definition at line 64 of file ha_messages.h.

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

◆ HA_LEASES_SYNC_APPLIED_LEASES

const isc::log::MessageID isc::ha::HA_LEASES_SYNC_APPLIED_LEASES = "HA_LEASES_SYNC_APPLIED_LEASES"
extern

Definition at line 65 of file ha_messages.h.

◆ HA_LEASES_SYNC_COMMUNICATIONS_FAILED

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

Definition at line 66 of file ha_messages.h.

◆ HA_LEASES_SYNC_FAILED

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

Definition at line 67 of file ha_messages.h.

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

◆ HA_LEASES_SYNC_LEASE_PAGE_RECEIVED

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

Definition at line 68 of file ha_messages.h.

◆ HA_LOAD_BALANCING_DUID_MISSING

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

Definition at line 80 of file ha_messages.h.

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

◆ HA_LOAD_BALANCING_IDENTIFIER_MISSING

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

Definition at line 81 of file ha_messages.h.

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

◆ HA_LOAD_BALANCING_ST

◆ HA_LOCAL_DHCP_DISABLE

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

Definition at line 82 of file ha_messages.h.

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

◆ HA_LOCAL_DHCP_ENABLE

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

Definition at line 83 of file ha_messages.h.

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

◆ ha_logger

isc::log::Logger isc::ha::ha_logger ( "ha-hooks" )

Definition at line 17 of file ha_log.h.

Referenced by isc::ha::HAService::HAService(), 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::asyncSyncCompleteNotify(), isc::ha::HAService::asyncSyncLeasesInternal(), buffer4_receive(), isc::ha::HAImpl::buffer4Receive(), buffer6_receive(), isc::ha::HAImpl::buffer6Receive(), isc::ha::HAService::checkPermissionsClientAndListener(), command_processed(), isc::ha::HAService::conditionalLogPausedState(), continue_command(), dhcp4_srv_configured(), dhcp6_srv_configured(), ha_reset_command(), heartbeat_command(), isc::ha::HAService::isPartnerStateInvalid(), lease4_server_decline(), leases4_committed(), isc::ha::HAImpl::leases4Committed(), leases6_committed(), isc::ha::HAImpl::leases6Committed(), load(), isc::ha::QueryFilter::loadBalance(), isc::ha::QueryFilter::loadBalance(), isc::ha::HAService::logFailedLeaseUpdates(), maintenance_cancel_command(), maintenance_notify_command(), maintenance_start_command(), isc::ha::HAService::pauseClientAndListener(), isc::ha::HAService::processMaintenanceCancel(), isc::ha::HAService::processMaintenanceStart(), isc::ha::HAService::resumeClientAndListener(), scopes_command(), isc::ha::HAService::sendLeaseUpdatesFromBacklog(), subnet4_select(), isc::ha::HAImpl::subnet4Select(), subnet6_select(), isc::ha::HAImpl::subnet6Select(), sync_command(), sync_complete_notify_command(), isc::ha::HAService::synchronize(), unload(), isc::ha::HAService::unpause(), isc::ha::HAConfig::validate(), and isc::ha::HAService::verboseTransition().

◆ HA_MAINTENANCE_CANCEL_HANDLER_FAILED

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

Definition at line 84 of file ha_messages.h.

Referenced by maintenance_cancel_command().

◆ HA_MAINTENANCE_NOTIFY_CANCEL_COMMUNICATIONS_FAILED

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

Definition at line 85 of file ha_messages.h.

◆ HA_MAINTENANCE_NOTIFY_CANCEL_FAILED

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

Definition at line 86 of file ha_messages.h.

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

◆ HA_MAINTENANCE_NOTIFY_COMMUNICATIONS_FAILED

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

Definition at line 87 of file ha_messages.h.

◆ HA_MAINTENANCE_NOTIFY_FAILED

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

Definition at line 88 of file ha_messages.h.

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

◆ HA_MAINTENANCE_NOTIFY_HANDLER_FAILED

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

Definition at line 89 of file ha_messages.h.

Referenced by maintenance_notify_command().

◆ HA_MAINTENANCE_SHUTDOWN_SAFE

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

Definition at line 90 of file ha_messages.h.

◆ HA_MAINTENANCE_START_HANDLER_FAILED

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

Definition at line 93 of file ha_messages.h.

Referenced by maintenance_start_command().

◆ HA_MAINTENANCE_STARTED

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

Definition at line 91 of file ha_messages.h.

◆ HA_MAINTENANCE_STARTED_IN_PARTNER_DOWN

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

Definition at line 92 of file ha_messages.h.

◆ HA_MISSING_CONFIGURATION

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

Definition at line 94 of file ha_messages.h.

Referenced by load().

◆ HA_PARTNER_DOWN_ST

const int isc::ha::HA_PARTNER_DOWN_ST = util::StateModel::SM_DERIVED_STATE_MIN + 6

◆ HA_PARTNER_IN_MAINTENANCE_ST

◆ HA_PASSIVE_BACKUP_ST

const int isc::ha::HA_PASSIVE_BACKUP_ST = util::StateModel::SM_DERIVED_STATE_MIN + 8

In passive-backup state with a single active server and backup servers.

Definition at line 38 of file ha_service_states.h.

Referenced by isc::ha::HAService::adjustNetworkState(), isc::ha::HAService::getNormalState(), stateToString(), and stringToState().

◆ HA_PAUSE_CLIENT_LISTENER_FAILED

const isc::log::MessageID isc::ha::HA_PAUSE_CLIENT_LISTENER_FAILED = "HA_PAUSE_CLIENT_LISTENER_FAILED"
extern

◆ HA_PAUSE_CLIENT_LISTENER_ILLEGAL

const isc::log::MessageID isc::ha::HA_PAUSE_CLIENT_LISTENER_ILLEGAL = "HA_PAUSE_CLIENT_LISTENER_ILLEGAL"
extern

Definition at line 96 of file ha_messages.h.

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

◆ HA_READY_ST

const int isc::ha::HA_READY_ST = util::StateModel::SM_DERIVED_STATE_MIN + 9

Server ready state, i.e. synchronized database, can enable DHCP service.

Definition at line 41 of file ha_service_states.h.

Referenced by stateToString(), stringToState(), and isc::ha::HAService::verboseTransition().

◆ HA_RESET_COMMUNICATIONS_FAILED

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

Definition at line 97 of file ha_messages.h.

◆ HA_RESET_FAILED

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

Definition at line 98 of file ha_messages.h.

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

◆ HA_RESET_HANDLER_FAILED

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

Definition at line 99 of file ha_messages.h.

Referenced by ha_reset_command().

◆ HA_RESUME_CLIENT_LISTENER_FAILED

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

Definition at line 100 of file ha_messages.h.

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

◆ HA_SCOPES_HANDLER_FAILED

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

Definition at line 101 of file ha_messages.h.

Referenced by scopes_command().

◆ HA_SERVICE_STARTED

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

Definition at line 102 of file ha_messages.h.

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

◆ HA_STATE_MACHINE_CONTINUED

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

Definition at line 103 of file ha_messages.h.

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

◆ HA_STATE_MACHINE_PAUSED

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

Definition at line 104 of file ha_messages.h.

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

◆ HA_STATE_TRANSITION

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

Definition at line 105 of file ha_messages.h.

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

◆ HA_STATE_TRANSITION_PASSIVE_BACKUP

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

Definition at line 106 of file ha_messages.h.

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

◆ HA_SUBNET4_SELECT_FAILED

const isc::log::MessageID isc::ha::HA_SUBNET4_SELECT_FAILED = "HA_SUBNET4_SELECT_FAILED"
extern

Definition at line 107 of file ha_messages.h.

Referenced by subnet4_select().

◆ HA_SUBNET4_SELECT_INVALID_HA_SERVER_NAME

const isc::log::MessageID isc::ha::HA_SUBNET4_SELECT_INVALID_HA_SERVER_NAME = "HA_SUBNET4_SELECT_INVALID_HA_SERVER_NAME"
extern

Definition at line 108 of file ha_messages.h.

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

◆ HA_SUBNET4_SELECT_NO_RELATIONSHIP_FOR_SUBNET

const isc::log::MessageID isc::ha::HA_SUBNET4_SELECT_NO_RELATIONSHIP_FOR_SUBNET = "HA_SUBNET4_SELECT_NO_RELATIONSHIP_FOR_SUBNET"
extern

Definition at line 110 of file ha_messages.h.

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

◆ HA_SUBNET4_SELECT_NO_RELATIONSHIP_SELECTOR_FOR_SUBNET

const isc::log::MessageID isc::ha::HA_SUBNET4_SELECT_NO_RELATIONSHIP_SELECTOR_FOR_SUBNET = "HA_SUBNET4_SELECT_NO_RELATIONSHIP_SELECTOR_FOR_SUBNET"
extern

Definition at line 111 of file ha_messages.h.

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

◆ HA_SUBNET4_SELECT_NO_SUBNET_SELECTED

const isc::log::MessageID isc::ha::HA_SUBNET4_SELECT_NO_SUBNET_SELECTED = "HA_SUBNET4_SELECT_NO_SUBNET_SELECTED"
extern

Definition at line 112 of file ha_messages.h.

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

◆ HA_SUBNET4_SELECT_NOT_FOR_US

const isc::log::MessageID isc::ha::HA_SUBNET4_SELECT_NOT_FOR_US = "HA_SUBNET4_SELECT_NOT_FOR_US"
extern

Definition at line 109 of file ha_messages.h.

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

◆ HA_SUBNET6_SELECT_FAILED

const isc::log::MessageID isc::ha::HA_SUBNET6_SELECT_FAILED = "HA_SUBNET6_SELECT_FAILED"
extern

Definition at line 113 of file ha_messages.h.

Referenced by subnet6_select().

◆ HA_SUBNET6_SELECT_INVALID_HA_SERVER_NAME

const isc::log::MessageID isc::ha::HA_SUBNET6_SELECT_INVALID_HA_SERVER_NAME = "HA_SUBNET6_SELECT_INVALID_HA_SERVER_NAME"
extern

Definition at line 114 of file ha_messages.h.

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

◆ HA_SUBNET6_SELECT_NO_RELATIONSHIP_FOR_SUBNET

const isc::log::MessageID isc::ha::HA_SUBNET6_SELECT_NO_RELATIONSHIP_FOR_SUBNET = "HA_SUBNET6_SELECT_NO_RELATIONSHIP_FOR_SUBNET"
extern

Definition at line 116 of file ha_messages.h.

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

◆ HA_SUBNET6_SELECT_NO_RELATIONSHIP_SELECTOR_FOR_SUBNET

const isc::log::MessageID isc::ha::HA_SUBNET6_SELECT_NO_RELATIONSHIP_SELECTOR_FOR_SUBNET = "HA_SUBNET6_SELECT_NO_RELATIONSHIP_SELECTOR_FOR_SUBNET"
extern

Definition at line 117 of file ha_messages.h.

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

◆ HA_SUBNET6_SELECT_NO_SUBNET_SELECTED

const isc::log::MessageID isc::ha::HA_SUBNET6_SELECT_NO_SUBNET_SELECTED = "HA_SUBNET6_SELECT_NO_SUBNET_SELECTED"
extern

Definition at line 118 of file ha_messages.h.

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

◆ HA_SUBNET6_SELECT_NOT_FOR_US

const isc::log::MessageID isc::ha::HA_SUBNET6_SELECT_NOT_FOR_US = "HA_SUBNET6_SELECT_NOT_FOR_US"
extern

Definition at line 115 of file ha_messages.h.

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

◆ HA_SYNC_COMPLETE_NOTIFY_COMMUNICATIONS_FAILED

const isc::log::MessageID isc::ha::HA_SYNC_COMPLETE_NOTIFY_COMMUNICATIONS_FAILED = "HA_SYNC_COMPLETE_NOTIFY_COMMUNICATIONS_FAILED"
extern

Definition at line 119 of file ha_messages.h.

◆ HA_SYNC_COMPLETE_NOTIFY_FAILED

const isc::log::MessageID isc::ha::HA_SYNC_COMPLETE_NOTIFY_FAILED = "HA_SYNC_COMPLETE_NOTIFY_FAILED"
extern

Definition at line 120 of file ha_messages.h.

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

◆ HA_SYNC_COMPLETE_NOTIFY_HANDLER_FAILED

const isc::log::MessageID isc::ha::HA_SYNC_COMPLETE_NOTIFY_HANDLER_FAILED = "HA_SYNC_COMPLETE_NOTIFY_HANDLER_FAILED"
extern

Definition at line 121 of file ha_messages.h.

Referenced by sync_complete_notify_command().

◆ HA_SYNC_FAILED

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

Definition at line 122 of file ha_messages.h.

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

◆ HA_SYNC_HANDLER_FAILED

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

Definition at line 123 of file ha_messages.h.

Referenced by sync_command().

◆ HA_SYNC_START

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

Definition at line 124 of file ha_messages.h.

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

◆ HA_SYNC_SUCCESSFUL

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

Definition at line 125 of file ha_messages.h.

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

◆ HA_SYNCING_ST

const int isc::ha::HA_SYNCING_ST = util::StateModel::SM_DERIVED_STATE_MIN + 10

Synchronizing database state.

Definition at line 44 of file ha_service_states.h.

Referenced by stateToString(), and stringToState().

◆ HA_TERMINATED

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

Definition at line 126 of file ha_messages.h.

◆ HA_TERMINATED_PARTNER_DID_NOT_RESTART

const isc::log::MessageID isc::ha::HA_TERMINATED_PARTNER_DID_NOT_RESTART = "HA_TERMINATED_PARTNER_DID_NOT_RESTART"
extern

Definition at line 127 of file ha_messages.h.

◆ HA_TERMINATED_RESTART_PARTNER

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

Definition at line 128 of file ha_messages.h.

◆ HA_TERMINATED_ST

◆ HA_UNAVAILABLE_ST

const int isc::ha::HA_UNAVAILABLE_ST = util::StateModel::SM_DERIVED_STATE_MIN + 1000

Special state indicating that this server is unable to communicate with the partner.

Definition at line 54 of file ha_service_states.h.

Referenced by stateToString(), and stringToState().

◆ HA_WAITING_ST

◆ impl