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
87     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.

Showing results for 
Search instead for 
Do you mean 

Recommended for You