netbox/netbox/dcim
Daniel Sheppard f65744faee
Fixes: #11079 - Handle cables across multiple rear-port positions (#13337)
* Catch AssertionError's in signals.  Handle accordingly

* Alter cable logic to handle certain additional path types.

* Fix failures and add test

* More tests

* Remove not needed tests, add additional tests

* Finish tests, correct some behaviour

* Add check for mid-span device not allowed condition

* Remove excess import

* Remove logging import

* Remove logging import

* Minor tweaks based on Arthur's feedback

* Update netbox/dcim/tests/test_cablepaths.py

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

* Update netbox/dcim/models/cables.py

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

* Changes to account for required SVG rendering changes and based on feedback

* More tweaks for cable path checking

* Improve handling of links with multi-terminations

* Improved SVG rendering of multiple rear ports (with positions) per path trace.  Include asymmetric path detection

* Include missing assert to ensure links are same type.

* Clean up tests

* Remove unused objects from tests

* Changes requested to tests and update comments/doctstrings

* Fix parent reference

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-09-26 13:16:50 -04:00
..
api removes napalm references #13628 2023-08-31 09:54:35 -04:00
forms Fixes #13871: Fix rack filtering for empty location during device bulk import 2023-09-25 11:59:19 -04:00
graphql Merge branch 'develop' into feature 2023-07-30 13:36:51 -04:00
management Feature - Schema Generation (#13353) 2023-08-11 11:00:26 -04:00
migrations Revert "Fixes #13741: Enforce unique names for inventory items with no parent item" 2023-09-20 08:44:25 -04:00
models Fixes: #11079 - Handle cables across multiple rear-port positions (#13337) 2023-09-26 13:16:50 -04:00
svg Fixes: #11079 - Handle cables across multiple rear-port positions (#13337) 2023-09-26 13:16:50 -04:00
tables Add Hide Disconnected Button to Interface Summary, Remove Unused Table Caption Descriptor - Close #12732 2023-09-26 09:56:33 -04:00
tests Fixes: #11079 - Handle cables across multiple rear-port positions (#13337) 2023-09-26 13:16:50 -04:00
__init__.py Remove default_app_config (deprecated in Django 3.2) 2021-09-15 11:18:47 -04:00
apps.py Closes #13269: Cache component template counts on device types 2023-07-25 16:38:05 -04:00
choices.py 13245 add QSFP112 and OSFP-RHS interface choices 2023-09-20 10:10:51 -04:00
constants.py 12175 rack with starting unit > 1 (#12778) 2023-06-22 09:09:01 -04:00
fields.py Adds tenant on power feed (#13300) 2023-07-31 08:20:48 -04:00
filtersets.py Fix #11478 - Add vc_interfaces flag to control selection of VC interfaces (#13296) 2023-08-30 09:33:02 -04:00
lookups.py Introduce PathContains lookup to allow filtering against objects in path directly 2020-10-06 09:41:45 -04:00
search.py Closes #12320: Remove obsolete fields napalm_driver and napalm_args from Platform 2023-05-16 09:35:27 -04:00
signals.py 12474 update cable terminations when moving location between sites 2023-06-15 08:53:06 -04:00
urls.py Fixes #11528: Permit import of devices using uploaded file 2023-01-25 09:55:45 -05:00
utils.py Fixes #9778: Fix exception during cable deletion after deleting a connected termination 2022-08-03 12:46:16 -04:00
views.py Adds rename button on the list page for device components (#13564) 2023-09-01 16:58:31 -04:00