Standardize component names to 64 characters max length #3829

Closed
opened 2025-12-29 18:31:24 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jul 2, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6.9
  • NetBox version: 2.8.7

Proposed Functionality

Standardize the maximum character length of all device components and component templates to 64 characters. Current fields limits are below:

  • ConsolePort: 50
  • ConsoleServerPort: 50
  • PowerPort: 50
  • PowerOutlet: 50
  • Interface: 64
  • FrontPort: 64
  • RearPort: 64
  • DeviceBay: 50
  • InventoryItem: 50

Use Case

Provides a consistent user experience and allows us to reduce boilerplate by inheriting a common name field for all components.

Database Changes

Requires a simple schema migration, which can likely be combined with other changes in v2.9.

External Dependencies

None

Originally created by @jeremystretch on GitHub (Jul 2, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.6.9 * NetBox version: 2.8.7 ### Proposed Functionality Standardize the maximum character length of all device components and component templates to 64 characters. Current fields limits are below: - ConsolePort: 50 - ConsoleServerPort: 50 - PowerPort: 50 - PowerOutlet: 50 - Interface: 64 - FrontPort: 64 - RearPort: 64 - DeviceBay: 50 - InventoryItem: 50 ### Use Case Provides a consistent user experience and allows us to reduce boilerplate by inheriting a common `name` field for all components. ### Database Changes Requires a simple schema migration, which can likely be combined with other changes in v2.9. ### External Dependencies None
adam added the status: acceptedtype: feature labels 2025-12-29 18:31:24 +01:00
adam closed this issue 2025-12-29 18:31:24 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3829