Snapshot refreshing #242
Labels
integration-ipfabric
Issues that apply to IPFabric Integration
status: accepted
This issue has been accepted by the maintainers team for implementation
Environment
Proposed Functionality
Currently a user's context only has
snapshot_id
. I am proposing we add the following:expiration
: Not really an expiration but after 12 hours check to see if the snapshot is still there or newer snapshots available, see next itemsnapshot_ref
oruse_last
: We store the actual snapshot_id in the context however if I chose$last
and a new snapshot is available the chatops will not change to the new one. With the aboveexpiration
we check every 12 hours and see if there is a new snapshot and then prompt the user. "Currently using UUID as snapshot, newest snapshot is UUID. Would you like to switch to $last"Use Case
Snapshots in IP Fabric are usually run every day (sometimes 2x day). There can be a maximum of 5 loaded snapshots in the system and older ones are automatically moved to unloaded. If I use the chatops on Monday and then use it again Friday there is a possibility it errors as the snapshot was unloaded or I am using old data.
The text was updated successfully, but these errors were encountered: