Arthur
8cbfe94fba
fix performance regression for Site save, use bulk_update for cached fields
2026-01-14 16:30:40 -08:00
Jeremy Stretch
6f2ba5c75c
Merge branch 'main' into feature
CodeQL / Analyze (python) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
CI / build (20.x, 3.13) (push) Has been cancelled
CI / build (20.x, 3.14) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
2026-01-06 13:05:07 -05:00
Jason Novinger
914653d63e
Fixes #21045 : Allow saving Site with associated Prefix
...
CI / build (20.x, 3.12) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
Lock threads / lock (push) Has been cancelled
Close stale issues/PRs / stale (push) Has been cancelled
Close incomplete issues / stale (push) Has been cancelled
Update translation strings / makemessages (push) Has been cancelled
This was a result of the fix for #20944 optimizing a query to only
include the `id` field with `.only(id)`. Since `Prefix.__init__()`
caches original values from other fields (`_prefix` and `_vrf_id`),
these cached values are `None` at init-time.
This might not normally be a problem, but the sequence of events in
the bug report also end up causing the `handle_prefix_saved` handler
to run, which uses an ORM lookup, (either `net_contained_or_equal`
original`net_contained`) that does not support a query argument of
`None`.
2025-12-30 12:26:48 -05:00
Prince Kumar
e5a975176d
Fixed #20944 : Ensure cached scope fields stay consistent when Region, Site, or Location changes ( #20986 )
2025-12-22 09:48:43 -05:00
Arthur Hanson
ec13a79907
Fixes #20875 : Fix updating of denormalized fields for component models ( #20956 )
2025-12-12 13:29:34 -06:00
Jeremy Stretch
17d8f78ae3
Closes #20564 : Many-to-many pass-through port mappings ( #20851 )
2025-12-09 09:17:17 -08:00
Jeremy Stretch
7cc7c7ab81
Closes #20788 : Cable profiles and and position mapping ( #20802 )
2025-11-25 12:18:15 -06:00
Arthur
264b40a269
20738 update vc_position in delete not signal handler
2025-11-03 13:48:50 -08:00
Jeremy Stretch
28cc8e5c89
Fixes #18878 : Automatically assign a designated primary MAC address upon creation of a new interface ( #20457 )
2025-09-30 13:26:52 -05:00
Jeremy Stretch
aa9ee0e5c6
Closes #19977 : Denormalize device relationships on component models ( #19984 )
...
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
* Closes #19977 : Denormalize site, location, and rack for device components
* Set blank=True on denormalized ForeignKeys
* Populate denormalized field in test data
* Ignore private fields when constructing test GraphQL requests
2025-08-01 15:40:15 -05:00
bctiemann
c9ee699633
Fixes : #18263 - Iterate through a freshly queried set of CableTerminations to find endpoints in update_connected_endpoints ( #18264 )
...
* Iterate through a freshly queried set of CableTerminations to find endpoints in update_connected_endpoints
* Add defensive break if q_filter has not been populated
2025-01-06 09:54:13 -05:00
Arthur
0b2162569f
12474 update cable terminations when moving location between sites
2023-06-15 08:53:06 -04:00
jeremystretch
758c5347fb
Fixes #10201 : Fix AssertionError exception when removing some terminations from an existing cable
2023-01-11 14:42:25 -05:00
jeremystretch
80f5eeacdd
Fix issues loading demo data
2022-11-29 09:18:03 -05:00
jeremystretch
4e27e8d3dd
Fixes #10969 : Update cable paths ending at associated rear port when creating new front ports
2022-11-21 09:44:08 -05:00
jeremystretch
367bf25618
Fixes #9778 : Fix exception during cable deletion after deleting a connected termination
2022-08-03 12:46:16 -04:00
jeremystretch
0b86326435
#9102 : Enable creating terminations in conjunction with cables via REST API
2022-07-13 15:35:37 -04:00
jeremystretch
9a7f3f8c1a
Cleanup for #9102
2022-07-07 12:48:44 -04:00
jeremystretch
0b0a646f87
Clean up cable termination changes
2022-06-03 14:15:28 -04:00
jeremystretch
3362bc3106
Remove link peer fields from cable termination models
2022-06-01 16:48:56 -04:00
jeremystretch
a909ceda84
Simplify assignment of new cable terminations
2022-05-18 15:49:52 -04:00
jeremystretch
1b593384e5
Restore reverse relation to CableTerminations from Cable
2022-05-13 15:45:58 -04:00
jeremystretch
c88f7b8408
Fix circuit termination tracing & update tests
2022-05-12 16:08:44 -04:00
jeremystretch
8bc6d8cb23
Introduce CablePath.retrace() to handle deleted cables
2022-05-12 16:08:44 -04:00
jeremystretch
d89f067c00
Update & restore rebuild_paths()
2022-05-12 16:08:44 -04:00
jeremystretch
5667a9c456
Refactor CablePath.from_origin()
2022-05-12 16:08:44 -04:00
jeremystretch
b44bfa1aa6
WIP
2022-05-12 16:08:44 -04:00
jeremystretch
f0b722b0a5
Update cable tracing logic
2022-05-12 16:08:44 -04:00
jeremystretch
82706eb3a6
Migrate CablePath to use two-dimensional array
2022-05-12 16:08:44 -04:00
jeremystretch
c3742f63fd
Update signal handlers (WIP)
2022-05-12 16:08:44 -04:00
jeremystretch
5d37f9f975
Update cable connection forms
2022-05-12 16:08:44 -04:00
jeremystretch
4bb9b6ee26
Extend Cable model to support multiple A/B terminations
2022-05-12 16:08:44 -04:00
jeremystretch
95ed07a95e
Add status field to WirelessLink
2021-10-13 14:31:30 -04:00
jeremystretch
ac2cd552b9
Rename cable_peer fields to link_peer
2021-10-13 14:04:53 -04:00
jeremystretch
138af27bf7
Record wireless links as part of cable path
2021-10-13 13:28:14 -04:00
jeremystretch
b6ec1d9aa7
Remove cacheops workarounds & queryset caching metrics
2021-07-07 17:15:42 -04:00
jeremystretch
f56a470cc7
Fixes #6602 : Fix deletion of devices with cables attached
2021-06-14 16:38:19 -04:00
jeremystretch
834b233c30
Fixes #6398 : Avoid exception when deleting device connected to self via circuit
2021-05-14 09:06:00 -04:00
Jeremy Stretch
5406e8e2e7
Optimize background site/location updates
2021-03-05 09:56:47 -05:00
Jeremy Stretch
d750b690e7
Closes #4971 : Allow assigning devices to locations without a rack
2021-03-03 14:28:07 -05:00
Jeremy Stretch
fdb3e3f9a4
Closes #5895 : Rename RackGroup to Location
2021-03-03 13:30:33 -05:00
Jeremy Stretch
8d9d4cec05
Extend handle_rackgroup_site_change() receiver to update power panels
2020-12-23 14:02:05 -05:00
Jeremy Stretch
e4f22bc494
Employ signals to update child objects when RackGroup/Rack site assignment changes
2020-12-22 15:22:53 -05:00
Jeremy Stretch
23f334e5df
Fixes #5488 : Fix caching error when viewing cable trace after toggling cable status
2020-12-21 15:30:34 -05:00
Jeremy Stretch
c559775135
Add support for tracing split paths
2020-11-16 15:49:07 -05:00
Jeremy Stretch
bd62611117
Skip signal processing when loading cables from fixtures
2020-11-03 13:32:05 -05:00
Jeremy Stretch
d59f0891e4
Cache peer termination on CableTerminations
2020-10-06 12:10:12 -04:00
Jeremy Stretch
56ee425227
Introduce PathContains lookup to allow filtering against objects in path directly
2020-10-06 09:41:45 -04:00
Jeremy Stretch
3d34f1cdcb
Rename CablePath.is_connected to is_active
2020-10-05 11:13:33 -04:00
Jeremy Stretch
5737f6fca0
Cache each CablePath on its originating endpoint
2020-10-02 17:16:43 -04:00