Skip to content

Standardize model name field lengths #5011

@ledgley

Description

@ledgley

Environment

  • Python version:
  • NetBox version: 2.8.9

Proposed Functionality

Increase max_length of the 'name' field under the IPAM.Service model from 30 to 255

    name = models.CharField(
        max_length=255
    )

Use Case

We use this model to track services hosted on load balancers, as a one stop view to find a particular farm across a large estate of ADC's. We use the name field as the farm name, which is typically a URL, which is commonly longer than 30 characters. Propose to increase to 255, as the maximum length of a domain name is 253 chars.

Database Changes


External Dependencies

None

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: housekeepingChanges to the application which do not directly impact the end user

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions