Command line interface for reducing user input in a network management device
First Claim
1. A data processing system having an improved command line interface that reduces user input, comprising:
- a processor and data storage in communication; and
a command line interface residing in said data storage and executable by said processor, said command line interface including;
a parser that parses and validates a first input command entered at a command line, said first input command having an operational directive specifying an operation to be performed and a scope specifying at least one object to which the operation is applied;
a command processor that, responsive to said validation, causes an said operation specified by said operational directive of said first input command to be successfully performed; and
an output facility that presents the first input command and that presents, separately from the first input command, one or more outputs of said operation responsive to said command processor causing said operation to be successfully performed, said one or more outputs including at least one output command executable by said command processor that specifies an operation to be performed, wherein the output facility presents the at least one output command executable by said command processor at a command line, such that said at least one output command can be submitted to said parser for validation as a second input command without entry of syntax of the second input command by a user;
wherein said parser enforces a syntax on commands entered at the command line, wherein said syntax includes an operational scope specifying a data set targeted by a command and a directive specifying an action to be performed on said operational scope, and wherein said parser interprets a subsequent command as having a same scope as an immediately previous command unless either said operational scope or said directive is explicitly changed.
4 Assignments
0 Petitions
Accused Products
Abstract
A command line interface for a network management platform includes a parser that parses and validates inputs entered at a command line, a command processor that, responsive to validation of a command, causes an operation specified by the command to be performed, and an output facility that presents outputs of the command line interface. The parser preferably enforces a syntax addressing a plurality of attributes of a network device as a tree-like hierarchy including at least two containers. The parser permits network device attributes, which are each contained in at least one container, to be contained by multiple containers of the same type so that such attributes are addressable via a plurality of different access paths. The output facility preferably provides one or more outputs for operations specified by processed input commands, and the one or more outputs preferably include at least one output command specifying a network management operation to be performed. To facilitate entry of valid inputs, the command line interface may be further equipped with an input assistance facility that causes the output facility to present, for a selected network device in the communication network, a prompt for each of a plurality of attribute names that specifies possible attribute values for the plurality of attribute names.
-
Citations
18 Claims
-
1. A data processing system having an improved command line interface that reduces user input, comprising:
-
a processor and data storage in communication; and
a command line interface residing in said data storage and executable by said processor, said command line interface including;
a parser that parses and validates a first input command entered at a command line, said first input command having an operational directive specifying an operation to be performed and a scope specifying at least one object to which the operation is applied;
a command processor that, responsive to said validation, causes an said operation specified by said operational directive of said first input command to be successfully performed; and
an output facility that presents the first input command and that presents, separately from the first input command, one or more outputs of said operation responsive to said command processor causing said operation to be successfully performed, said one or more outputs including at least one output command executable by said command processor that specifies an operation to be performed, wherein the output facility presents the at least one output command executable by said command processor at a command line, such that said at least one output command can be submitted to said parser for validation as a second input command without entry of syntax of the second input command by a user;
wherein said parser enforces a syntax on commands entered at the command line, wherein said syntax includes an operational scope specifying a data set targeted by a command and a directive specifying an action to be performed on said operational scope, and wherein said parser interprets a subsequent command as having a same scope as an immediately previous command unless either said operational scope or said directive is explicitly changed. - View Dependent Claims (2, 3, 4, 5, 6)
said output facility stores said output network management command in a command file; and
said command processor, in response to receipt by said command line interface of a selected input, causes said output network management command to be retrieved from said command file and said operation specified by said output network management command to be performed.
-
-
4. The data processing system of claim 1, wherein said output command has a same operational directive and scope as said input command.
-
5. The data processing system of claim 1, and further comprising a network management platform for a communication network, wherein said network management platform resides in said data storage and is executable by said processor, said network management platform including said command line interface, wherein said parser parses and validates commands entered at a command line targeting a network device in said communication network, said network device having a plurality of attributes, wherein said parser enforces a syntax addressing said plurality of attributes as a tree-like hierarchy including at least two containers, and wherein each of said plurality of attributes is contained within a container and a particular attribute among said plurality of attributes is contained by multiple containers of the same type such that said particular attribute is addressable via a plurality of different paths.
-
6. The data processing system of claim 5, wherein said at least two containers includes a folder.
-
7. A program product providing a command line interface for a data processing system that reduces user input, said program product comprising:
-
a parser that parses and validates a first input command entered at a command line, said first input command having an operational directive specifying an operation to be performed and a scope specifying at least one object to which the operation is applied, wherein said parser enforces a syntax on commands entered at the command line, wherein said syntax includes an operational scope specifying a data set targeted by a command and a directive specifying an action to be performed on said operational scope, and wherein said parser interprets a subsequent command as having a same scope as an immediately previous command unless either said operational scope or said directive is explicitly changed;
a command processor that, responsive to said validation, causes said operation specified by said operational directive of said first input command to be successfully performed;
an output facility that presents the first input command that presents, separately from the first input command, one or more outputs of said operation responsive to said command processor causing said operation to be successfully performed, said one or more outputs including at least one output command executable by said command processor that specifies an operation to be performed, wherein the output facility presents the at least one output command executable by said command processor at a command line, such that said at least one output command can be submitted to said parser for validation as a second input command without entry of syntax of the second input command by a user; and
a data processing system usable medium encoding said parser, said command processor, and said output facility. - View Dependent Claims (8, 9, 10, 11, 12)
said output facility stores said output network management command in a command file; and
said command processor, in response to receipt by said command line interface of a selected input, causes said output network management command to be retrieved from said command file and said operation specified by said output network management command to be performed.
-
-
10. The program product of claim 7, wherein said output command has a same operational directive and scope as said input command.
-
11. The program product of claim 7, said program product further comprising a network management platform including the command line interface, wherein the parser parses and validates commands entered at a command line targeting a network device in said communication network, said network device having a plurality of attributes, wherein said parser enforces a syntax addressing said plurality of attributes as a tree-like hierarchy including at least two containers, and wherein each of said plurality of attributes is contained within a container and a particular attribute among said plurality of attributes is contained by multiple containers of the same type such that said particular attribute is addressable via a plurality of different paths.
-
12. The program product of claim 11, wherein said at least two containers includes a folder.
-
13. A method of operating a command line interface of a data processing system that reduces user input said method comprising:
-
in response to receipt of a first input command entered at a command line, parsing and validating said first input command, said first input command having an operational directive specifying an operation to be performed and an operational scope specifying at least one object to which the operation is applied, wherein each command entered at said command line includes both an operational scope specifying a data set targeted by the command and a directive specifying an action to be performed on the operational scope, wherein parsing said command comprises interpreting an operational scope of a command to be a same operational scope as an immediately preceding command unless either said operational scope or said directive is explicitly changed;
in response to said validation, causing said operation specified by said operational directive of said first input command to be successfully performed; and
presenting the first input command and, separately from the first input command, presenting one or more outputs for said operation in response to said operation being successfully performed, said one or more outputs including at least one executable output command specifying an operation to be performed, wherein said presenting comprises presenting said at least one executable output command at a command line, such that said at least one output command can be submitted for validation as a second input command without entry of syntax of the second input command by a user. - View Dependent Claims (14, 15, 16, 17, 18)
storing said output network management command in a command file; and
thereafter, in response to a selected input, retrieving said output network management command from said command file and performing said operation specified by said output network management command.
-
-
16. The method of claim 13, wherein said output command has a same operational directive and scope as said input command.
-
17. The method of operating a command line interface of claim 13, wherein said step of parsing and validating comprises:
parsing and validating a command entered at said command line that targets a network device in a communication network, said network device having a plurality of attributes, wherein parsing said command comprises enforcing a syntax addressing said plurality of attributes as a tree-like hierarchy including at least two containers, each of said plurality of attributes being contained within a container and a particular attribute among said plurality of attributes being contained by multiple containers of the same type such that said particular attribute is addressable via a plurality of different paths.
-
18. The method of claim 17, wherein said at least two containers includes a folder.
Specification