summaryrefslogtreecommitdiffstats
path: root/src/hooks/dhcp/high_availability/ha_server_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hooks/dhcp/high_availability/ha_server_type.h')
-rw-r--r--src/hooks/dhcp/high_availability/ha_server_type.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/hooks/dhcp/high_availability/ha_server_type.h b/src/hooks/dhcp/high_availability/ha_server_type.h
new file mode 100644
index 0000000..e675508
--- /dev/null
+++ b/src/hooks/dhcp/high_availability/ha_server_type.h
@@ -0,0 +1,23 @@
+// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#ifndef HA_SERVER_TYPE_H
+#define HA_SERVER_TYPE_H
+
+namespace isc {
+namespace ha {
+
+/// @brief Lists possible server types for which HA service is created.
+enum class HAServerType {
+ DHCPv4,
+ DHCPv6
+};
+
+} // end of namespace isc::ha
+} // end of namespace isc
+
+#endif // HA_SERVER_TYPE_H
+