2 weeks ago
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.