Skip to content

Support for offline storage of modules #19003

@jeremystretch

Description

@jeremystretch

NetBox version

v4.2.6

Feature type

Data model extension

Proposed functionality

Add ForeignKeys to Site and Location on the Module model, replicating what exists today on the Device model. If the module is installed within a device, these values will be inherited from the parent device. If not installed within a device, the module can be assigned to a site and (optionally) a location designated for storage.

We should also add an explicit "storage" choice for the status fields on both Device and Module.

Use case

Introducing a relationship between a module and a site/location enables a module to exist outside the context of a parent device. Although modules generally are not considered operational on their own, this is useful for tracking modules for inventory purposes.

Database changes

  • Add site and location ForeignKeys on Module

External dependencies

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity: highExpected to require a large amont of time and effort to implement relative to other tasksneeds milestoneAwaiting prioritization for inclusion with a future NetBox releasestatus: backlogAwaiting selection for worktype: featureIntroduction of new functionality to the application

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions