Method and apparatus for command abstraction
First Claim
Patent Images
1. A method, comprising:
- obtaining information on commands for a plurality of devices including devices of the same type having different command structures;
receiving a generic command line interface (CLI) command from a user directed to one of the devices of the same type;
determining-whether the generic CLI command is supported;
extracting parameters from the generic CLI command;
generating from the extracted parameters and the generic CLI command a device-specific command for execution by the one of the devices of the same type;
providing a single user interface to obtain information from the user for the generic CLI command that can be used for any one of the devices of the same type having different command structures; and
collecting output from a device in response to the device-specific command using terminal scraping; and
validating and transforming the collected output into a normalized model.
9 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus to provide command abstraction. In one embodiment, a method includes obtaining information on commands for a plurality of devices including devices of the same type having different command structures, receiving a generic command from a user directed to one of the devices of the same type, determining, using a computer processor, whether the generic command is supported, extracting parameters from the generic command, and generating from the extracted parameters and the generic command a device-specific command for execution by the one of the devices of the same type.
-
Citations
16 Claims
-
1. A method, comprising:
-
obtaining information on commands for a plurality of devices including devices of the same type having different command structures; receiving a generic command line interface (CLI) command from a user directed to one of the devices of the same type; determining-whether the generic CLI command is supported; extracting parameters from the generic CLI command; generating from the extracted parameters and the generic CLI command a device-specific command for execution by the one of the devices of the same type; providing a single user interface to obtain information from the user for the generic CLI command that can be used for any one of the devices of the same type having different command structures; and collecting output from a device in response to the device-specific command using terminal scraping; and validating and transforming the collected output into a normalized model. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An article, comprising:
-
a computer-readable medium containing non-transitory stored instructions that enable a machine to perform; obtaining information on commands for a plurality of devices including devices of the same type having different command structures; receiving a generic CLI command from a user directed to one of the devices of the same type; determining, using a computer processor, whether the generic CLI command is supported; extracting parameters from the generic CLI command; generating from the extracted parameters and the generic CLI command a device-specific command for execution by the one of the devices of the same type; providing a single user interface to obtain information from the user for the generic CLI command that can be used for any one of the devices of the same type having different command structures; collecting output from a device in response to the device-specific command using terminal scraping; and validating and transforming the collected output into a normalized model. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system, comprising:
-
a command abstraction module comprising; a user interface to receive generic CLI commands from a user; a command processor module to receive the generic CLI command and confirm the generic CLI command is supported; a parameter extraction module to extract parameters from the generic CLI command; a command generator module to create a device-specific command from the extracted parameters and the generic CLI command, the device-specific command having a syntax specific to particular device type, wherein the command abstraction module can generate device-specific commands for a plurality of device types from the generic CLI command; and a module to collect output from a device in response to the device-specific command and to use terminal scraping and to validate and transform the collected output into a normalized model. - View Dependent Claims (14, 15, 16)
-
Specification