EXTERNAL PROGRAMMATIC INTERFACE FOR IOS CLI COMPLIANT ROUTERS
2 Assignments
0 Petitions
Accused Products
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.
-
Citations
21 Claims
-
1. (canceled)
-
2. A method comprising:
-
receiving an input command requesting an operation be performed by a routing system; translating the input command from an extensible markup language (XML) format into a CLI command having a CLI format based on a parse graph corresponding to a CLI parser of the routing system, wherein the CLI parser is configured to analyze CLI commands for proper CLI syntax based on parser code that defines the proper CLI syntax for the CLI commands input to the CLI parser, and wherein the parse graph is generated from the parser code extracted from the CLI parser; and transmitting the CLI command to the routing system for execution. - View Dependent Claims (3, 4, 5, 6, 7)
-
-
8. An apparatus including a computer-readable storage device storing instructions configured to cause a processing system to perform operations comprising:
-
extracting parser code of a command line interface (CLI) parser, wherein the parser code is configured to define a proper CLI syntax for CLI commands input to a CLI prompt; converting the parser code into a parse graph having an Extensible Markup Language (XML) format; and exporting the parse graph to an external programmable interface, wherein the external programmable interface is configured to translate input commands from an extensible markup language (XML) format into a CLI command having a CLI format based on the parse graph. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. An apparatus comprising:
a processing system to translate an input command from an extensible markup language (XML) format into a CLI command having a CLI format based on a parse graph generated from the parser code extracted from a CLI parser, wherein the CLI parser is configured to analyze CLI commands for proper CLI syntax based on parser code that defines the proper CLI syntax for the CLI commands input to the CLI parser, and wherein the processing system is configured to transmit the CLI command to the CLI parser. - View Dependent Claims (18, 19, 20, 21)
Specification