Kea
1.9.9-git
|
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< CommunicationState4 > | CommunicationState4Ptr |
Pointer to the CommunicationState4 object. More... | |
typedef boost::shared_ptr< CommunicationState6 > | CommunicationState6Ptr |
Pointer to the CommunicationState6 object. More... | |
typedef boost::shared_ptr< CommunicationState > | CommunicationStatePtr |
Type of the pointer to the CommunicationState object. More... | |
typedef boost::shared_ptr< HAConfig > | HAConfigPtr |
Pointer to the High Availability configuration structure. More... | |
typedef boost::shared_ptr< HAImpl > | HAImplPtr |
Pointer to the High Availability hooks library implementation. More... | |
typedef boost::shared_ptr< HAService > | HAServicePtr |
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... | |
typedef boost::shared_ptr<CommunicationState4> isc::ha::CommunicationState4Ptr |
Pointer to the CommunicationState4
object.
Definition at line 650 of file communication_state.h.
typedef boost::shared_ptr<CommunicationState6> isc::ha::CommunicationState6Ptr |
Pointer to the CommunicationState6
object.
Definition at line 766 of file communication_state.h.
typedef boost::shared_ptr<CommunicationState> isc::ha::CommunicationStatePtr |
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 |
typedef boost::shared_ptr<HAService> isc::ha::HAServicePtr |
Pointer to the HAService
class.
Definition at line 1240 of file ha_service.h.
|
strong |
Lists possible server types for which HA service is created.
Enumerator | |
---|---|
DHCPv4 | |
DHCPv6 |
Definition at line 14 of file ha_server_type.h.
std::string isc::ha::stateToString | ( | int | state | ) |
Returns state name.
state | state identifier for which name should be returned. |
BadValue | if the state identifier is unsupported. |
Definition at line 14 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.
Referenced by isc::ha::HAService::conditionalLogPausedState(), isc::ha::HAService::defineStates(), isc::ha::CommunicationState::getReport(), isc::ha::HAService::processMaintenanceNotify(), isc::ha::HAService::processMaintenanceStart(), and isc::ha::HAService::processStatusGet().
int isc::ha::stringToState | ( | const std::string & | state_name | ) |
Returns state for a given name.
state_name | name of the state to be returned. |
BadValue | if 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.
const int isc::ha::HA_BACKUP_ST = util::StateModel::SM_DERIVED_STATE_MIN + 1 |
Backup state.
Definition at line 17 of file ha_service_states.h.
Referenced by isc::ha::HAService::defineStates(), isc::ha::HAService::getNormalState(), isc::ha::HAService::processMaintenanceNotify(), isc::ha::HAService::processMaintenanceStart(), stateToString(), stringToState(), and isc::ha::HAService::waitingStateHandler().
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 int isc::ha::HA_COMMUNICATION_RECOVERY_ST = util::StateModel::SM_DERIVED_STATE_MIN + 2 |
Communication recovery state.
Definition at line 20 of file ha_service_states.h.
Referenced by isc::ha::HAService::adjustNetworkState(), isc::ha::HAService::communicationRecoveryHandler(), isc::ha::HAService::defineStates(), isc::ha::HAService::isPartnerStateInvalid(), isc::ha::HAService::normalStateHandler(), isc::ha::HAService::partnerDownStateHandler(), isc::ha::HAService::readyStateHandler(), isc::ha::HAService::shouldQueueLeaseUpdates(), stateToString(), stringToState(), and isc::ha::HAService::waitingStateHandler().
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 int isc::ha::HA_HOT_STANDBY_ST = util::StateModel::SM_DERIVED_STATE_MIN + 3 |
Hot standby state.
Definition at line 23 of file ha_service_states.h.
Referenced by isc::ha::HAService::adjustNetworkState(), isc::ha::HAService::defineStates(), isc::ha::HAService::getNormalState(), isc::ha::HAService::isPartnerStateInvalid(), isc::ha::HAService::partnerDownStateHandler(), isc::ha::HAService::readyStateHandler(), isc::ha::HAService::shouldSendLeaseUpdates(), stateToString(), stringToState(), and isc::ha::HAService::waitingStateHandler().
const int isc::ha::HA_IN_MAINTENANCE_ST = util::StateModel::SM_DERIVED_STATE_MIN + 5 |
In maintenance state.
Definition at line 29 of file ha_service_states.h.
Referenced by isc::ha::HAService::communicationRecoveryHandler(), isc::ha::HAService::defineStates(), isc::ha::HAService::normalStateHandler(), isc::ha::HAService::processMaintenanceNotify(), isc::ha::HAService::processMaintenanceStart(), isc::ha::HAService::readyStateHandler(), stateToString(), stringToState(), and isc::ha::HAService::waitingStateHandler().
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 int isc::ha::HA_LOAD_BALANCING_ST = util::StateModel::SM_DERIVED_STATE_MIN + 4 |
Load balancing state.
Definition at line 26 of file ha_service_states.h.
Referenced by isc::ha::HAService::adjustNetworkState(), isc::ha::HAService::defineStates(), isc::ha::HAService::getNormalState(), isc::ha::HAService::isPartnerStateInvalid(), isc::ha::HAService::partnerDownStateHandler(), isc::ha::HAService::readyStateHandler(), isc::ha::HAService::shouldSendLeaseUpdates(), stateToString(), stringToState(), and isc::ha::HAService::waitingStateHandler().
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_PARTNER_DOWN_ST = util::StateModel::SM_DERIVED_STATE_MIN + 6 |
Partner down state.
Definition at line 32 of file ha_service_states.h.
Referenced by isc::ha::HAService::adjustNetworkState(), isc::ha::HAService::communicationRecoveryHandler(), isc::ha::HAService::defineStates(), isc::ha::HAService::normalStateHandler(), isc::ha::HAService::partnerDownStateHandler(), isc::ha::HAService::partnerInMaintenanceStateHandler(), isc::ha::HAService::processMaintenanceStart(), isc::ha::HAService::readyStateHandler(), stateToString(), stringToState(), isc::ha::HAService::syncingStateHandler(), and isc::ha::HAService::waitingStateHandler().
const int isc::ha::HA_PARTNER_IN_MAINTENANCE_ST = util::StateModel::SM_DERIVED_STATE_MIN + 7 |
Partner in-maintenance state.
Definition at line 35 of file ha_service_states.h.
Referenced by isc::ha::HAService::adjustNetworkState(), isc::ha::HAService::communicationRecoveryHandler(), isc::ha::HAService::defineStates(), isc::ha::HAService::normalStateHandler(), isc::ha::HAService::partnerDownStateHandler(), isc::ha::HAService::processMaintenanceCancel(), isc::ha::HAService::processMaintenanceNotify(), isc::ha::HAService::processMaintenanceStart(), isc::ha::HAService::readyStateHandler(), isc::ha::HAService::shouldSendLeaseUpdates(), stateToString(), stringToState(), and isc::ha::HAService::waitingStateHandler().
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::defineStates(), isc::ha::HAService::getNormalState(), stateToString(), stringToState(), and isc::ha::HAService::waitingStateHandler().
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 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 isc::ha::HAService::communicationRecoveryHandler(), isc::ha::HAService::defineStates(), isc::ha::HAService::partnerDownStateHandler(), isc::ha::HAService::readyStateHandler(), stateToString(), stringToState(), isc::ha::HAService::syncingStateHandler(), isc::ha::HAService::verboseTransition(), and isc::ha::HAService::waitingStateHandler().
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 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 isc::ha::HAService::communicationRecoveryHandler(), isc::ha::HAService::defineStates(), stateToString(), stringToState(), and isc::ha::HAService::waitingStateHandler().
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().
const int isc::ha::HA_TERMINATED_ST = util::StateModel::SM_DERIVED_STATE_MIN + 11 |
HA service terminated state.
Definition at line 47 of file ha_service_states.h.
Referenced by isc::ha::HAService::adjustNetworkState(), isc::ha::HAService::communicationRecoveryHandler(), isc::ha::HAService::defineStates(), isc::ha::HAService::normalStateHandler(), isc::ha::HAService::partnerDownStateHandler(), isc::ha::HAService::partnerInMaintenanceStateHandler(), isc::ha::HAService::processMaintenanceNotify(), isc::ha::HAService::processMaintenanceStart(), isc::ha::HAService::readyStateHandler(), stateToString(), stringToState(), isc::ha::HAService::syncingStateHandler(), and isc::ha::HAService::waitingStateHandler().
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 isc::ha::HAService::communicationRecoveryHandler(), isc::ha::HAService::normalStateHandler(), isc::ha::HAService::partnerInMaintenanceStateHandler(), isc::ha::HAService::readyStateHandler(), stateToString(), stringToState(), isc::ha::HAService::syncingStateHandler(), and isc::ha::HAService::waitingStateHandler().
const int isc::ha::HA_WAITING_ST = util::StateModel::SM_DERIVED_STATE_MIN + 12 |
Server waiting state, i.e. waiting for another server to be ready.
Definition at line 50 of file ha_service_states.h.
Referenced by isc::ha::HAService::communicationRecoveryHandler(), isc::ha::HAService::defineStates(), isc::ha::HAService::HAService(), isc::ha::HAService::normalStateHandler(), isc::ha::HAService::partnerDownStateHandler(), isc::ha::HAService::processHAReset(), isc::ha::HAService::readyStateHandler(), stateToString(), stringToState(), isc::ha::HAService::syncingStateHandler(), isc::ha::HAService::verboseTransition(), and isc::ha::HAService::waitingStateHandler().
HAImplPtr isc::ha::impl |
Definition at line 26 of file ha_callouts.cc.
Referenced by buffer4_receive(), buffer6_receive(), command_processed(), continue_command(), dhcp4_srv_configured(), dhcp6_srv_configured(), ha_reset_command(), heartbeat_command(), leases4_committed(), leases6_committed(), load(), maintenance_cancel_command(), maintenance_notify_command(), maintenance_start_command(), scopes_command(), sync_command(), and unload().