Skip to content

Increase custom field integer ranges (from 32bit signed int to 64bit signed int) #14240

@jwbensley

Description

@jwbensley

NetBox version

v3.5.9

Feature type

Change to existing functionality

Proposed functionality

Allow values in the range supported by a 32 u-int, when creating a custom fields which are of type "integer".

Currently, the maximum value I can put in an "integer" custom field is for a signed 32bit int.

Maybe the solution is to bump the field to a be a 64-bit signed int, if you want to support negative numbers too?

Example:

Bildschirmfoto vom 2023-11-10 10-07-35

Use case

I want to store a BGP ASN number, which is a 32bit u-int.
I want to store a BGP Local Pref, which is a 32bit u-int.

Database changes

I assume some sort of schema change is required but I don't know, sorry.

External dependencies

Sorry, I don't know of any.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions