Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
tex85
Explorer
Jump to solution

How to clone objects from cli

Hello,

I've to duplicate some network groups objects, I have to keep the content but have 2 different names.

Is there a command to do it from cli?

I only found ho to add, delete or modify them.

 

Thank you!

0 Kudos
1 Solution

Accepted Solutions
PhoneBoy
Admin
Admin
Having two objects with the same IP/network is not considered best practice.
As such, there are no API commands to "clone" objects, thus no CLI commands for this.
In fact, if you create an object with the same IP/network as an existing object, the API will throw a warning that you must explictly send a parameter to ignore.

View solution in original post

1 Reply
PhoneBoy
Admin
Admin
Having two objects with the same IP/network is not considered best practice.
As such, there are no API commands to "clone" objects, thus no CLI commands for this.
In fact, if you create an object with the same IP/network as an existing object, the API will throw a warning that you must explictly send a parameter to ignore.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events