Allow netbox to generate circuit IDs. #1778

Closed
opened 2025-12-29 17:19:02 +01:00 by adam · 1 comment
Owner

Originally created by @nickzxcv on GitHub (Jun 7, 2018).

Issue type

[ X ] Feature request
[ ] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: 2.3.3

Description

The circuit ID field is mandatory when adding a circuit. In case of "circuits" used within the same organization, such as between cages of the same customer in a colo, it would be useful to have an option for Netbox to generate the ID.

No third party libraries should be needed. This could mean a schema change, or just to use the existing id column in circuits_circuit. In the GUI it could be a checkbox to use the Netbox circuit id, and in the API there could be some word to put in the field that means to use the Netbox id. If the box is checked maybe it would also put the word in the cid field since in the schema it is NOT NULL. Maybe there is a better way than a reserved word?

Originally created by @nickzxcv on GitHub (Jun 7, 2018). ### Issue type [ X ] Feature request <!-- An enhancement of existing functionality --> [ ] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> ### Environment * Python version: 3.5.2 * NetBox version: 2.3.3 ### Description The circuit ID field is mandatory when adding a circuit. In case of "circuits" used within the same organization, such as between cages of the same customer in a colo, it would be useful to have an option for Netbox to generate the ID. No third party libraries should be needed. This could mean a schema change, or just to use the existing id column in circuits_circuit. In the GUI it could be a checkbox to use the Netbox circuit id, and in the API there could be some word to put in the field that means to use the Netbox id. If the box is checked maybe it would also put the word in the cid field since in the schema it is NOT NULL. Maybe there is a better way than a reserved word?
adam closed this issue 2025-12-29 17:19:02 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jun 7, 2018):

Sorry but this is firmly out of scope for NetBox. Every organization has their own naming preferences, and I'm not about to go down that rabbit hole.

@jeremystretch commented on GitHub (Jun 7, 2018): Sorry but this is firmly out of scope for NetBox. Every organization has their own naming preferences, and I'm not about to go down that rabbit hole.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1778