Wendy Peikes - Cupertino CA, US Fan Kong - Cupertino CA, US Ramanan Subrumanian - Sunnyvale CA, US David Cavanaugh - Los Gatos CA, US Thomas A. Stern - Lexington KY, US Palaniappan Jambulingam - Sunnyvale CA, US
Assignee:
Cisco Technology, Inc. - San Jose CA
International Classification:
G06F 17/00
US Classification:
715512, 715515, 715530
Abstract:
A method, system thereof, and computer usable medium for generating webpages from specified and generated document content and for automatically generating human-readable documentation from operating system command specifications. The method, system and computer usable medium are compatible with and applicable to any operating system. In one embodiment, application is made to internetworking operating systems. In one embodiment, dynamic end user documentation webpages are automatically generated from live command specifications, obviating the task of manual documentation generation. In another embodiment, customized documentation content is generated. In one embodiment, a current list of user-available commands in a software release are promulgated. In one embodiment, documents are created for Command Line Interface. In another embodiment, the method and system thereof may be used with code other than Command Line Interface.
Method And Apparatus For Scalable Handling Of Non-Tree Structures In Parser Tree Reconstruction
A linear node includes a begin option-node that has a direct link to an end option node. The begin option node has a single entry, and also includes a list of links with each entry in the list being a link to one of a plurality of parallel branches. Each of the plurality of branches represents one possible value of a command element of the configuration command. Each branch is connected back to the begin option node through a next option node. During parsing of a command, each command element is represented by a different linear node. Also, during parsing of the command, a linear command regeneration template is generated that includes a begin option node template, a next option node template, and an end option node template. The linear command regeneration template is used to recreate the original command using data in a system configuration database.
Method Of Parsing Commands Using Linear Tree Representation
A method of regenerating a network device configuration command based on configuration data stored in the network device is provided. The configuration data is created as a result of parsing and processing of the configuration command. The command comprises at least one command element that can have a plurality of values. At least one linear node is created and stored in a parse tree for representing said at least one command element. The linear node comprises a begin option node having a single entrance; a next option node coupled to the begin option node; and an end option node coupled to the begin option node. The end option node has a single exit. A linear command regeneration template is created and stored in a memory. The linear command regeneration template comprises information identifying how to regenerate a command. The command is then regenerated based on the linear command regeneration template and based on data from a database.