Skip to content

Conversation

@jeremystretch
Copy link
Member

@jeremystretch jeremystretch commented Nov 13, 2025

Closes: #20788

🚧 Work in progress 🚧

  • Introduce cable profiles to define mapping & validation logic for various classes of cables (e.g. straight-through vs. breakout)
  • Add an optional profile choice field on dcim.Cable
  • Add an optional cable_position integer field on all cabled models (e.g. interfaces)
  • Rename create_cablepath() to create_cablepaths() and add position support
  • Refactored cable path tests
    • Split out base CablePathTestCase class
    • Introduced new profile-based tests in parallel to legacy (non-profile) tests
    • Did not alter any of the legacy tests, to ensure backward compatibility is retained

TODO

  • Enable drag-and-drop to reorder cable terminations
  • Replicate legacy topology tests using cable profiles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants