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

Device Name is not Preserved in Changelog for Cable Deletion #17689

Open
Omega5109 opened this issue Oct 7, 2024 · 0 comments
Open

Device Name is not Preserved in Changelog for Cable Deletion #17689

Omega5109 opened this issue Oct 7, 2024 · 0 comments
Labels
status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application

Comments

@Omega5109
Copy link

Omega5109 commented Oct 7, 2024

NetBox version

v3.7.8, also tested on demo instance @v4.1.3

Feature type

Change to existing functionality

Proposed functionality

When a cable is deleted, three changelog entries are created, one for the cable and two for each of its terminations. However, only the interface name is preserved and not the name of the device it was connected to. Example: dcim | cable termination Cable #226 to xe-0/0/0:3 deleted by user

Use case

This addresses a need to restore mistakenly deleted data from the changelog, which would be the express purpose of a changelog. The A side device and B side device need to be preserved in the changelog entry for data recovery purposes. Only storing interface name renders this impossible in a sea of devices using the same interface naming scheme.

Database changes

No database changes are necessary. The data is present at cable.a_terminations[0].device and is simply not stored within changelog entries.

External dependencies

N/A

@Omega5109 Omega5109 added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant