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

Mellanox / ovn-kubernetes
59%

Build:
DEFAULT BRANCH: main
Repo Added 04 Mar 2026 12:34AM UTC
Token HEQNTWxIkawhtez4QbMvJRlL6VRp5AAjS regen
Build 279 Last
Files 348
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • main
  • subm/feat/f5-snat-ippool-mr

07 Oct 2026 09:29AM UTC coverage: 59.309% (+0.01%) from 59.299%
40605977974

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

29 existing lines in 9 files now uncovered.

57011 of 96125 relevant lines covered (59.31%)

315.17 hits per line

Relevant lines Covered
Build:
Build:
96125 RELEVANT LINES 57011 COVERED LINES
315.17 HITS PER LINE
Source Files on main
  • Tree
  • List 348
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
40605977974 main 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. Whe... push 28 Oct 2026 12:37AM UTC aserdean github
59.31
40423659662 main 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. Whe... push 27 Oct 2026 12:51AM UTC aserdean github
59.28
40247377068 main 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. Whe... push 26 Oct 2026 12:38AM UTC aserdean github
59.29
40191260492 main 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. Whe... push 25 Oct 2026 12:37PM UTC aserdean github
59.29
40145087002 main 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. Whe... push 25 Oct 2026 12:38AM UTC aserdean github
59.27
40092158807 main 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. Whe... push 24 Oct 2026 12:37PM UTC aserdean github
59.27
40042863168 main 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. Whe... push 24 Oct 2026 12:38AM UTC aserdean github
59.27
39950176182 main 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. Whe... push 23 Oct 2026 12:46PM UTC aserdean github
59.26
39875558729 main 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. Whe... push 23 Oct 2026 12:38AM UTC aserdean github
59.32
39774923899 main 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. Whe... push 22 Oct 2026 12:37PM UTC aserdean github
59.3
See All Builds (279)

Badge your Repo: ovn-kubernetes

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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