Two-stage network device configuration process
First Claim
1. A method, comprising:
- receiving, at a network device, a first request for a change in configuration of a network device to a potential operational state from a current operational state of the network device, wherein the first request comprises configuration data that describes the change in configuration of the network device;
storing the configuration data from the first request in a buffer, wherein the change in configuration described by the configuration data includes two or more configuration changes;
after the storing, receiving, at the network device, a second request to modify the current operational state of the network device to reflect the configuration data stored in the buffer, wherein the second request specifies that the current operational state of the network device should be modified to reflect any of the two or more configuration changes that can be performed even when at least one of the two or more configuration changes cannot be performed;
obtaining an exclusive lock on the network device;
modifying the current operational state of the network device to reflect the configuration data only upon obtaining the exclusive lock by;
determining that the second request does not require at least one of the two or more configuration changes to be performed; and
in response to determining that the second request does not require at least one of the two or more configuration changes described by the configuration data to be performed;
modifying the current operational state of the network device to reflect one or more configuration changes that can be performed, wherein one or more other configuration changes are not capable of being performed and are not performed, wherein the two or more configuration changes comprise one or more configuration changes that can be performed and the one or more other configuration changes that are not capable of being performed;
in response to a determination that a third request requires that each of a set of two or more configuration changes be performed;
determining if each configuration change of the set of two or more configuration changes is capable of being performed, andmodifying the current operational state of the network device to reflect the configuration data only if each configuration change of the set of two or more configuration changes is capable of being performed.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for modifying the configuration of a network device, such as a router, using a two-stage configuration model is provided. A first request for a change in configuration of a network device is received. Configuration data that describes the change in configuration of the network device is stored in a buffer. A second request to modify the current operational state of the network device to reflect the configuration data stored in the buffer is received. An exclusive lock on the network device is obtained. The current operational state of the network device is modified to reflect the configuration data stored in the buffer. Multiple users may modify the network device without interfering with one another because conflicts are avoided through use of an exclusive lock. Requests of different management operations may be contained within XML documents that are transmitted from the client to the network device.
95 Citations
45 Claims
-
1. A method, comprising:
-
receiving, at a network device, a first request for a change in configuration of a network device to a potential operational state from a current operational state of the network device, wherein the first request comprises configuration data that describes the change in configuration of the network device; storing the configuration data from the first request in a buffer, wherein the change in configuration described by the configuration data includes two or more configuration changes; after the storing, receiving, at the network device, a second request to modify the current operational state of the network device to reflect the configuration data stored in the buffer, wherein the second request specifies that the current operational state of the network device should be modified to reflect any of the two or more configuration changes that can be performed even when at least one of the two or more configuration changes cannot be performed; obtaining an exclusive lock on the network device; modifying the current operational state of the network device to reflect the configuration data only upon obtaining the exclusive lock by; determining that the second request does not require at least one of the two or more configuration changes to be performed; and in response to determining that the second request does not require at least one of the two or more configuration changes described by the configuration data to be performed; modifying the current operational state of the network device to reflect one or more configuration changes that can be performed, wherein one or more other configuration changes are not capable of being performed and are not performed, wherein the two or more configuration changes comprise one or more configuration changes that can be performed and the one or more other configuration changes that are not capable of being performed; in response to a determination that a third request requires that each of a set of two or more configuration changes be performed; determining if each configuration change of the set of two or more configuration changes is capable of being performed, and modifying the current operational state of the network device to reflect the configuration data only if each configuration change of the set of two or more configuration changes is capable of being performed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory machine-readable medium carrying one or more sequences of instructions, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
-
receiving, at a network device, a first request for a change in configuration of a network device to a potential operational state from a current operational state of the network device, wherein the first request comprises configuration data that describes the change in configuration of the network device; storing the configuration data from the first request in a buffer, wherein the change in configuration described by the configuration data includes two or more configuration changes; after the storing, receiving, at the network device, a second request to modify the current operational state of the network device to reflect the configuration data stored in the buffer, wherein the second request specifies that the current operational state of the network device should be modified to reflect any of the two or more configuration changes that can be performed even when at least one of the two or more configuration changes cannot be performed; obtaining an exclusive lock on the network device; modifying the current operational state of the network device to reflect the configuration data only upon obtaining the exclusive lock by; determining that the second request does not require at least one of the two or more configuration changes to be performed; and in response to determining that the second request does not require at least one of the two or more configuration changes described by the configuration data to be performed;
modifying the current operational state of the network device to reflect one or more configuration changes that can be performed, wherein one or more other configuration changes are not capable of being performed and are not performed, wherein the two or more configuration changes comprise one or more configuration changes that can be performed and the one or more other configuration changes that are not capable of being performed;in response to a determination that a third request requires that each of a set of two or more configuration changes be performed; determining if each configuration change of the set of two or more configuration changes is capable of being performed, and modifying the current operational state of the network device to reflect the configuration data only if each configuration change of the set of two or more configuration changes is capable of being performed. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. An apparatus comprising a memory storing instructions which, when executed by the one or more processors, cause the one or more processors to perform the steps of:
-
receiving, at a network device, a first request for a change in configuration of a network device to a potential operational state from a current operational state of the network device, wherein the first request comprises configuration data that describes the change in configuration of the network device; storing the configuration data from the first request in a buffer, wherein the change in configuration described by the configuration data includes two or more configuration changes; after the storing, receiving, at the network device, a second request to modify the current operational state of the network device to reflect the configuration data stored in the buffer, wherein the second request specifies that the current operational state of the network device should be modified to reflect any of the two or more configuration changes that can be performed even when at least one of the two or more configuration changes cannot be performed; obtaining an exclusive lock on the network device; modifying the current operational state of the network device to reflect the configuration data only upon obtaining the exclusive lock by; determining that the second request does not require at least one of the two or more configuration changes to be performed; and in response to determining that the second request does not require at least one of the two or more configuration changes described by the configuration data to be performed;
modifying the current operational state of the network device to reflect one or more configuration changes that can be performed, wherein one or more other configuration changes are not capable of being performed and are not performed, wherein the two or more configuration changes comprise one or more configuration changes that can be performed and the one or more other configuration changes that are not capable of being performed;in response to a determination that a third request requires that each of a set of two or more configuration changes be performed; determining if each configuration change of the set of two or more configuration changes is capable of being performed, and modifying the current operational state of the network device to reflect the configuration data only if each configuration change of the set of two or more configuration changes is capable of being performed. - View Dependent Claims (32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45)
-
Specification