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

ovn-kubernetes / ovn-kubernetes / 23962595630
57%
master: 57%

Build:
Build:
LAST BUILD BRANCH: fix-udp-conntrack-stale-entries
DEFAULT BRANCH: master
Ran 03 Apr 2026 09:57PM UTC
Jobs 1
Files 320
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

03 Apr 2026 09:18PM UTC coverage: 57.373% (-0.06%) from 57.431%
23962595630

Pull #6172

github

aserdean
node: add cross-node host IP routing for multi-homed IC nodes

In DPU setups, worker nodes are multi-homed — they have a management
network IP (accessible via the physical uplink) and a data network IP
(reachable only through the directly cabled DPU uplink). In IC mode,
a pod on zone A trying to reach zone B's data network host IP has no
OVN path since there are no routes or PBR rules for it.

Add PBR rules at InterNodePolicyPriority (1003) and cluster router
static routes so pod-to-host cross-zone traffic is steered through the
transit switch to the destination node's mp0. Add GR static routes and
masquerade SNAT so host-originated traffic to remote zone host IPs
traverses the join switch instead of the physical network.

Rules are only installed when a node has 2+ host IPs in the same IP
family (NodeIsMultiHomed), leaving single-homed deployments unaffected.

Signed-off-by: Alin Serdean <aserdean@nvidia.com>
Fixes: https://github.com/ovn-kubernetes/ovn-kubernetes/issues/5827
Pull Request #6172: node: add cross-node host IP routing for multi-homed IC nodes

121 of 367 new or added lines in 6 files covered. (32.97%)

30 existing lines in 7 files now uncovered.

49078 of 85542 relevant lines covered (57.37%)

376.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
30.13
3.13% go-controller/pkg/util/node_annotations.go
2
59.75
-0.07% go-controller/pkg/ovn/layer3_user_defined_network_controller.go
4
57.14
-0.21% go-controller/pkg/ovn/default_network_controller.go
11
77.36
-0.54% go-controller/pkg/ovn/gateway.go
84
58.36
-13.57% go-controller/pkg/ovn/gatewayrouter/policybasedroutes.go
144
62.93
-16.15% go-controller/pkg/ovn/zone_interconnect/zone_ic_handler.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
72.49
-0.65% go-controller/pkg/ovn/base_network_controller_namespace.go
2
78.33
-0.22% go-controller/pkg/ovn/base_network_controller_pods.go
2
76.4
0.0% go-controller/pkg/ovn/hybrid.go
3
80.63
-0.13% go-controller/pkg/clustermanager/userdefinednetwork/controller.go
5
65.97
-1.74% go-controller/pkg/networkmanager/pod_tracker.go
6
68.75
-2.34% go-controller/pkg/networkmanager/egressip_tracker.go
10
75.95
-0.85% go-controller/pkg/ovn/base_network_controller_policy.go
Jobs
ID Job ID Ran Files Coverage
1 23962595630.1 03 Apr 2026 09:57PM UTC 320
57.37
GitHub Action Run
Source Files on build 23962595630
  • Tree
  • List 320
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #6172
  • PR Base - master (#23946026826)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc