[PR #3044] [MERGED] [management] Generate network map for new network concept #16138

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3044
Author: @bcmmbaga
Created: 12/13/2024
Status: Merged
Merged: 12/17/2024
Merged by: @pascal-fischer

Base: feature/new-networks-conceptHead: feature/new-network-netmap-processing


📝 Commits (10+)

  • 5a8ebab WIP generate network map for new network
  • 2e4b27e Remove network resources in network map proto
  • 9f90cc8 Generate routes for new network resources
  • 2affc4d Rename function
  • 213cb5b Generate firewall rule for network resources
  • 267c2a2 Refactor
  • 3acb344 Refactor GetPoliciesForNetworkResource for unit testing
  • 6c8c594 Merge branch 'feature/new-networks-concept' into feature/new-network-netmap-processing
  • dc66db8 Add new network concept in network map benchmark
  • b22e472 Fix incorrect loop condition

📊 Changes

6 files changed (+748 additions, -7 deletions)

View changed files

📝 management/server/networks/resources/types/resource.go (+46 -0)
📝 management/server/peer_test.go (+69 -5)
📝 management/server/route_test.go (+446 -0)
📝 management/server/types/account.go (+179 -2)
📝 management/server/types/firewall_rule.go (+1 -0)
📝 management/server/types/route_firewall_rule.go (+7 -0)

📄 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/3044 **Author:** [@bcmmbaga](https://github.com/bcmmbaga) **Created:** 12/13/2024 **Status:** ✅ Merged **Merged:** 12/17/2024 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `feature/new-networks-concept` ← **Head:** `feature/new-network-netmap-processing` --- ### 📝 Commits (10+) - [`5a8ebab`](https://github.com/netbirdio/netbird/commit/5a8ebabd934deb51eae07fce6b2559a3c94449b4) WIP generate network map for new network - [`2e4b27e`](https://github.com/netbirdio/netbird/commit/2e4b27e0bb956d947cf5bbdc7d7f16e10557c377) Remove network resources in network map proto - [`9f90cc8`](https://github.com/netbirdio/netbird/commit/9f90cc811197db59022947ffcbd5476b4f68bfb1) Generate routes for new network resources - [`2affc4d`](https://github.com/netbirdio/netbird/commit/2affc4dad964fb84fae1df19494dd8d94bc13472) Rename function - [`213cb5b`](https://github.com/netbirdio/netbird/commit/213cb5b6a5cf5f75e42ccf4c73b6cd92b1733deb) Generate firewall rule for network resources - [`267c2a2`](https://github.com/netbirdio/netbird/commit/267c2a2c78c953676a73e729b9014137f1107f7c) Refactor - [`3acb344`](https://github.com/netbirdio/netbird/commit/3acb3440e2b996dd5a484311b070f6651a6ad850) Refactor GetPoliciesForNetworkResource for unit testing - [`6c8c594`](https://github.com/netbirdio/netbird/commit/6c8c594b19a22d82e617fa4f4fa370a5cdcf4452) Merge branch 'feature/new-networks-concept' into feature/new-network-netmap-processing - [`dc66db8`](https://github.com/netbirdio/netbird/commit/dc66db883643117f7b9471cbe5f8523860e04fd0) Add new network concept in network map benchmark - [`b22e472`](https://github.com/netbirdio/netbird/commit/b22e472e0d16b85cd177268f5ae7f65612832fa3) Fix incorrect loop condition ### 📊 Changes **6 files changed** (+748 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `management/server/networks/resources/types/resource.go` (+46 -0) 📝 `management/server/peer_test.go` (+69 -5) 📝 `management/server/route_test.go` (+446 -0) 📝 `management/server/types/account.go` (+179 -2) 📝 `management/server/types/firewall_rule.go` (+1 -0) 📝 `management/server/types/route_firewall_rule.go` (+7 -0) </details> ### 📄 Description ## Describe your changes ## 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 04:05:46 -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#16138