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

openconfig / kne / 36605089414
47%
main: 47%

Build:
Build:
LAST BUILD BRANCH: play-nice
DEFAULT BRANCH: main
Ran 29 Sep 2026 05:28PM UTC
Jobs 1
Files 65
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

29 Sep 2026 04:19PM UTC coverage: 47.256%. Remained the same
36605089414

Pull #776

github

kraney
Play nice with untracked interfaces.

Network Operating System (NOS) containers create many internal interfaces inside their network namespace that are not part
of KNE's topology spec.links:

• Juniper EVO (ncptx): Creates internal PFE interfaces (eth1–eth4), internal VRFs (vrf0, iri, vrf36738), and internal
bridges (vfb, vcb, vmb0, vmb1, vib). Deleting vrf0 causes /usr/sbin/switchvrf $$ vrf0 in mgd.service to fail with No such
vrf (vrf0), crashing mgd and pkid.
• SR Linux (srl): Creates internal interfaces (mgmt0, mgmt0-0, monit_in, gway-2800).
• Arista cEOS (ceos): Creates lo0, cpu, fabric*, po1–po3, fwd0, etc.

Because meshnetd only manages KNE interconnect wires (gRPC wires, host veths, and VXLAN tunnels), it should never delete
arbitrary interfaces inside the container netns. If an inter-node/same-node link transition occurs for an interface
specified in spec.links, transition checks in controller.go:276-305 already handle deleting non-matching interface types
specifically for that configured interface name.

1. Removed intrusive container netns deletion:
    • In controller.go:154-203: Removed the container netlink.LinkList / netlink.LinkDel scan from cleanupRemovedPodLinks.
    cleanupRemovedPodLinks now solely cleans up removed gRPC wire instances for links deleted from spec.links.
2. Added regression test:
    • In controller_test.go:467-491: Added TestCleanupRemovedPodLinks_DoesNotDeleteContainerInterfaces to ensure
    cleanupRemovedPodLinks never deletes or attempts to delete internal container interfaces not listed in spec.links.

TAG=agy
CONV=01f6f4c5-7201-412d-be9a-c1e5ac67bf9f
Pull Request #776: Play nice with untracked interfaces.

6837 of 14468 relevant lines covered (47.26%)

0.54 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/188708351 36605089414.1 29 Sep 2026 05:28PM UTC 65
47.26
GitHub Action Run
Source Files on build 36605089414
  • Tree
  • List 65
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #776
  • PR Base - main (#36463378094)
  • Delete
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