[PR #3585] [CLOSED] WIP: 3288 diversity of endpoints #12585

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3585
Author: @steffann
Created: 10/9/2019
Status: Closed

Base: developHead: 3288-diversity-of-endpoints


📝 Commits (10+)

  • c17a6f4 Replace _connected_interface and _connected_circuittermination
  • 5014217 Rewrite trace for nested MUXes
  • 0ee1364 Correct migration chain
  • 4ee391d Fix code style
  • d092f14 Split migrations into DDL and data migrations
  • 0dc0168 Allow single-position links to carry multi-position channels
  • 857f27c Improve comments to help understand the code
  • 84c9ef8 Adding trace information for quick display
  • 72f4ded When deleting a cable make sure the trace sees the cable as gone
  • f469706 Improve trace data

📊 Changes

21 files changed (+881 additions, -268 deletions)

View changed files

netbox/circuits/migrations/0016_generic_connected_endpoint.py (+38 -0)
netbox/circuits/migrations/0017_remove_circuittermination_old_connected_endpoint.py (+18 -0)
📝 netbox/circuits/models.py (+52 -8)
📝 netbox/circuits/signals.py (+17 -1)
📝 netbox/dcim/api/views.py (+26 -16)
📝 netbox/dcim/filters.py (+2 -2)
📝 netbox/dcim/fixtures/dcim.json (+48 -15)
netbox/dcim/migrations/0076_add_generic_connected_endpoint.py (+74 -0)
netbox/dcim/migrations/0077_migrate_connected_endpoint.py (+187 -0)
netbox/dcim/migrations/0078_remove_connected_interface_circuittermination.py (+25 -0)
📝 netbox/dcim/models.py (+181 -102)
📝 netbox/dcim/signals.py (+56 -18)
📝 netbox/dcim/tables.py (+5 -5)
📝 netbox/dcim/tests/test_models.py (+12 -3)
📝 netbox/dcim/views.py (+27 -21)
📝 netbox/extras/models.py (+4 -11)
📝 netbox/netbox/views.py (+7 -5)
📝 netbox/project-static/css/base.css (+5 -0)
📝 netbox/templates/dcim/inc/interface.html (+58 -48)
netbox/templates/dcim/inc/interface_path.html (+26 -0)

...and 1 more files

📄 Description

Fixes: #3288

This branch is where I'm developing my solution to #3288. I'm creating this WIP pull request to make it easier to track what I'm doing for those who are interested.


🔄 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/3585 **Author:** [@steffann](https://github.com/steffann) **Created:** 10/9/2019 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `3288-diversity-of-endpoints` --- ### 📝 Commits (10+) - [`c17a6f4`](https://github.com/netbox-community/netbox/commit/c17a6f41845a310cd8327da5aab8990a777c7840) Replace _connected_interface and _connected_circuittermination - [`5014217`](https://github.com/netbox-community/netbox/commit/5014217052dd1fc9f33284900da55027eff23e27) Rewrite trace for nested MUXes - [`0ee1364`](https://github.com/netbox-community/netbox/commit/0ee13646a56d0db37afa8662f43a5c7375dd6a30) Correct migration chain - [`4ee391d`](https://github.com/netbox-community/netbox/commit/4ee391d27c66752b3a470ef1ab775ae09a190503) Fix code style - [`d092f14`](https://github.com/netbox-community/netbox/commit/d092f14afb65e6877a1cf8e78584872df56430ef) Split migrations into DDL and data migrations - [`0dc0168`](https://github.com/netbox-community/netbox/commit/0dc01681b1c4be43dcc5ee500ca4b6f7f5637626) Allow single-position links to carry multi-position channels - [`857f27c`](https://github.com/netbox-community/netbox/commit/857f27c370d9c5d7286de9c5954c2efd2f6d6705) Improve comments to help understand the code - [`84c9ef8`](https://github.com/netbox-community/netbox/commit/84c9ef814496315c30faf5b25e2befa0cdeb2e6e) Adding trace information for quick display - [`72f4ded`](https://github.com/netbox-community/netbox/commit/72f4ded24ecd49ac19b196bf34b1cc1b4dd08d75) When deleting a cable make sure the trace sees the cable as gone - [`f469706`](https://github.com/netbox-community/netbox/commit/f469706c9c5ddecc786ad10e41005aed5fbfc1e2) Improve trace data ### 📊 Changes **21 files changed** (+881 additions, -268 deletions) <details> <summary>View changed files</summary> ➕ `netbox/circuits/migrations/0016_generic_connected_endpoint.py` (+38 -0) ➕ `netbox/circuits/migrations/0017_remove_circuittermination_old_connected_endpoint.py` (+18 -0) 📝 `netbox/circuits/models.py` (+52 -8) 📝 `netbox/circuits/signals.py` (+17 -1) 📝 `netbox/dcim/api/views.py` (+26 -16) 📝 `netbox/dcim/filters.py` (+2 -2) 📝 `netbox/dcim/fixtures/dcim.json` (+48 -15) ➕ `netbox/dcim/migrations/0076_add_generic_connected_endpoint.py` (+74 -0) ➕ `netbox/dcim/migrations/0077_migrate_connected_endpoint.py` (+187 -0) ➕ `netbox/dcim/migrations/0078_remove_connected_interface_circuittermination.py` (+25 -0) 📝 `netbox/dcim/models.py` (+181 -102) 📝 `netbox/dcim/signals.py` (+56 -18) 📝 `netbox/dcim/tables.py` (+5 -5) 📝 `netbox/dcim/tests/test_models.py` (+12 -3) 📝 `netbox/dcim/views.py` (+27 -21) 📝 `netbox/extras/models.py` (+4 -11) 📝 `netbox/netbox/views.py` (+7 -5) 📝 `netbox/project-static/css/base.css` (+5 -0) 📝 `netbox/templates/dcim/inc/interface.html` (+58 -48) ➕ `netbox/templates/dcim/inc/interface_path.html` (+26 -0) _...and 1 more files_ </details> ### 📄 Description ### Fixes: #3288 This branch is where I'm developing my solution to #3288. I'm creating this WIP pull request to make it easier to track what I'm doing for those who are interested. --- <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:22:29 +01:00
adam closed this issue 2025-12-29 22:22:29 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12585