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

Closed
ITJamie opened this issue Jul 2, 2024 · 4 comments
Closed

Add Status field to inventory items #16783

ITJamie opened this issue Jul 2, 2024 · 4 comments
Assignees
Labels
complexity: low Requires minimal effort to implement status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

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.

@AnythingOverIP
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
@jeremystretch jeremystretch removed the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label Jul 16, 2024
@ITJamie
Copy link
Contributor Author

ITJamie commented Jul 29, 2024

Im happy to make a PR for this

@jeremystretch jeremystretch added the status: backlog Awaiting selection for work label Aug 15, 2024
@jeremystretch jeremystretch added this to the v4.2 milestone Sep 26, 2024
@jeremystretch jeremystretch removed the needs milestone Awaiting prioritization for inclusion with a future NetBox release label Sep 26, 2024
@arthanson arthanson self-assigned this Sep 26, 2024
@arthanson arthanson added the status: accepted This issue has been accepted for implementation label Sep 26, 2024
@jeremystretch jeremystretch removed the status: backlog Awaiting selection for work label Sep 27, 2024
jeremystretch added a commit that referenced this issue Nov 25, 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 status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

5 participants