mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
kea: add package for high availability hook
This allows running multiple kea instances in load balancing or hot-standby mode, minimizing risk of downtime. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
@@ -120,6 +120,16 @@ define Package/kea-admin/description
|
|||||||
checking versions, upgrading etc.).
|
checking versions, upgrading etc.).
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
###### *************************************************************************
|
||||||
|
define Package/kea-hook-ha
|
||||||
|
$(call Package/kea/Default)
|
||||||
|
TITLE+=High Availability hook library
|
||||||
|
DEPENDS:=+kea-libs +kea-hook-lease-cmds
|
||||||
|
endef
|
||||||
|
define Package/kea-hook-ha/description
|
||||||
|
The high availability hook library.
|
||||||
|
endef
|
||||||
|
|
||||||
###### *************************************************************************
|
###### *************************************************************************
|
||||||
define Package/kea-hook-lease-cmds
|
define Package/kea-hook-lease-cmds
|
||||||
$(call Package/kea/Default)
|
$(call Package/kea/Default)
|
||||||
@@ -245,6 +255,11 @@ define Package/kea-admin/install
|
|||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/kea-admin $(1)/usr/sbin/kea-admin
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/kea-admin $(1)/usr/sbin/kea-admin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/kea-hook-ha/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib/kea/hooks
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/kea/hooks/libdhcp_ha.so $(1)/usr/lib/kea/hooks
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/kea-hook-lease-cmds/install
|
define Package/kea-hook-lease-cmds/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/kea/hooks
|
$(INSTALL_DIR) $(1)/usr/lib/kea/hooks
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/kea/hooks/libdhcp_lease_cmds.so $(1)/usr/lib/kea/hooks
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/kea/hooks/libdhcp_lease_cmds.so $(1)/usr/lib/kea/hooks
|
||||||
@@ -280,6 +295,7 @@ $(eval $(call BuildPackage,kea-dhcp4))
|
|||||||
$(eval $(call BuildPackage,kea-dhcp6))
|
$(eval $(call BuildPackage,kea-dhcp6))
|
||||||
$(eval $(call BuildPackage,kea-dhcp-ddns))
|
$(eval $(call BuildPackage,kea-dhcp-ddns))
|
||||||
$(eval $(call BuildPackage,kea-admin))
|
$(eval $(call BuildPackage,kea-admin))
|
||||||
|
$(eval $(call BuildPackage,kea-hook-ha))
|
||||||
$(eval $(call BuildPackage,kea-hook-lease-cmds))
|
$(eval $(call BuildPackage,kea-hook-lease-cmds))
|
||||||
$(eval $(call BuildPackage,kea-lfc))
|
$(eval $(call BuildPackage,kea-lfc))
|
||||||
$(eval $(call BuildPackage,kea-perfdhcp))
|
$(eval $(call BuildPackage,kea-perfdhcp))
|
||||||
|
|||||||
Reference in New Issue
Block a user