[PR #5178] [MERGED] #259: Route target support #12978

Closed
opened 2025-12-29 22:24:42 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/5178
Author: @jeremystretch
Created: 9/24/2020
Status: Merged
Merged: 9/24/2020
Merged by: @jeremystretch

Base: develop-2.10Head: 259-route-targets


📝 Commits (4)

📊 Changes

23 files changed (+730 additions, -21 deletions)

View changed files

📝 docs/core-functionality/ipam.md (+1 -0)
docs/models/ipam/routetarget.md (+5 -0)
📝 docs/models/ipam/vrf.md (+2 -0)
📝 docs/release-notes/version-2.10.md (+4 -0)
📝 netbox/ipam/api/nested_serializers.py (+13 -0)
📝 netbox/ipam/api/serializers.py (+21 -7)
📝 netbox/ipam/api/urls.py (+3 -0)
📝 netbox/ipam/api/views.py (+14 -2)
📝 netbox/ipam/constants.py (+1 -0)
📝 netbox/ipam/filters.py (+66 -1)
📝 netbox/ipam/forms.py (+92 -4)
netbox/ipam/migrations/0041_routetarget.py (+44 -0)
📝 netbox/ipam/models.py (+54 -0)
📝 netbox/ipam/tables.py (+21 -1)
📝 netbox/ipam/tests/test_api.py (+30 -1)
📝 netbox/ipam/tests/test_filters.py (+114 -1)
📝 netbox/ipam/tests/test_views.py (+41 -1)
📝 netbox/ipam/urls.py (+12 -1)
📝 netbox/ipam/views.py (+73 -1)
📝 netbox/templates/inc/nav_menu.html (+9 -0)

...and 3 more files

📄 Description

Closes: #259

  • Introduce the RouteTarget model
  • Extend the VRF model with import_targets and export_targets M2M fields
  • Provide all relevant views and API endpoints
  • Add relevant tests & documentation

🔄 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/netbox-community/netbox/pull/5178 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 9/24/2020 **Status:** ✅ Merged **Merged:** 9/24/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop-2.10` ← **Head:** `259-route-targets` --- ### 📝 Commits (4) - [`dfb5a06`](https://github.com/netbox-community/netbox/commit/dfb5a06d9dea49dbb3b215126e654aeda67a7821) Introduce the RouteTarget model - [`f684d07`](https://github.com/netbox-community/netbox/commit/f684d07c616f567855dbab32d557d76b4c61e986) Model import/export route targets on VRFs - [`47fd9ca`](https://github.com/netbox-community/netbox/commit/47fd9cab1cc84dbaf76e7efd92061aa9581a84ed) Add tests for route targets; extend VRF tests - [`cca2173`](https://github.com/netbox-community/netbox/commit/cca217388679680b37a830d7f0649c22078acc6f) Documentation for #259 ### 📊 Changes **23 files changed** (+730 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `docs/core-functionality/ipam.md` (+1 -0) ➕ `docs/models/ipam/routetarget.md` (+5 -0) 📝 `docs/models/ipam/vrf.md` (+2 -0) 📝 `docs/release-notes/version-2.10.md` (+4 -0) 📝 `netbox/ipam/api/nested_serializers.py` (+13 -0) 📝 `netbox/ipam/api/serializers.py` (+21 -7) 📝 `netbox/ipam/api/urls.py` (+3 -0) 📝 `netbox/ipam/api/views.py` (+14 -2) 📝 `netbox/ipam/constants.py` (+1 -0) 📝 `netbox/ipam/filters.py` (+66 -1) 📝 `netbox/ipam/forms.py` (+92 -4) ➕ `netbox/ipam/migrations/0041_routetarget.py` (+44 -0) 📝 `netbox/ipam/models.py` (+54 -0) 📝 `netbox/ipam/tables.py` (+21 -1) 📝 `netbox/ipam/tests/test_api.py` (+30 -1) 📝 `netbox/ipam/tests/test_filters.py` (+114 -1) 📝 `netbox/ipam/tests/test_views.py` (+41 -1) 📝 `netbox/ipam/urls.py` (+12 -1) 📝 `netbox/ipam/views.py` (+73 -1) 📝 `netbox/templates/inc/nav_menu.html` (+9 -0) _...and 3 more files_ </details> ### 📄 Description ### Closes: #259 - Introduce the RouteTarget model - Extend the VRF model with `import_targets` and `export_targets` M2M fields - Provide all relevant views and API endpoints - Add relevant tests & documentation --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:24:42 +01:00
adam closed this issue 2025-12-29 22:24:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12978