Expose modules adopt_components and replicate_components via the API #11497

Open
opened 2025-12-29 21:46:02 +01:00 by adam · 1 comment
Owner

Originally created by @TheFlyingCorpse on GitHub (Aug 18, 2025).

NetBox version

v4.2.6

Feature type

Change to existing functionality

Proposed functionality

Expose «adopt_components» and «replicate_components» via the API, existing functionality already present in the Web GUI.

I found an old issue #10925 which ended up closed before merged which could have resolved this.

Use case

Helping to adapt the full Netbox model for environments with existing devices and cables.

For those with large environments that don’t want to reconnect thousands of cables, please expand so the API can expose these parameters, or allow us to submit a PR for it.

Database changes

No schema changes required.

External dependencies

None.

Originally created by @TheFlyingCorpse on GitHub (Aug 18, 2025). ### NetBox version v4.2.6 ### Feature type Change to existing functionality ### Proposed functionality Expose «adopt_components» and «replicate_components» via the API, existing functionality already present in the Web GUI. I found an old issue #10925 which ended up closed before merged which could have resolved this. ### Use case Helping to adapt the full Netbox model for environments with existing devices and cables. For those with large environments that don’t want to reconnect thousands of cables, please expand so the API can expose these parameters, or allow us to submit a PR for it. ### Database changes No schema changes required. ### External dependencies None.
Author
Owner

@CADbloke commented on GitHub (Nov 3, 2025):

This would certainly ease the adoption of the move to model SPFs as Modules with an Interface instead of just as raw interfaces as per https://netboxlabs.com/blog/sfp-modeling-modules-over-inventory-items/
I presume we're not the only ones trying to figure out a workflow towwards this.
... or am I misunderstanding and the default is to adopt components?

@CADbloke commented on GitHub (Nov 3, 2025): This would certainly ease the adoption of the move to model SPFs as Modules with an Interface instead of just as raw interfaces as per https://netboxlabs.com/blog/sfp-modeling-modules-over-inventory-items/ I presume we're not the only ones trying to figure out a workflow towwards this. ... or am I misunderstanding and the default is to adopt components?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11497