diff --git a/README.md b/README.md index 61c4bfb6..a8053f7d 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 diff --git a/pkg/loxinet/apiclient.go b/pkg/loxinet/apiclient.go index d168092a..51482ae3 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") }