[PR #95] [MERGED] Add peer meta data #12137

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/95
Author: @braginini
Created: 8/23/2021
Status: Merged
Merged: 8/24/2021
Merged by: @braginini

Base: mainHead: add-peer-meta-data


📝 Commits (10+)

  • bf42331 feature: add peer GET and DELETE API methods
  • f291a2e refactor: extract peer business logic to a separate file
  • d62d54c refactor: extract peer business logic to a separate file
  • f4bdfc0 feature: add peer update HTTP endpoint
  • 6b0f017 chore: fill peer new fields
  • 452b413 Merge branch 'main' into extend-peer-http-endpoint
  • c11523f merge with main
  • 025f259 refactor: HTTP methods according to standards
  • c854487 feature: add peer system metadata
  • 200e6f0 feature: add peer status

📊 Changes

10 files changed (+416 additions, -174 deletions)

View changed files

📝 go.mod (+1 -0)
📝 go.sum (+2 -0)
📝 management/client/client.go (+14 -1)
📝 management/proto/management.pb.go (+275 -141)
📝 management/proto/management.proto (+13 -0)
📝 management/server/account_test.go (+5 -1)
📝 management/server/grpcserver.go (+29 -3)
📝 management/server/http/handler/peers.go (+4 -3)
📝 management/server/management_test.go (+12 -3)
📝 management/server/peer.go (+61 -22)

📄 Description

  • mark peer as connected when it syncs with mgmt
  • mark peer as disconnected whet it disconnects from mgmt
  • update last seen when syncs with mgmt
  • add peer system meta data (grpc client, grpc server and http api)

🔄 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/95 **Author:** [@braginini](https://github.com/braginini) **Created:** 8/23/2021 **Status:** ✅ Merged **Merged:** 8/24/2021 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `add-peer-meta-data` --- ### 📝 Commits (10+) - [`bf42331`](https://github.com/netbirdio/netbird/commit/bf42331483fe3ff4d1fac23a1ff9d421e7dc0471) feature: add peer GET and DELETE API methods - [`f291a2e`](https://github.com/netbirdio/netbird/commit/f291a2e9f2b03f7580c23ffe1c12ddc8eb77d061) refactor: extract peer business logic to a separate file - [`d62d54c`](https://github.com/netbirdio/netbird/commit/d62d54ce31a9476b739330e97a915bd312ecc4d8) refactor: extract peer business logic to a separate file - [`f4bdfc0`](https://github.com/netbirdio/netbird/commit/f4bdfc0f77181e26b8d029cecb2d4a4e629f8321) feature: add peer update HTTP endpoint - [`6b0f017`](https://github.com/netbirdio/netbird/commit/6b0f017d03bc33a3938209a6bb4f52eb0904303e) chore: fill peer new fields - [`452b413`](https://github.com/netbirdio/netbird/commit/452b413969974878063b69c84570a39156cf17ca) Merge branch 'main' into extend-peer-http-endpoint - [`c11523f`](https://github.com/netbirdio/netbird/commit/c11523f150a85a0410f8ff7d22160dda2434dca3) merge with main - [`025f259`](https://github.com/netbirdio/netbird/commit/025f259e7d0b7850a0d33edb143dd41992ea7d8f) refactor: HTTP methods according to standards - [`c854487`](https://github.com/netbirdio/netbird/commit/c8544877715dad8c508adcf5a7461fe2d7d484af) feature: add peer system metadata - [`200e6f0`](https://github.com/netbirdio/netbird/commit/200e6f0a557f5a68bea118ad72111c7be250c53d) feature: add peer status ### 📊 Changes **10 files changed** (+416 additions, -174 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -0) 📝 `management/client/client.go` (+14 -1) 📝 `management/proto/management.pb.go` (+275 -141) 📝 `management/proto/management.proto` (+13 -0) 📝 `management/server/account_test.go` (+5 -1) 📝 `management/server/grpcserver.go` (+29 -3) 📝 `management/server/http/handler/peers.go` (+4 -3) 📝 `management/server/management_test.go` (+12 -3) 📝 `management/server/peer.go` (+61 -22) </details> ### 📄 Description - [x] mark peer as connected when it syncs with mgmt - [x] mark peer as disconnected whet it disconnects from mgmt - [x] update last seen when syncs with mgmt - [x] add peer system meta data (grpc client, grpc server and http api) --- <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:30 -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#12137