Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Status field to inventory items #16783

Open
ITJamie opened this issue Jul 2, 2024 · 3 comments
Open

Add Status field to inventory items #16783

ITJamie opened this issue Jul 2, 2024 · 3 comments
Labels
complexity: low Requires minimal effort to implement needs milestone Awaiting prioritization for inclusion with a future NetBox release status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: feature Introduction of new functionality to the application

Comments

@ITJamie
Copy link
Contributor

ITJamie commented Jul 2, 2024

NetBox version

v4.0.6

Feature type

Data model extension

Proposed functionality

add a "status" field to the inventory item model

Use case

being able to document the state of inventory items would be useful.
example states:

  • active
  • failed
  • missing/removed (to document that an inventory item wasn't seen during last audit/check)

it would be great if this choices list could be extended like some of the status fields can be

Database changes

add a status field to the inventory item model

External dependencies

n/a

@ITJamie ITJamie added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Jul 2, 2024
@sleepinggenius2
Copy link
Contributor

I think it would make sense for the default choices to match the ones for module status, but should allow for extension as well.

@thefreakquency
Copy link

Couldnt the Custom Fields be leveraged for that?

@arthanson
Copy link
Collaborator

Module status fields are:

    STATUS_OFFLINE = 'offline'
    STATUS_ACTIVE = 'active'
    STATUS_PLANNED = 'planned'
    STATUS_STAGED = 'staged'
    STATUS_FAILED = 'failed'
    STATUS_DECOMMISSIONING = 'decommissioning'

@arthanson arthanson removed their assignment Jul 16, 2024
@arthanson arthanson added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation complexity: low Requires minimal effort to implement needs milestone Awaiting prioritization for inclusion with a future NetBox release and removed status: needs triage This issue is awaiting triage by a maintainer labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: low Requires minimal effort to implement needs milestone Awaiting prioritization for inclusion with a future NetBox release status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

4 participants