netbox/netbox
Daniel Sheppard d363b5e503 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
..
account Closes #13309: Introduce the account app (#13310) 2023-07-31 09:22:04 -04:00
circuits Merge branch 'develop' into feature 2023-08-09 15:31:21 -04:00
core Misc i18n cleanup 2023-09-11 15:59:50 -04:00
dcim Fixes: #11079 - Handle cables across multiple rear-port positions (#13337) 2023-09-26 13:16:50 -04:00
extras Fixes #13859: Fix valid response when no matching choice values are found 2023-09-26 12:08:05 -04:00
ipam Fixes #13843: Fix assignment of VLAN group scope during bulk edit (#13887) 2023-09-26 13:09:20 -04:00
media Tweak gitignore to include devicetype-images directory 2020-02-20 13:42:23 -05:00
netbox Fixes #13843: Fix assignment of VLAN group scope during bulk edit (#13887) 2023-09-26 13:09:20 -04:00
project-static Fixes #13843: Fix assignment of VLAN group scope during bulk edit (#13887) 2023-09-26 13:09:20 -04:00
reports
scripts Remove extraneous demo scripts 2019-09-23 09:21:38 -04:00
templates Fixes: #11079 - Handle cables across multiple rear-port positions (#13337) 2023-09-26 13:16:50 -04:00
tenancy Fixes #13782: Fix tag exclusion support for contact assignments 2023-09-18 11:08:49 -04:00
users Add description & expires fields to token test 2023-09-01 12:33:02 -04:00
utilities Fixes #11617: Check for invalid CSV headers during bulk import (#13826) 2023-09-20 14:40:27 -04:00
virtualization 13745 device type migration (#13747) 2023-09-18 09:59:26 -04:00
wireless Closes #13352: Translation support for model verbose names (#13354) 2023-08-03 10:41:10 -04:00
generate_secret_key.py Change Interpreter in shebang to python3 2023-02-27 14:09:10 -05:00
manage.py