1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

2836 Commits

Author SHA1 Message Date
594964aebe Simplify Cable init signature 2022-05-12 17:11:01 -04:00
bb9eb119a4 Extend cable tracing tests 2022-05-12 16:08:44 -04:00
4d5bcb65c8 Fix up pass-through port traversal 2022-05-12 16:08:44 -04:00
c88f7b8408 Fix circuit termination tracing & update tests 2022-05-12 16:08:44 -04:00
8bc6d8cb23 Introduce CablePath.retrace() to handle deleted cables 2022-05-12 16:08:44 -04:00
eb4984afe6 Correct test queries 2022-05-12 16:08:44 -04:00
d89f067c00 Update & restore rebuild_paths() 2022-05-12 16:08:44 -04:00
5667a9c456 Refactor CablePath.from_origin() 2022-05-12 16:08:44 -04:00
b44bfa1aa6 WIP 2022-05-12 16:08:44 -04:00
304282bd4f Update tests 2022-05-12 16:08:44 -04:00
93daa6406b Fix cable path tracing 2022-05-12 16:08:44 -04:00
ecee7421ea Fix terminations assignment 2022-05-12 16:08:44 -04:00
83fdab5feb Change CablePath.path to JSONField 2022-05-12 16:08:44 -04:00
e129ae50f0 Start updating tests 2022-05-12 16:08:44 -04:00
f0b722b0a5 Update cable tracing logic 2022-05-12 16:08:44 -04:00
82706eb3a6 Migrate CablePath to use two-dimensional array 2022-05-12 16:08:44 -04:00
c22007939b Ensure cable is cached on terminating endpoints 2022-05-12 16:08:44 -04:00
f0fc8bf2cf Restrict A terminations by parent object 2022-05-12 16:08:44 -04:00
c3742f63fd Update signal handlers (WIP) 2022-05-12 16:08:44 -04:00
5d37f9f975 Update cable connection forms 2022-05-12 16:08:44 -04:00
1f4ad444ae Introduce CableTermination model & migrate data 2022-05-12 16:08:44 -04:00
907323d46f Revert initial model changes 2022-05-12 16:08:44 -04:00
4bb9b6ee26 Extend Cable model to support multiple A/B terminations 2022-05-12 16:08:44 -04:00
6c290353c1 Allow editing A side termination when creating cable 2022-05-12 16:08:44 -04:00
c48c8cc353 Remove termination IDs from cable creation view paths 2022-05-12 16:08:44 -04:00
5f3695d2d0 Closes #8805: Add "mixed" option for device airflow indication 2022-05-12 12:18:58 -04:00
c4c93ee346 Closes #9343: Add Ubiquiti SmartPower power outlet type 2022-05-12 10:17:29 -04:00
1726593fb0 Introduce MODULE_TOKEN constant 2022-05-11 10:37:04 -04:00
3dda7e2da2 Merge pull request #9331 from kkthxbye-code/fix-9001
Fixes #9001 & #9190 - Add form validation to model installation
2022-05-11 10:04:06 -04:00
bdb21da26e Fixes #9330: Add missing module_type field to REST API serializers for modular device component templates 2022-05-11 08:57:19 -04:00
e759e123ac Fixes #9333: Annotate unit on interface speed field 2022-05-11 08:09:51 -04:00
d858eceb38 Fix pep8 2022-05-10 17:53:01 +02:00
af126fe7e3 Added form validation to model installation
Raises a ValidationError whenever installation would cause a foreign key violation.
2022-05-10 17:50:33 +02:00
39a9ebaeee Fixes #9313: Remove HTML code from CSV output of many-to-many relationships 2022-05-06 10:26:02 -04:00
9b4e016fe4 Fixes #9306: Include VC master interfaces when selecting a LAG/bridge for a VC member interface 2022-05-06 09:47:52 -04:00
e9bf6a7bc5 Merge pull request #9281 from kkthxbye-code/adopt-module-component
Fixes #9280 - Add option to adopt existing DeviceComponents
2022-05-05 10:29:20 -04:00
9c3dfdfd14 Fix test_module_component_adoption 2022-05-05 09:30:13 +02:00
c52aa2196d Prefetch installed components when adding modules 2022-05-04 23:21:03 +02:00
81c7fe2084 Don't adopt components already belonging to a module 2022-05-04 22:59:28 +02:00
0301aec409 Closes #9260: Apply user preferences to tables under object detail views 2022-05-04 15:46:13 -04:00
015bc48345 #8998: Add region filter for rack reservations; Add filter tests 2022-05-04 14:29:36 -04:00
c2fe2ba56f Merge pull request #9147 from minitriga/issue_8998
Closes #8998: Add site group filter to racks
2022-05-04 14:16:35 -04:00
7de27c69c0 Fix PEP8 2022-05-04 09:16:19 +02:00
f455f91ea3 Add view test for module component adoption 2022-05-04 08:58:42 +02:00
bdaefc0e4d Closes #9278: Linkify device type in manufacturer table 2022-05-03 18:34:32 -04:00
8040804c75 Allow mixture of component replication and adoption 2022-05-03 22:03:12 +02:00
7cd840610b Update netbox/dcim/forms/filtersets.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-05-03 11:47:37 +01:00
15e91908e8 Update netbox/dcim/forms/filtersets.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-05-03 11:47:32 +01:00
977ccb01f2 Formatting: Remove whitespace on blank line 2022-05-02 21:55:34 +02:00
c2a6a1c125 Create module components in bulk 2022-05-02 21:37:37 +02:00