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

kubeovn / kube-ovn / 23729580444
26%

Build:
DEFAULT BRANCH: master
Ran 30 Mar 2026 05:37AM UTC
Jobs 1
Files 205
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

30 Mar 2026 05:34AM UTC coverage: 24.304% (+0.006%) from 24.298%
23729580444

push

github

web-flow
fix(daemon): replace bulk netlink dumps with targeted queries (#6540)

* fix(daemon): replace bulk netlink dumps with targeted queries

Replace unnecessary netlink full-table dumps with targeted queries to
reduce NLM_F_DUMP_INTR risk on busy nodes:

- removeDefaultRoute: use RouteListFiltered with RT_FILTER_DST to query
  only default routes for the needed address family, instead of dumping
  all routes across all families
- getNicExistRoutes: deduplicate by address family to avoid redundant
  RouteList calls when gateway contains multiple entries of the same
  protocol
- FindKubeOVNAutoCreatedInterfaces: use link.Attrs().Alias (parsed from
  IFLA_IFALIAS by netlink) instead of per-interface sysfs reads, and
  remove the now-unused GetInterfaceAlias/IsKubeOVNAutoCreatedInterface
  helpers

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

* fix(daemon): revert getNicExistRoutes change as it has no real benefit

The gateway string in practice is either a single address or one V4 + one
V6 address, so the original loop already makes at most one RouteList call
per family. The deduplication adds code complexity for a scenario that
does not occur.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

* chore: remove unnecessary comment in DetectVlanInterfaces

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

---------

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

0 of 25 new or added lines in 2 files covered. (0.0%)

1 existing line in 1 file now uncovered.

13534 of 55687 relevant lines covered (24.3%)

0.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
23
0.0
0.0% pkg/daemon/ovs_linux.go
2
41.18
8.99% pkg/util/vlan_interfaces.go

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% pkg/daemon/ovs_linux.go
Jobs
ID Job ID Ran Files Coverage
1 23729580444.1 30 Mar 2026 05:37AM UTC 205
24.3
GitHub Action Run
Source Files on build 23729580444
  • Tree
  • List 205
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ecf66bfb on github
  • Prev Build on master (#23727993031)
  • Next Build on master (#23734850894)
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