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

ovn-kubernetes / ovn-kubernetes / 23379470922

20 Mar 2026 09:31PM UTC coverage: 57.067% (+0.3%) from 56.729%
23379470922

push

github

jcaamano
Add NetlinkDeviceManager for declarative device lifecycle management

Introduce NetlinkDeviceManager, a controller that declaratively manages
Linux network device lifecycle with self-healing and dependency resolution.

Key features:
- Declarative API: Define desired device state (Bridge, VXLAN, VLAN, VRF, Dummy)
  and the manager ensures convergence
- Ownership tracking: Uses IFLA_IFALIAS to mark managed devices, preventing
  conflicts with external tools
- Dependency resolution: Automatically retries device creation when master/parent
  is not yet present
- Self-healing: Periodic reconciliation catches external drift and restores
  desired state
- Bridge VLAN/VNI mappings: Manages VID-to-VNI mappings for VXLAN devices
  with VniFilter enabled
- Bridge port settings: Configures vlan_tunnel, neigh_suppress, learning

Also extends NetLinkOps interface with:
- LinkModify for atomic attribute updates
- Bridge VLAN operations (BridgeVlanAdd/Del, BridgeVniAdd/Del, tunnel info)
- Bridge port settings (LinkSetVlanTunnel, LinkSetBrNeighSuppress, LinkSetLearning)
- Error checking helpers (IsEntryNotFoundError, IsAlreadyExistsError)

Signed-off-by: Matteo Dallaglio <mdallagl@redhat.com>

893 of 1147 new or added lines in 4 files covered. (77.86%)

2464 existing lines in 29 files now uncovered.

47622 of 83450 relevant lines covered (57.07%)

385.4 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.12
/go-controller/pkg/node/netlinkdevicemanager/controller.go


Source Not Available

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