Description
NetBox version
v4.1.11
Feature type
New functionality
Proposed functionality
I would like to see a new feature (lets call it portprofile) that defines an interface configuration, and that is applied to an Interface.
Any change to the port profile would reflect to the configuration of the interface it is linked to.
Fields that (at the minimum) should be part of the profile
- MTU
- Status
- Management Only
- PoE mode
- PoE type
- 801.Q Mode
- VLAN Group
- Untagged VLAN
- Tagged VLANs
- Custom Fields that exists on the interfaces
I never used the VRF/Wireless part, so someone needs to see if those fields could be added to.
Fields that indicate the physical state of an interface are to be reviewed if it makes sense to add them. I don't think the Label/Type/Speed/Duplex/Description/Tags/MAC/WWN are eligible
When a profile is applied to an interface, the fields that are defined in the template should
- become readonly in the edit field
- (marked with an * in the list/model view) not sure if this is really needed
Use case
On our switches, we use 'port profiles' to create a single configuration view for multiple interfaces.
This ensures that all interfaces have the same settings.
The ability to define port-profiles in NetBox would also enable us to
- keep interface configurations in sync
- use these profiles for automation and create device configurations
Database changes
A new model PortProfile is needed
It needs to contain a relation to the dcim.interfaces it is applied to
It needs to contain all fields that are eligible for the portprofile, with the same restrictions/rules as the interface field has
Depending on the fleshout of this FR, the fields could change
External dependencies
No response