[PR #55] [MERGED] Extend Management to support peer changes distribution #12091

Closed
opened 2026-08-05 01:32:23 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/55
Author: @braginini
Created: 7/18/2021
Status: Merged
Merged: 7/22/2021
Merged by: @braginini

Base: mainHead: management-peer-sync


📝 Commits (10+)

  • a7c7a66 feature: add peer sync and a server public key endpoints
  • a889cbf fix: pb lint error
  • b274428 Merge remote-tracking branch 'origin/main' into management-peer-sync
  • b1cd7cb merge from main
  • e6d73bf refactor: management service tests
  • 41bbb72 refactor: reorganize management tests according to the ginkgo recommendations
  • 7d394fc test: add Management.Sync() gRpc endpoint test
  • d780020 Merge remote-tracking branch 'origin/main' into management-peer-sync
  • 820b22d chore: skip service_test due to it's non-determenistic nature
  • f40bd7e Merge remote-tracking branch 'origin/main' into management-peer-sync

📊 Changes

12 files changed (+974 additions, -121 deletions)

View changed files

📝 cmd/management.go (+1 -1)
📝 cmd/service_test.go (+2 -2)
📝 management/file_store.go (+42 -0)
📝 management/management_test.go (+231 -63)
management/message.go (+44 -0)
📝 management/proto/management.pb.go (+327 -44)
📝 management/proto/management.proto (+35 -0)
📝 management/proto/management_grpc.pb.go (+111 -1)
📝 management/server.go (+177 -1)
📝 management/store.go (+2 -0)
📝 management/testdata/store.json (+1 -8)
📝 signal/client.go (+1 -1)

📄 Description

Implement a backbone of changes distribution

  • peer registration
  • send updates to other peers under the same account once a new peer has been registered

see:
https://github.com/wiretrustee/wiretrustee/pull/55#issuecomment-884054921


🔄 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/55 **Author:** [@braginini](https://github.com/braginini) **Created:** 7/18/2021 **Status:** ✅ Merged **Merged:** 7/22/2021 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `management-peer-sync` --- ### 📝 Commits (10+) - [`a7c7a66`](https://github.com/netbirdio/netbird/commit/a7c7a66cbb3ea7355334133f57518f3a8606cbe9) feature: add peer sync and a server public key endpoints - [`a889cbf`](https://github.com/netbirdio/netbird/commit/a889cbf74c1108c23c6472e6e7592174e11aa135) fix: pb lint error - [`b274428`](https://github.com/netbirdio/netbird/commit/b2744284b739e3c8fb5e6b1fa057d79f0c7b792f) Merge remote-tracking branch 'origin/main' into management-peer-sync - [`b1cd7cb`](https://github.com/netbirdio/netbird/commit/b1cd7cb00876ff7e2061c2371505e9c576ba3e72) merge from main - [`e6d73bf`](https://github.com/netbirdio/netbird/commit/e6d73bf6780e61b3169d7f1e73ae4a8d77452a83) refactor: management service tests - [`41bbb72`](https://github.com/netbirdio/netbird/commit/41bbb72cea1e3c47164c1e115867c919f120999f) refactor: reorganize management tests according to the ginkgo recommendations - [`7d394fc`](https://github.com/netbirdio/netbird/commit/7d394fc47a467c5646870c570c7d253dbd0f8a26) test: add Management.Sync() gRpc endpoint test - [`d780020`](https://github.com/netbirdio/netbird/commit/d780020ba76fbbdd96a8092dde66fd813aa55530) Merge remote-tracking branch 'origin/main' into management-peer-sync - [`820b22d`](https://github.com/netbirdio/netbird/commit/820b22d6945b22947974b47b1148e477f6f6a76a) chore: skip service_test due to it's non-determenistic nature - [`f40bd7e`](https://github.com/netbirdio/netbird/commit/f40bd7eb4508d4b5da506f6cdf61423f38229e43) Merge remote-tracking branch 'origin/main' into management-peer-sync ### 📊 Changes **12 files changed** (+974 additions, -121 deletions) <details> <summary>View changed files</summary> 📝 `cmd/management.go` (+1 -1) 📝 `cmd/service_test.go` (+2 -2) 📝 `management/file_store.go` (+42 -0) 📝 `management/management_test.go` (+231 -63) ➕ `management/message.go` (+44 -0) 📝 `management/proto/management.pb.go` (+327 -44) 📝 `management/proto/management.proto` (+35 -0) 📝 `management/proto/management_grpc.pb.go` (+111 -1) 📝 `management/server.go` (+177 -1) 📝 `management/store.go` (+2 -0) 📝 `management/testdata/store.json` (+1 -8) 📝 `signal/client.go` (+1 -1) </details> ### 📄 Description Implement a backbone of changes distribution - [x] peer registration - [x] send updates to other peers under the same account once a new peer has been registered see: https://github.com/wiretrustee/wiretrustee/pull/55#issuecomment-884054921 --- <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 01:32:23 -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#12091