Fixed
Details
Assignee
Scott ThelemanScott ThelemanReporter
Chandra GorantlaChandra GorantlaStory Points
8Sprint
NoneFix versions
Priority
Minor
Details
Details
Assignee
Scott Theleman
Scott ThelemanReporter
Chandra Gorantla
Chandra GorantlaStory Points
8
Sprint
None
Fix versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created April 26, 2022 at 6:00 PM
Updated May 10, 2022 at 5:33 PM
Resolved May 6, 2022 at 6:18 PM
We should provide a configuration option for how long the device config backups should be retained.
May be we can use period format here:
PnYnMnD
, ex: 1 yr -P1Y
https://docs.oracle.com/javase/8/docs/api/java/time/Period.html
Any configs older than configured time should be deleted.
whenever we successfully update a config, just get all the configs where lastCreated < ( current time - period)
If it is the only config for that specific interface, don't delete.
if it is more than one and this config is not the latest config, delete