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 fields to device component models for tracking creation/update times #5901

Closed
jeremystretch opened this issue Mar 1, 2021 · 0 comments
Closed
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@jeremystretch
Copy link
Member

Environment

  • Python version: 3.7.9
  • NetBox version: 2.10.5

Proposed Functionality

Add the standard created and last_updated fields to all device component and component template models. These will appear in the REST API serializer as well as within the NetBox UI.

Use Case

Automatically tracks the date on which objects are created, and the date and time at which they have been most recently updated.

Database Changes

Add created and last_updated fields to each device component (console ports, power outlets, interfaces, etc.) model as well as their template models (used for instantiation from a device type).

External Dependencies

None

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application labels Mar 1, 2021
@jeremystretch jeremystretch self-assigned this Mar 1, 2021
@jeremystretch jeremystretch added this to the v2.11 milestone Mar 1, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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

1 participant