METHOD AND APPARATUS FOR RE-GENERATING CONFIGURATION COMMANDS OF A NETWORK DEVICE USING AN OBJECT-BASED APPROACH
First Claim
1. A method, comprising the computer-implemented steps of:
- receiving a request to re-generate a previously issued network device configuration command that has one or more parameters, each of which is associated with a value;
in response to receiving the request;
determining, for the network device configuration command, a pattern that represents a storage location for the network device configuration command;
retrieving, based on the pattern, both;
a template representing a syntax for the network device configuration command, and one or more objects containing values for all the one or more parameters;
creating a re-generated configuration command, equivalent to the previously issued network device configuration command, by substituting the values of the one or more objects into the template;
wherein the method is performed by one or more network devices.
0 Assignments
0 Petitions
Accused Products
Abstract
Embodiments disclose re-generating a configuration command of a network device. A method includes receiving a request to re-generate a configuration command previously issued to a network device, wherein the configuration command has one or more parameters; retrieving a template and a pattern associated with the configuration command, wherein the template represents a syntax for the configuration command, wherein the pattern represents a storage location for the configuration command; based on the pattern, retrieving from an object database all objects containing values for all the particular parameters from the storage location specified by the pattern; and creating a re-generated configuration command by substituting the values of the retrieved objects into the template.
-
Citations
20 Claims
-
1. A method, comprising the computer-implemented steps of:
-
receiving a request to re-generate a previously issued network device configuration command that has one or more parameters, each of which is associated with a value; in response to receiving the request; determining, for the network device configuration command, a pattern that represents a storage location for the network device configuration command; retrieving, based on the pattern, both;
a template representing a syntax for the network device configuration command, and one or more objects containing values for all the one or more parameters;creating a re-generated configuration command, equivalent to the previously issued network device configuration command, by substituting the values of the one or more objects into the template; wherein the method is performed by one or more network devices. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-readable storage device storing one or more sequences of instructions, which instructions, when executed by one or more processors, cause:
-
receiving a request to re-generate a previously issued network device configuration command that has one or more parameters, each of which is associated with a value; in response to receiving the request; determining, for the network device configuration command, a pattern that represents a storage location for the network device configuration command; retrieving, based on the pattern, both;
a template representing a syntax for the network device configuration command, and one or more objects containing values for all the one or more parameters;creating a re-generated configuration command, equivalent to the previously issued network device configuration command, by substituting the values of the one or more objects into the template; wherein the method is performed by one or more network devices. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification