Using delta snapshots to facilitate intent policy model rollback and deployment
AssigneeJuniper Networks, Inc.
InventorsChandrasekhar A, Premchandar N, Jayanthi R
Life of this patent
Estimating the term…
Abstract
A system identifies an intent policy model associated with an initial time. The system updates a data structure to cause the data structure to include one or more portions. Each portion of the data structure is associated with a start time and an end time. Each portion includes: a first delta snapshot that indicates one or more first changes to the intent policy model from the initial time to the start time associated with the portion, and one or more additional delta snapshots that respectively indicate one or more incremental changes to the intent policy model at times from the start time and to the end time associated with the portion of the data structure.
Claims20
A method, comprising:
- generating, by a system, an initial delta snapshot that indicates one or more first changes to an intent policy model from an initial time to a first time;
- storing, by the system, the initial delta snapshot in a first portion of a data structure;
- generating, by the system and after storing the initial delta snapshot, a first delta snapshot that indicates one or more second changes to the intent policy model from the first time to a second time;
- storing, by the system, the first delta snapshot in the first portion of the data structure;
- generating, by the system and after storing the first delta snapshot, a second delta snapshot that indicates one or more third changes to the intent policy model from the second time to a third time;
- storing, by the system, the second delta snapshot in the first portion of the data structure;
- determining, by the system and after storing the second delta snapshot, that additional delta snapshots are not to be stored in the first portion of the data structure;
- generating, by the system, based on determining that additional delta snapshots are not be stored in the first portion of the data structure, and based on the initial delta snapshot, the first delta snapshot, and the second delta snapshot, an accumulated delta snapshot that indicates the one or more first changes, the one or more second changes, and the one or more third changes to the intent policy model from the initial time to the third time;
- and
- storing, by the system, the accumulated delta snapshot in a second portion of the data structure.
A non-transitory computer-readable medium storing a set of instructions, the set of instructions comprising:
- one or more instructions that, when executed by one or more processors of a system, cause the system to:
- identify an intent policy model associated with an initial time;
- and
- update a data structure to cause the data structure to include one or more portions,
- wherein each portion of the data structure is associated with a start time and an end time, and each portion includes:
- a first delta snapshot that indicates one or more first changes to the intent policy model from the initial time to the start time associated with the portion;
- and
- one or more additional delta snapshots that respectively indicate one or more incremental changes to the intent policy model at times from the start time and to the end time associated with the portion of the data structure.
A system, comprising:
- one or more memories;
- and
- one or more processors to:
- update a data structure to cause the data structure to include a plurality of portions,
- wherein each portion of the data structure includes:
- a first delta snapshot that indicates one or more first changes to an intent policy model from an initial time to a start time associated with the portion;
- and
- one or more additional delta snapshots that respectively indicate one or more incremental changes to the intent policy model at times from the start time and to an end time associated with the portion of the data structure.
Dependencies are inferred from the claim text.