Additional work for FR #20788 #738

Closed
opened 2026-04-05 17:22:23 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jeremystretch on 12/12/2025

This PR captures some follow-on work for v4.5 FR #20788 that was identified following the initial implementation.

  • CableTermination
    • Add the 'connector' integer field to index terminations on either end of a cable
    • Rename the position integer field to cable_positions (plural) and convert it to an array of integers
  • All cabled models (device components, power feeds, circuit terminations)
    • Introduce the cable_connector integer field
    • Rename the cable_position integer field to cable_positions (plural) and convert it to an array of integers
    • Introduce set_cable_termination() and clear_cable_termination() methods to simplify setting/clearing of cable termination attributes
  • Rework cable profiles to enumerate A & B connectors
  • Standardize cable profile names
  • Add cable profiles for specific cable types
  • Rename migration files
  • Extend cable path test suite
*Originally created by @jeremystretch on 12/12/2025* This PR captures some follow-on work for v4.5 FR #20788 that was identified following the initial implementation. - CableTermination - Add the 'connector' integer field to index terminations on either end of a cable - Rename the `position` integer field to `cable_positions` (plural) and convert it to an array of integers - All cabled models (device components, power feeds, circuit terminations) - Introduce the `cable_connector` integer field - Rename the `cable_position` integer field to `cable_positions` (plural) and convert it to an array of integers - Introduce `set_cable_termination()` and `clear_cable_termination()` methods to simplify setting/clearing of cable termination attributes - Rework cable profiles to enumerate A & B connectors - Standardize cable profile names - Add cable profiles for specific cable types - Rename migration files - Extend cable path test suite
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#738