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

nokia / openconfig-kne / 45042406249
48%

Build:
DEFAULT BRANCH: main
Ran 22 Nov 2026 04:13PM UTC
Jobs 1
Files 69
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

20 Nov 2026 11:48PM UTC coverage: 48.433%. First build
45042406249

push

github

web-flow
meshnet: preserve TAP admin state on daemon restart (#819)

When a NOS administratively shuts down a port on a cross-node gRPC/TAP link, TUNSETPERSIST keeps the TAP interface and its admin-down state across meshnetd restarts. Previously, CreateOrAttachTAPWithMTU unconditionally called netlink.LinkSetUp on both creation and re-attach, bringing shut-down ports back up and restoring carrier on the peer.

Add OpenOrCreateTAPWithMTU returning whether the TAP device was newly created (keeping the existing CreateOrAttachTAP and CreateOrAttachTAPWithMTU signatures intact), and only apply initial link configuration (txqueuelen, MTU, LinkSetUp, IP address, and tx checksum disable) on creation. Set TUNSETPERSIST only after initial setup succeeds so failed creation does not leave behind a persistent half-configured TAP. In gwire_rpc_handlers.go, pass !created to startCarrier so any RPC-triggered re-attach also requests carrier sync from the peer.

Tests:
- Added TestCreateOrAttachTAPPreservesAdminDown and TestOpenOrCreateTAPFailureLeavesNoDevice in utils/wireutil/tap_test.go (verified with unshare -rnm).
- go test -race ./... passes in third_party/meshnet.
- Verified E2E in a 2-worker kubeadm cluster with cross-node HOST pods (admin-down preserved across local and peer meshnetd restarts, port re-enable restores carrier and ping, port brought up during restart syncs properly).

b/587143633

Co-authored-by: Brandon Stoll <bstoll@users.noreply.github.com>

7480 of 15444 relevant lines covered (48.43%)

0.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45042406249.1 22 Nov 2026 04:13PM UTC 69
48.43
GitHub Action Run
Source Files on build 45042406249
  • Tree
  • List 69
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 77f9102a on github
  • Next Build on main (#45956740362)
  • 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