[PR #1552] [MERGED] Extend Peer metadata with cloud detection #13925

Closed
opened 2026-08-05 02:09:13 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1552
Author: @pascal-fischer
Created: 2/9/2024
Status: Merged
Merged: 2/20/2024
Merged by: @pascal-fischer

Base: feautre/extend-sys-metaHead: feautre/extend-sys-meta-cloud-detection


📝 Commits (10+)

📊 Changes

20 files changed (+512 additions, -1 deletions)

View changed files

client/netbird (+0 -0)
client/netbird.exe (+0 -0)
client/system/detect_cloud/alibabacloud.go (+24 -0)
client/system/detect_cloud/aws.go (+57 -0)
client/system/detect_cloud/azure.go (+25 -0)
client/system/detect_cloud/detect.go (+65 -0)
client/system/detect_cloud/digitalocean.go (+24 -0)
client/system/detect_cloud/gcp.go (+25 -0)
client/system/detect_cloud/ibmcloud.go (+54 -0)
client/system/detect_cloud/oracle.go (+56 -0)
client/system/detect_cloud/softlayer.go (+25 -0)
client/system/detect_cloud/vultr.go (+24 -0)
client/system/detect_platform/detect.go (+53 -0)
client/system/detect_platform/kube.go (+17 -0)
client/system/detect_platform/openstack.go (+24 -0)
📝 client/system/info.go (+6 -0)
📝 client/system/info_darwin.go (+8 -0)
📝 client/system/info_freebsd.go (+9 -1)
📝 client/system/info_linux.go (+8 -0)
📝 client/system/info_windows.go (+8 -0)

📄 Description

Describe your changes

Adding a cloud detection into the peer metadata to identify peers running in the cloud.

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/1552 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 2/9/2024 **Status:** ✅ Merged **Merged:** 2/20/2024 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `feautre/extend-sys-meta` ← **Head:** `feautre/extend-sys-meta-cloud-detection` --- ### 📝 Commits (10+) - [`ffcd562`](https://github.com/netbirdio/netbird/commit/ffcd56219ddd14d8e597b3b0fa2398e27972bb7a) add cloud detection + test binary - [`043035d`](https://github.com/netbirdio/netbird/commit/043035dd60f23ded156a8ebab51c647de08be3b9) test windows exe - [`37571a0`](https://github.com/netbirdio/netbird/commit/37571a0673cc24f09d668c8d9ce2d34185cc80b2) Collect IPv6 addresses - [`87f0304`](https://github.com/netbirdio/netbird/commit/87f03041875cc1c0f8672b3af3b27031e17b20e4) Change the IP to IP + net - [`015b29f`](https://github.com/netbirdio/netbird/commit/015b29f4aedc7c74dc2ea21a0e7456c94bfcd8b5) switch to forked cloud detect lib - [`f7b4a81`](https://github.com/netbirdio/netbird/commit/f7b4a81572319b793ee75feaafd067692d5b9a40) new test builds - [`6886ecd`](https://github.com/netbirdio/netbird/commit/6886ecdd964dab5168dcaa8c5d44b5702521ec54) new GCE build - [`287cd64`](https://github.com/netbirdio/netbird/commit/287cd6476b51e1662cfb755c7e36e0f345c3d384) discontinue using library but local copy instead - [`1cdc2ba`](https://github.com/netbirdio/netbird/commit/1cdc2bad2cf9b8c2a6db1cc75cefbbe1b2ef2187) fix imports - [`71437ee`](https://github.com/netbirdio/netbird/commit/71437ee25591cadf3046a2e949d396c95da82f88) remove openstack check ### 📊 Changes **20 files changed** (+512 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `client/netbird` (+0 -0) ➕ `client/netbird.exe` (+0 -0) ➕ `client/system/detect_cloud/alibabacloud.go` (+24 -0) ➕ `client/system/detect_cloud/aws.go` (+57 -0) ➕ `client/system/detect_cloud/azure.go` (+25 -0) ➕ `client/system/detect_cloud/detect.go` (+65 -0) ➕ `client/system/detect_cloud/digitalocean.go` (+24 -0) ➕ `client/system/detect_cloud/gcp.go` (+25 -0) ➕ `client/system/detect_cloud/ibmcloud.go` (+54 -0) ➕ `client/system/detect_cloud/oracle.go` (+56 -0) ➕ `client/system/detect_cloud/softlayer.go` (+25 -0) ➕ `client/system/detect_cloud/vultr.go` (+24 -0) ➕ `client/system/detect_platform/detect.go` (+53 -0) ➕ `client/system/detect_platform/kube.go` (+17 -0) ➕ `client/system/detect_platform/openstack.go` (+24 -0) 📝 `client/system/info.go` (+6 -0) 📝 `client/system/info_darwin.go` (+8 -0) 📝 `client/system/info_freebsd.go` (+9 -1) 📝 `client/system/info_linux.go` (+8 -0) 📝 `client/system/info_windows.go` (+8 -0) </details> ### 📄 Description ## Describe your changes Adding a cloud detection into the peer metadata to identify peers running in the cloud. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] 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 02:09:13 -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#13925