[PR #2014] [MERGED] Refactor sysops #14544

Open
opened 2026-08-05 03:05:51 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2014
Author: @lixmal
Created: 5/19/2024
Status: Merged
Merged: 6/6/2024
Merged by: @lixmal

Base: 0.28.0Head: refactor/sysops


📝 Commits (8)

📊 Changes

12 files changed (+654 additions, -656 deletions)

View changed files

📝 client/internal/routemanager/manager.go (+9 -5)
client/internal/routemanager/sysctl/sysctl_linux.go (+103 -0)
📝 client/internal/routemanager/systemops/systemops.go (+6 -401)
📝 client/internal/routemanager/systemops/systemops_darwin_test.go (+4 -2)
client/internal/routemanager/systemops/systemops_generic.go (+416 -0)
📝 client/internal/routemanager/systemops/systemops_generic_test.go (+35 -43)
client/internal/routemanager/systemops/systemops_ios.go (+0 -33)
📝 client/internal/routemanager/systemops/systemops_linux.go (+19 -106)
📝 client/internal/routemanager/systemops/systemops_mobile.go (+8 -7)
📝 client/internal/routemanager/systemops/systemops_nonlinux.go (+7 -7)
📝 client/internal/routemanager/systemops/systemops_unix.go (+13 -15)
📝 client/internal/routemanager/systemops/systemops_windows.go (+34 -37)

📄 Description

Describe your changes

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/2014 **Author:** [@lixmal](https://github.com/lixmal) **Created:** 5/19/2024 **Status:** ✅ Merged **Merged:** 6/6/2024 **Merged by:** [@lixmal](https://github.com/lixmal) **Base:** `0.28.0` ← **Head:** `refactor/sysops` --- ### 📝 Commits (8) - [`5cf3b29`](https://github.com/netbirdio/netbird/commit/5cf3b2955d4c910a4770ce1e7e602850fde75c8c) Refactor sysops to use struct - [`c56f0ac`](https://github.com/netbirdio/netbird/commit/c56f0acc8d8e7947e0ca048fdd66bbae817c5dd6) Blackhole IPv6 routes on macOS - [`1581286`](https://github.com/netbirdio/netbird/commit/15812866f1c950d1539d0d840336107407fcf4e1) Fix linter - [`653be23`](https://github.com/netbirdio/netbird/commit/653be23726e77b5a6f8c1885a62caae84dd55e61) Fix test - [`4d0aceb`](https://github.com/netbirdio/netbird/commit/4d0acebcacbf7e8dbdfc7a2949c14b63bf46b448) Rename to SysOps - [`ef52f5e`](https://github.com/netbirdio/netbird/commit/ef52f5ec508317073843c77933bdfb45e449f76e) Rename remaining symbols - [`4f7b226`](https://github.com/netbirdio/netbird/commit/4f7b226296d7d4cbbd4584de53610c37922dd936) Fix rebasing - [`4f7efbe`](https://github.com/netbirdio/netbird/commit/4f7efbe42751b514d91d4bbbb4658a4674f96132) Remove repetitions ### 📊 Changes **12 files changed** (+654 additions, -656 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/routemanager/manager.go` (+9 -5) ➕ `client/internal/routemanager/sysctl/sysctl_linux.go` (+103 -0) 📝 `client/internal/routemanager/systemops/systemops.go` (+6 -401) 📝 `client/internal/routemanager/systemops/systemops_darwin_test.go` (+4 -2) ➕ `client/internal/routemanager/systemops/systemops_generic.go` (+416 -0) 📝 `client/internal/routemanager/systemops/systemops_generic_test.go` (+35 -43) ➖ `client/internal/routemanager/systemops/systemops_ios.go` (+0 -33) 📝 `client/internal/routemanager/systemops/systemops_linux.go` (+19 -106) 📝 `client/internal/routemanager/systemops/systemops_mobile.go` (+8 -7) 📝 `client/internal/routemanager/systemops/systemops_nonlinux.go` (+7 -7) 📝 `client/internal/routemanager/systemops/systemops_unix.go` (+13 -15) 📝 `client/internal/routemanager/systemops/systemops_windows.go` (+34 -37) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [x] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 03:05:51 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#14544