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

Make it possible to Clone a Device Template #5449

Open
TheWitness opened this issue Aug 12, 2023 · 0 comments
Open

Make it possible to Clone a Device Template #5449

TheWitness opened this issue Aug 12, 2023 · 0 comments
Labels
enhancement General tag for an enhancement
Milestone

Comments

@TheWitness
Copy link
Member

Feature Request

Is your feature request related to a problem? Please describe

Right now in Cacti it's quite a bit of work to replace an existing Device Template or to version a Device Template to start new changes to that template.

Describe the solution you'd like

Create a Feature that allows you to quickly replicate a Device Template, either as a new version or an entirely new Device Template and make all of it's key/non-preset values either new or copy over what will not change into a new Device Template

Describe alternatives you've considered

Doing this by hand.

Additional context

image

@TheWitness TheWitness added the enhancement General tag for an enhancement label Aug 12, 2023
@TheWitness TheWitness added this to the v1.3.0 milestone Aug 12, 2023
TheWitness added a commit that referenced this issue Aug 20, 2023
This will not be a release feature in 1.2.25.  Just adding the prototype API.  There is still some work to do:

1) Cloning Data Queries - Working
2) Cloning XML files and Scripts - Working
3) Cloning Graph Templates - Working
4) Cloning of Data Template - TBD
5) Cloning of Data Input Methods - TBD

Steps 4) and 5) will be completed posted 1.2.25 release.  The CLI script to Clone a Device Template will be withheld until such time as it is fully tested.
TheWitness added a commit that referenced this issue Aug 20, 2023
* WARNING: This script has not been fully tested.
* WARNING: Not for production use
* NOTE: It does not currently Clone Data Input Methods or Data Templates outside of Data Query based Data Templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General tag for an enhancement
Projects
None yet
Development

No branches or pull requests

1 participant