'speed' attribute of console port model is PositiveSmallIntegerField (cannot cover all values) #4825

Closed
opened 2025-12-29 19:21:00 +01:00 by adam · 2 comments
Owner

Originally created by @ypid on GitHub (Apr 24, 2021).

NetBox version

v2.11.1

Python version

3.7

Steps to Reproduce

  1. "Editing console port Serial" of a device.
  2. Set "Speed" to "115.2 kbps".
  3. Press "Update".

Expected Behavior

Working.

Observed Behavior

Port speed in bits per second

Ensure this value is less than or equal to 32767.

Credits

Originally found by @drmsoffall in 8de20fcd1f (r49831954). I found it as well and began searching.

Originally created by @ypid on GitHub (Apr 24, 2021). ### NetBox version v2.11.1 ### Python version 3.7 ### Steps to Reproduce 1. "Editing console port Serial" of a device. 2. Set "Speed" to "115.2 kbps". 3. Press "Update". ### Expected Behavior Working. ### Observed Behavior Port speed in bits per second Ensure this value is less than or equal to 32767. ### Credits Originally found by @drmsoffall in https://github.com/netbox-community/netbox/commit/8de20fcd1fb8e9a775f643d45285a48edd07cedf#r49831954. I found it as well and began searching.
adam added the type: bug label 2025-12-29 19:21:00 +01:00
adam closed this issue 2025-12-29 19:21:00 +01:00
Author
Owner

@drmsoffall commented on GitHub (Apr 24, 2021):

Already fixed in dev, we were too slow! :) #6252 / 4939b6b

@drmsoffall commented on GitHub (Apr 24, 2021): Already fixed in dev, we were too slow! :) #6252 / 4939b6b
Author
Owner

@ypid commented on GitHub (Apr 24, 2021):

I should have checked that, thanks. Closing.

@ypid commented on GitHub (Apr 24, 2021): I should have checked that, thanks. Closing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4825