Cloning a DeviceType should include all components #16711
Labels
status: revisions needed
This issue requires additional information to be actionable
type: feature
Introduction of new functionality to the application
NetBox version
v4.0.5
Feature type
Change to existing functionality
Proposed functionality
When cloning a Device Type, the clone should include all components (Interfaces, Power Ports, Power Outlets, Console/Front/Rear Ports, Module/Device Bays, and Inventory Items).
Use case
Today, cloning only includes manufacturer, default platform, height, full-depth, parent/child, and weight. But the word "clone" implies that the new object should match the original as closely as possible.
Every time I clone a Device Type, it takes extra time to recreate all these components. Most of the time the components are identical. Even if not identical, they should be very similar, so it's faster to modify them instead of recreating. If the components are so different that this behavior is not desirable, then I think cloning doesn't really make sense and it would be better to create a new device from scratch.
Examples:
Cloning an Arista CCS-720XP-24Y6-F to make a CCS-720XP-24ZY4-F. This requires recreating 30 interfaces, a console port, and 2 module bays. Ideally, after cloning you would just have to bulk-edit the interfaces to change 1G to 2.5G.
Cloning a Supermicro 7048GP to a 7049GP. This requires recreating 2 power ports and 3 interfaces. I'd also like to model PCIe slots as module bays in the future, and cloning those components would help there too.
Cloning a Mac Studio 2022 to a Mac Studio 2023. This requires cloning 2 interfaces and a power port.
Database changes
I don't think so
External dependencies
No response
The text was updated successfully, but these errors were encountered: