Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

Network Change & Configuration Management

Reply
Highlighted

NetMRI API call to delete old configuration revision

Techie
Posts: 1
377     0

Hi. It seems NetMRI does not support configuration retention policy (e.g. keep max N latest revisions but no longer than D days).
Some devices have quite heavy configurations and receive updates frequently. As result, 10K+ of large config revisions per device is not unheard.
Manual removal from Web UI is not the easiest task (visit each device, max 50 revisions can be deleted at each step). However there is Web UI call available to delete specific revision ID /webui/config_explorer/config_delete?_dc=<some_id>&encodedDeletions=<revision_id>

Not sure where <some_id> for _dc comes from, it does not match any attribute in device class.
I’m pretty sure it's not unique problem and someone has faced similar challenges before, perhaps some easy and elegant solution exists. At the moment I’m looking for an API method to delete old config revisions where revision ID could be supplied as parameter. Please could you share your ideas regarding API way.

Highlighted

Re: NetMRI API call to delete old configuration revision

Adviser
Posts: 64
378     0

Yet to find an API call to make this easy.

 

However, on the UI, instead of clicking on each Device URL, then going to Config Explorer and deleting the files, the following location may be better suited for the task

 

Config Management > Config Archive 

 

This will give you direct access to all the configs collected by NetMRI and you can select a device on the left pane and delete the configs on the right.

 

You still have to delete them 50 at a time. This will be way faster than opening each device and navigating to Config Explorer section and then deleting.

 

I understand that this is not the solution you are looking for, but just wanted to share the other available UI option.

Highlighted

Re: NetMRI API call to delete old configuration revision

Techie
Posts: 1
378     0

That's good to know! Thank you!

Showing results for 
Search instead for 
Do you mean 

Recommended for You