CLI configuration dump command support generation
First Claim
Patent Images
1. A system, comprising:
- a code generator configured to generate code for an inverse handler, the inverse handler configured to discover a value of one of a number of state settings of a device, and generate at least one command usable to set the one of the number of state settings to the value, generate code for a wrapper routine, the wrapper routine configured to invoke the inverse handler and receive from the inverse handler the at least one command, generate code for a configuration dump handler, the configuration dump handler configured to invoke the wrapper routine, receive the at least one command, and format the at least one command in an output format.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and system to generate a CLI command designed to output a configuration dump of a networked device is described. The method and system allows generation of a command that discovers the state value parameters of the device, and from those discovered state value parameters constructs a CLI command script that, when executed, sets the networked device back to the configuration existing when the command was initially executed. The method and system provides templates and routines that may be customized by the user to form a command specific to the networked device.
28 Citations
34 Claims
-
1. A system, comprising:
a code generator configured to generate code for an inverse handler, the inverse handler configured to discover a value of one of a number of state settings of a device, and generate at least one command usable to set the one of the number of state settings to the value, generate code for a wrapper routine, the wrapper routine configured to invoke the inverse handler and receive from the inverse handler the at least one command, generate code for a configuration dump handler, the configuration dump handler configured to invoke the wrapper routine, receive the at least one command, and format the at least one command in an output format. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
8. A device having a number of state settings, comprising:
-
an inverse handler configured to receive at least one parameter, discover a value of one of the number of state settings, and generate at least one command usable to set the one of the number of state settings to the value, a wrapper routine configured to invoke the inverse handler, provide to the inverse handler the at least one parameter and receive from the inverse handler the at least one command, a configuration dump handler configured to invoke the wrapper routine, receive from the wrapper routine the at least one command, and format the at least one command in an output format; and
a configuration dump command configured to invoke the configuration dump handler. - View Dependent Claims (9, 10, 11)
-
-
12. A method, comprising:
-
generating code for an inverse handler, the inverse handler configured to discover a value of one of a number of state settings of a device, and generate at least one command usable to set the one of the number of state settings to the value, generating code for a wrapper routine, the wrapper routine configured to invoke the inverse handler and receive from the inverse handler the at least one command, generating code for a configuration dump handler, the configuration dump handler configured to invoke the wrapper routine, receive the at least one command, and format the at least one command in an output format. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A method for constructing a CLI command which generates a configuration dump of a remotely managed device, comprising:
-
providing a module to assemble code to discover initial state values of the device;
providing a module to assemble code to generate CLI commands to restore the initial state values of the device; and
providing a module to assemble code to specify a storage destination for the CLI commands. - View Dependent Claims (18)
-
-
19. A method for assisting construction of a configuration dump command for a networked device, comprising providing an environment for:
-
configuring inverse handlers to discover initial state values of the device and to generate CLI commands adapted to recreate the initial state values;
configuring wrapper routines to call the inverse handlers and provide iterative and guiding parameters to the inverse handlers; and
generating a configuration dump handler adapted to call the wrapper routines in a selected order and to format an output comprising the CLI commands. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34)
-
Specification