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

Mellanox / ovn-kubernetes / 39125553868
59%

Build:
DEFAULT BRANCH: main
Ran 18 Oct 2026 12:38PM 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.337% (+0.04%) from 59.299%
39125553868

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%)

14 existing lines in 5 files now uncovered.

57038 of 96125 relevant lines covered (59.34%)

315.17 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
80.19
-0.1% go-controller/pkg/ovn/gateway.go
3
78.07
-1.32% go-controller/pkg/node/routemanager/route_manager.go
2
86.89
1.17% go-controller/pkg/clustermanager/managedbgp/controller.go
2
67.7
0.0% go-controller/pkg/ovn/master.go
1
75.06
-0.11% go-controller/pkg/ovn/base_network_controller_pods.go
Jobs
ID Job ID Ran Files Coverage
1 39125553868.1 18 Oct 2026 12:38PM UTC 348
59.34
GitHub Action Run
Source Files on build 39125553868
  • Tree
  • List 348
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 267b9d07 on github
  • Prev Build on main (#37166012020)
  • Next Build on main (#39178940322)
  • 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