From 54839a050ce07daae8279d9a5655009b5f3803fd Mon Sep 17 00:00:00 2001 From: Trekkie <111065900+TrekkieCoder@users.noreply.github.com> Date: Mon, 13 Jan 2025 09:34:50 +0900 Subject: [PATCH 1/2] chore: Update README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 61c4bfb6b..a8053f7d3 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Additionally, loxilb also supports: - [x] kube-proxy replacement with eBPF(full cluster-mesh implementation for Kubernetes) - [x] Ingress Support - [x] Kubernetes Gateway API +- [x] HA capable Egress for Kubernetes - [ ] Kubernetes Network Policies ## Telco-Cloud with loxilb From 8c042e3050cf03da9557c3efe6fb4b3c3ff5a64d Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Mon, 13 Jan 2025 12:01:51 +0900 Subject: [PATCH 2/2] changed hardcoded zone instance name to contant --- pkg/loxinet/apiclient.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/loxinet/apiclient.go b/pkg/loxinet/apiclient.go index d168092a5..51482ae35 100644 --- a/pkg/loxinet/apiclient.go +++ b/pkg/loxinet/apiclient.go @@ -338,7 +338,7 @@ func (na *NetAPIStruct) NetLbRuleAdd(lm *cmn.LbRuleMod) (int, error) { for _, ip := range lm.SecIPs { ips = append(ips, ip.SecIP) } - mh.bgp.AddBGPRule("default", ips) + mh.bgp.AddBGPRule(cmn.CIDefault, ips) } else { tk.LogIt(tk.LogDebug, "loxilb BGP mode is disabled \n") } @@ -359,7 +359,7 @@ func (na *NetAPIStruct) NetLbRuleDel(lm *cmn.LbRuleMod) (int, error) { if lm.Serv.Bgp { if mh.bgp != nil { ips = append(ips, lm.Serv.ServIP) - mh.bgp.DelBGPRule("default", ips) + mh.bgp.DelBGPRule(cmn.CIDefault, ips) } else { tk.LogIt(tk.LogDebug, "loxilb BGP mode is disabled \n") }