• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Mellanox / ovn-kubernetes / 39248826609
59%

Build:
DEFAULT BRANCH: main
Ran 19 Oct 2026 12:37PM UTC
Jobs 1
Files 348
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Oct 2026 09:29AM UTC coverage: 59.284% (-0.02%) from 59.299%
39248826609

push

github

aserdean
feat: add option to disable SNAT on default gateway routers

Add a new --disable-snat-gateway-routers CLI flag
(env: OVN_DISABLE_SNAT_GATEWAY_ROUTERS) that disables default
cluster-subnet SNAT rules on gateway routers for the default network.

When enabled, OVN will not install SNAT rules that masquerade pod
traffic behind the node's external IP on gateway routers. This is
useful in deployments where pod CIDRs are externally routable (e.g.,
BGP-advertised) and SNAT would break return path routing.

Changes:
- config: add DisableSNATGatewayRouters bool to GatewayConfig and
  register the --disable-snat-gateway-routers CLI flag
- gateway: skip NAT rule installation in updateGWRouterNAT when the
  flag is set on the default network; stale NAT entries are still
  cleaned up on upgrade
- ovnkube.sh: wire OVN_DISABLE_SNAT_GATEWAY_ROUTERS into ovn-master,
  ovnkube-controller, ovnkube-controller-with-node, ovn-cluster-manager
  and ovn-node modes
- tests: add gateway_test case verifying no SNAT rules are created when
  the flag is set; update master_test skipSnat logic to cover the new flag

Signed-off-by: Hareesh Puthalath <hareeshp@nvidia.com>
(cherry picked from commit d8e8aa510)

5 of 5 new or added lines in 1 file covered. (100.0%)

39 existing lines in 11 files now uncovered.

56987 of 96125 relevant lines covered (59.28%)

315.2 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
65.77
-1.26% go-controller/pkg/ovn/controller/apbroute/external_controller.go
7
62.6
-5.34% go-controller/pkg/ovn/controller/network_qos/network_qos_namespace.go
4
86.42
0.7% go-controller/pkg/clustermanager/managedbgp/controller.go
4
62.74
-1.1% go-controller/pkg/ovn/controller/network_qos/network_qos.go
4
67.05
-0.65% go-controller/pkg/ovn/master.go
3
79.41
-0.11% go-controller/pkg/clustermanager/userdefinednetwork/controller.go
3
78.07
-1.32% go-controller/pkg/node/routemanager/route_manager.go
2
60.78
-3.92% go-controller/pkg/ovn/controller/apbroute/external_controller_pod.go
2
60.07
-0.24% go-controller/pkg/ovn/default_network_controller.go
2
80.47
0.18% go-controller/pkg/ovn/gateway.go
1
75.06
-0.11% go-controller/pkg/ovn/base_network_controller_pods.go
Jobs
ID Job ID Ran Files Coverage
1 39248826609.1 19 Oct 2026 12:37PM UTC 348
59.28
GitHub Action Run
Source Files on build 39248826609
  • Tree
  • List 348
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 267b9d07 on github
  • Prev Build on main (#37166012020)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc