Generation of a configuration patch for network devices
First Claim
1. A method for configuring a network device comprising:
- creating a working copy of an initial data source that stores configuration data for a network device, wherein the working copy includes a set of configuration objects logically arranged in an order, and wherein each of the configuration objects is associated with respective configuration data;
in response to a reorder command from a client, modifying the working copy to reorder one or more of the configuration objects;
generating a configuration patch that is a textual representation of any differences between the working copy and the initial data source, wherein the configuration patch includes one or more modification control indicators that identify each of the configuration objects that has been reordered and for which the respective configuration data of the configuration object is unchanged; and
applying the configuration patch to the initial data source to reorder the identified configuration objects within the initial data source without processing the respective configuration data associated with the configuration objects identified by the modification control indicators.
1 Assignment
0 Petitions
Accused Products
Abstract
In general, this disclosure relates to techniques for allowing multiple clients to concurrently configure a network device. More specifically, a management module creates a working copy of an initial data source that stores configuration data for a network device and modifies the working copy to reorder one or more configuration objects in a list in response to configuration commands from a client. Upon receiving a show|compare command or a commit command, the management module generates a configuration patch that is a textual representation of any differences between the working copy and the initial data source. The configuration patch includes modification control indicators that identify configuration objects in the list that are reordered. The patch is applied to the initial data source to reorder the list of configuration objects within the initial data source without processing portions of the configuration data associated with the reordered configuration.
-
Citations
22 Claims
-
1. A method for configuring a network device comprising:
-
creating a working copy of an initial data source that stores configuration data for a network device, wherein the working copy includes a set of configuration objects logically arranged in an order, and wherein each of the configuration objects is associated with respective configuration data; in response to a reorder command from a client, modifying the working copy to reorder one or more of the configuration objects; generating a configuration patch that is a textual representation of any differences between the working copy and the initial data source, wherein the configuration patch includes one or more modification control indicators that identify each of the configuration objects that has been reordered and for which the respective configuration data of the configuration object is unchanged; and applying the configuration patch to the initial data source to reorder the identified configuration objects within the initial data source without processing the respective configuration data associated with the configuration objects identified by the modification control indicators. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
12. A network device comprising:
-
a hardware-implemented processor; an initial data source that stores configuration data for the network device; and a management module executing on the processor that generates a configuration patch that is a textual representation of any differences between a working copy of the initial data source and the initial data source, wherein the configuration patch includes one or more modification control indicators that identify configuration objects that have been reordered and for which respective configuration data is unchanged, further wherein the management module applies the configuration patch to the initial data source to reorder the identified configuration objects within the initial data source without processing the respective the configuration data associated with the reordered configuration objects identified by the modification control indicators. - View Dependent Claims (13)
-
-
22. A non-transitory computer-readable medium comprising instructions that cause a processor to:
-
create a working copy of an initial data source that stores configuration data for a network device, wherein the working copy comprises a shared data source editable by a plurality of clients, and wherein the working copy includes a set of configuration objects logically arranged in an order, and each of the configuration objects is associated with respective configuration data; receive configuration commands from the plurality of clients; modify the working copy to reorder one or more of the configuration objects in response to commands received from the client; generate a configuration patch that is a textual representation of any differences between the working copy and the initial data source, wherein the configuration patch includes one or more modification control indicators that identify the configuration objects that have been reordered and for which the respective configuration data is unchanged; and apply the configuration patch to the initial data source to reorder the list of configuration objects within the initial data source without processing portions of the configuration data associated with the reordered configuration objects identified by the modification control indicators.
-
Specification