2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

[#3106] Network state constants further apart

This commit is contained in:
Marcin Siodelski 2023-11-28 13:41:46 +01:00
parent 24f68c0854
commit e9ea1a1b6a
2 changed files with 3 additions and 3 deletions

View File

@ -2411,7 +2411,7 @@ responding to clients.
"command": "ha-sync-complete-notify", "command": "ha-sync-complete-notify",
"service": [ "dhcp4" ], "service": [ "dhcp4" ],
"arguments": { "arguments": {
"origin": 1100, "origin": 2000,
"server-name": "server2" "server-name": "server2"
} }
} }

View File

@ -100,11 +100,11 @@ public:
/// ///
/// Specify HA service-specific origins by adding a unique remote service /// Specify HA service-specific origins by adding a unique remote service
/// identifier to this constant. /// identifier to this constant.
static const unsigned int HA_REMOTE_COMMAND = 1100; static const unsigned int HA_REMOTE_COMMAND = 2000;
/// @brief The network state is being altered by the DB connection /// @brief The network state is being altered by the DB connection
/// recovery mechanics. /// recovery mechanics.
static const unsigned int DB_CONNECTION = 2000; static const unsigned int DB_CONNECTION = 3000;
/// @brief Type of the container holding collection of subnet identifiers. /// @brief Type of the container holding collection of subnet identifiers.
typedef std::set<SubnetID> Subnets; typedef std::set<SubnetID> Subnets;