Skip to content

Commit b8915af

Browse files
authored
feat: add availability stack (#871)
Issue: #920
2 parents 5746b26 + 62fde14 commit b8915af

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3610
-6
lines changed

config/ha.conf

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
CONFIG_PACKAGE_sudo=y
2+
CONFIG_PACKAGE_kmod-nf-ipvs=y
3+
CONFIG_PACKAGE_kmod-macvlan=y
4+
CONFIG_PACKAGE_libinotifytools=y
5+
CONFIG_PACKAGE_libnl-core=y
6+
CONFIG_PACKAGE_libnl-genl=y
7+
CONFIG_PACKAGE_libnl-route=y
8+
CONFIG_PACKAGE_conntrackd=y
9+
CONFIG_PACKAGE_keepalived=y
10+
11+
CONFIG_KEEPALIVED_SHA1=y
12+
CONFIG_KEEPALIVED_LVS=y
13+
CONFIG_KEEPALIVED_LVS_SYNCD=y
14+
CONFIG_KEEPALIVED_LVS_64BIT_STATS=y
15+
CONFIG_KEEPALIVED_FWMARK=y
16+
CONFIG_KEEPALIVED_VRRP=y
17+
CONFIG_KEEPALIVED_IPTABLES=y
18+
CONFIG_KEEPALIVED_IP6TABLES=y
19+
CONFIG_KEEPALIVED_NFTABLES=y
20+
CONFIG_KEEPALIVED_VRRP_AUTH=y
21+
CONFIG_KEEPALIVED_CHECKSUM_COMPAT=y
22+
CONFIG_KEEPALIVED_ROUTES=y
23+
CONFIG_KEEPALIVED_LINKBEAT=y
24+
25+
CONFIG_PACKAGE_keepalived-sync=y
26+
CONFIG_PACKAGE_coreutils-timeout=y
27+
CONFIG_PACKAGE_inotifywait=y
28+
29+
CONFIG_PACKAGE_luci-app-keepalived=y
30+
31+
CONFIG_PACKAGE_ns-ha=y

packages/ns-api/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ define Package/ns-api
2121
CATEGORY:=NethSecurity
2222
TITLE:=NethSecurity REST API
2323
URL:=https://github.com/NethServer/nethsecurity-controller/
24-
DEPENDS:=+python3-nethsec +python3-openssl +python3-urllib +python3-idna +python3-requests
24+
DEPENDS:=+python3-nethsec +python3-openssl +python3-urllib +python3-idna +python3-requests +python3-paramiko
2525
PKGARCH:=all
2626
endef
2727

@@ -162,6 +162,8 @@ define Package/ns-api/install
162162
$(INSTALL_DATA) ./files/ns.nathelpers.json $(1)/usr/share/rpcd/acl.d/
163163
$(INSTALL_BIN) ./files/ns.wizard $(1)/usr/libexec/rpcd/
164164
$(INSTALL_DATA) ./files/ns.wizard.json $(1)/usr/share/rpcd/acl.d/
165+
$(INSTALL_BIN) ./files/ns.ha $(1)/usr/libexec/rpcd/
166+
$(INSTALL_DATA) ./files/ns.ha.json $(1)/usr/share/rpcd/acl.d/
165167
$(INSTALL_DIR) $(1)/lib/upgrade/keep.d
166168
$(INSTALL_CONF) files/msmtp.keep $(1)/lib/upgrade/keep.d/msmtp
167169
$(INSTALL_CONF) files/nat-helpers.keep $(1)/lib/upgrade/keep.d/nat-helpers

0 commit comments

Comments
 (0)