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

kubeovn / kube-ovn / 23631840176
24%
master: 24%

Build:
Build:
LAST BUILD BRANCH: fix/preload-kubevirt-containerdisk
DEFAULT BRANCH: master
Ran 27 Mar 2026 04:58AM 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

27 Mar 2026 04:55AM UTC coverage: 24.207% (+0.1%) from 24.096%
23631840176

Pull #6475

github

oilbeater
refactor(ovs): encapsulate per-port DHCP operations within LSP lifecycle

Move per-port DHCP management from scattered controller calls into a
unified ReconcilePortDHCPOptions method on the OVS layer. This uses the
LSP's DHCP UUID pointers (compared against subnet-level UUIDs) to detect
stale per-port entries, eliminating the ListDHCPOptions cache scan and
unnecessary DeleteDHCPOptionsForPort transactions for non-DHCP pods.

Key changes:
- Add ReconcilePortDHCPOptions to LSP interface and implement it
- Embed per-port DHCP cleanup into DeleteLogicalSwitchPort
- Remove computePodPortDHCPOptions from controller
- Simplify reconcilePodDHCPOptions and reconcileAllocateSubnets
- Remove explicit DeleteDHCPOptionsForPort calls from handleDeletePod/GC

Performance: non-DHCP pod creation now has zero OVSDB transactions
(was 1x DeleteDHCPOptionsForPort); non-DHCP pod update does O(1)
GetLogicalSwitchPort + UUID comparison instead of O(N) cache scan.

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>
Pull Request #6475: feat(controller): support per-pod NIC granular DHCP control via annotations

154 of 321 new or added lines in 5 files covered. (47.98%)

1 existing line in 1 file now uncovered.

13478 of 55678 relevant lines covered (24.21%)

0.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.91
0.02% pkg/controller/gc.go
23
10.01
-0.02% pkg/controller/subnet.go
37
74.32
-3.23% pkg/ovs/ovn-nb-dhcp_options.go
41
76.98
-2.16% pkg/ovs/ovn-nb-logical_switch_port.go
64
14.83
-0.39% pkg/controller/pod.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
74.32
-3.23% pkg/ovs/ovn-nb-dhcp_options.go
Jobs
ID Job ID Ran Files Coverage
1 23631840176.1 27 Mar 2026 04:58AM UTC 205
24.21
GitHub Action Run
Source Files on build 23631840176
  • Tree
  • List 205
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #6475
  • PR Base - master (#23630179185)
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