External programmatic interface for IOS CLI compliant routers
AssigneeCisco Technology, Inc.
InventorsSankara Varanasi, Jung Tjong, Anil Bansal, Prakash Bettadapur, Janakiraman Mohanaraman
Life of this patent
Estimating the term…
Abstract
A method of receiving and translating data within an external programmatic interface (EPI) is described. The method calls for receiving input into the EPI. The input is traversed. Where the input is presented in a prescribed format other than CLI, it is translated into a corresponding CLI statement, with reference to a representation of the CLI syntax. Where the input is presented in CLI, it is translated into a corresponding prescribed output format, with reference to a model of the prescribed output format derived from the CLI syntax. The translated input is output.
Claims27
A method of receiving and translating data within an external programmatic interface (EPI), said method comprising:
- receiving input into said EPI;
- traversing said input;
- where said input is presented in a prescribed format other than CLI, translating said input into translated input comprising a corresponding CLI statement, wherein said translating comprises referencing an IOS CLI Parse Graph;
- where said input is presented in CLI, translating said input into translated input comprising a corresponding prescribed output format, wherein said translating comprises referencing a model of the prescribed output format derived from the CLI syntax;
- and
- outputting said translated input.
A method of receiving and translating data within an external programmatic interface (EPI), said method comprising:
- receiving input into said EPI;
- traversing said input;
- where said input is presented in a prescribed format other than CLI, translating said input into translated input comprising a corresponding CLI statement, wherein said translating comprises referencing an AND/OR Command Tree;
- where said input is presented in CLI, translating said input into translated input comprising a corresponding prescribed output format, wherein said translating comprises referencing a model of the prescribed output format derived from the CLI syntax;
- and
- outputting said translated input.
A method of receiving and translating data within an external programmatic interface (EPI), said method comprising:
- receiving input into said EPI;
- traversing said input;
- where said input is presented in a prescribed format other than CLI, translating said input into translated input comprising a corresponding CLI statement, wherein said translating comprises referencing a representation of the CLI syntax;
- where said input is presented in CLI, translating said input into translated input comprising a corresponding prescribed output format, wherein said translating comprises referencing a command data model derived from the CLI syntax;
- and
- outputting said translated input.
A computer-usable medium having computer-readable program code embedded therein for causing a computer system to execute a method of receiving and translating data within an external programmatic interface (EPI), said method comprising:
- receiving input into said EPI;
- traversing said input;
- where said input is presented in a prescribed format other than CLI, translating said input into translated input comprising a corresponding CLI statement, wherein said translating comprises referencing an IOS CLI Parse Graph;
- where said input is presented in CLI, translating said input into translated input comprising a corresponding prescribed output format, wherein said translating comprises referencing a model of the prescribed output format derived from the CLI syntax;
- and
- outputting said translated input.
A system for causing a computer system to receive and translate data within an external programmatic interface (EPI), said system comprising:
- means for receiving input into said EPI;
- means for traversing said input;
- where said input is presented in a prescribed format other than CLI, means for translating said input into translated input comprising a corresponding CLI statement, wherein said translating comprises referencing an AND/OR Command Tree;
- where said input is presented in CLI, means for translating said input into translated input comprising a corresponding prescribed output format, wherein said translating comprises referencing a model of the prescribed output format derived from the CLI syntax;
- and
- means for outputting said translated input.
An apparatus for receiving and translating data within an external progranimatic interface (EPI), said apparatus comprising:
- a receiver for receiving input into said EPI;
- a parser for traversing said input;
- where said input is presented in a prescribed format other than CLI, a translator for translating said input into translated input comprising a corresponding CLI statement, wherein said translator references an AND/OR Command Tree;
- where said input is presented in CLI, a translator for translating said input into translated input comprising a corresponding prescribed output format, wherein said translator references a model of the prescribed output format derived from the CLI syntax;
- and
- a port for outputting said translated input.
Dependencies are inferred from the claim text.