Optimistic concurrency control for managed network devices
AssigneeJuniper Networks, Inc.
InventorsPrakash Ninganagouda Sidaraddi, Halan Prakash, Rosh PR
Life of this patent
Estimating the term…
Abstract
An example network device includes a memory storing a configuration database including current configuration data having a current revision value, and one or more processors implemented in digital logic circuitry and configured to receive configuration data for the network device, the configuration data including an expected current revision value, determine an actual current revision value of current configuration data for the network device, determine whether the expected current revision value is equal to the actual current revision value, and send an error message in response to determining that the expected current revision value is not equal to the actual current revision value.
Claims17
A method of configuring a network device, the method comprising:
- receiving, by a processor of a network device implemented in digital logic circuitry, configuration data for the network device from a network management system (NMS) device separate from the network device that is managing a plurality of network devices, the configuration data specifying an expected current revision value for current configuration data deployed to the network device;
- determining, by the processor, an actual current revision value of the current configuration data for the network device;
- determining, by the processor, whether the expected current revision value is equal to the actual current revision value;
- in response to determining that the expected current revision value is equal to the actual current revision value, updating, by the processor, the current configuration data with the received configuration data;
- and
- after updating the current configuration data with the received configuration data:
- receiving, by the processor, instructions from the NMS device to revert to a previous version of the configuration data;
- and
- updating, by the processor, the current configuration data with the previous version of the configuration data.
A method comprising:
- receiving, by a processor of a network management system (NMS) device implemented in digital logic circuitry, configuration data for a plurality of managed network devices separate from the NMS device;
- determining, by the processor, an expected current revision value of current configuration data deployed to the managed network devices;
- and
- sending, by the processor, the configuration data and the expected current revision value to the plurality of managed network devices;
- and
- in response to determining that the configuration data is rejected by at least one of the plurality of managed network devices, performing a roll back operation to revert the configuration data on each of the plurality of managed network devices to a previous version of the configuration data.
A network device comprising:
- a memory storing a configuration database including current configuration data having an actual current revision value;
- and
- one or more processors implemented in digital logic circuitry and configured to:
- receive configuration data for the network device from a network management system (NMS) device separate from the network device that is managing a plurality of network devices, the configuration data specifying an expected current revision value for the current configuration data deployed to the network device;
- determine the actual current revision value of the current configuration data for the network device;
- determine whether the expected current revision value is equal to the actual current revision value;
- in response to determining that the expected current revision value is equal to the actual current revision value, update the current configuration data with the received configuration data;
- after updating the current configuration data with the received configuration data:
- receive instructions from the NMS device to revert to a previous version of the configuration data;
- and
- update the current configuration data with the previous version of the configuration data.
A system comprising:
- a network management system (NMS) device;
- and
- a plurality of network devices separate from the NMS device, each of the network devices comprising:
- a memory storing a configuration database including current configuration data having an actual current revision value;
- and
- one or more processors implemented in digital logic circuitry and configured to:
- receive, from the NMS device, configuration data for the network device, the configuration data including an expected current revision value for the current configuration data deployed to the network device;
- determine the actual current revision value of the current configuration data for the network device;
- determine whether the expected current revision value is equal to the actual current revision value;
- and
- send an error message to the NMS device in response to determining that the expected current revision value is not equal to the actual current revision value,
- wherein in response to receiving the error message from at least one of the plurality of network devices, the NMS device is configured to perform a roll back operation to revert the configuration data on each of the plurality of managed network devices to a previous version of the configuration data, and
- wherein each of the plurality of network devices is configured to update its respective current configuration data with the previous version of the configuration data in response to the roll back operation.
Dependencies are inferred from the claim text.