Automation optimization in a command line interface
AssigneeVCE Company, LLC
InventorsChangbin Gong, Srinivas Mantrala
Life of this patent
Estimating the term…
Abstract
A method of automation optimization in a command line interface is provided. The method includes receiving a configuration input that includes one or more commands and parsing the configuration input. The method also includes generating a command list that includes one or more tasks, based on the configuration input and populating a queue with the one or more tasks. The method includes executing each of the one or more tasks from the queue, on a command line interface and outputting a result, based on the executing.
Claims16
A method of automation optimization in a command line interface, comprising:
- receiving a configuration input that includes one or more commands to an operating system for an appliance comprising one or more virtual machines implemented by one or more physical machines;
- parsing the configuration input;
- generating a command list based on the configuration input;
- populating a queue, wherein populating the queue comprises placing each of one or more tasks, based on the command list, into the queue, with an indication of the one or more tasks that are executable in parallel and at least another task of the one or more tasks that is executable in sequence;
- executing each of the one or more tasks from the queue, through the command line interface by
- executing all of a first set of tasks in a first unit in the queue in parallel;
- and
- executing a task in a second unit in the queue, sequenced after the executing all of the first set of tasks in parallel;
- outputting a result, based on the executing;
- and
- formatting the result, wherein:
- the configuration input includes a file having an indication of format for the result;
- the formatting the result is based on the indication of the format;
- and
- the formatted result is compatible with one of displaying the formatted result on a viewscreen, exporting the formatted result into a data structure, exporting the formatted result into a software module, or using the formatted result in software,
- wherein the method is performed by a processor.
A tangible, non-transitory, computer-readable media having instructions thereupon which, when executed by a processor, cause the processor to perform a method comprising:
- receiving a configuration input that includes one or more commands to an operating system for an appliance comprising one or more virtual machines implemented by one or more physical machines;
- parsing the configuration input;
- generating a command list based on the configuration input;
- populating a queue, wherein populating the queue comprises placing each of one or more tasks, based on the command list, into the queue, with an indication of the one or more tasks that are executable in parallel and at least another task in the one or more tasks that is executable in sequence;
- executing each of the one or more tasks from the queue, through a command line interface by
- executing all of a first set of tasks in a first unit in the queue in parallel;
- and
- executing a task in a second unit in the queue, sequenced after the executing all of the first set of tasks in parallel;
- outputting a result, based on the executing;
- and
- formatting the result, wherein:
- the configuration input includes a file having an indication of format for the result;
- the formatting the result is based on the indication of the format;
- and
- the formatted result is compatible with one of displaying the formatted result on a viewscreen, exporting the formatted result into a data structure,
- exporting the formatted result into a software module, or using the formatted result in software.
A system for automation optimization in a command line interface, comprising:
- a computing device having a hardware processor;
- a queue, resident in the computing device and configured to receive and release tasks for execution on a command line interface to an operating system for an appliance comprising one or more virtual machines implemented by one or more physical machines;
- a command parser module resident in the computing device, the command parser module configured to receive a configuration input that includes one or more commands, the command parser module configured to parse the configuration input and generate a command based on the configuration input;
- a command processor module resident in the computing device, the command processor module configured to populate the queue, wherein populating the queue comprises placing each of one or more tasks, based on the command list, into the queue, with an indication of the one or more tasks that are executable in parallel and at least another task in the one or more tasks that is executable in sequence,
- execute each of the one or more tasks from the queue, through the command line interface, wherein all of a first set of tasks in a first unit in the queue are executed in parallel, and a task in a second unit in the queue is executed after executing all of the first set of tasks in parallel;
- a command output module resident in the computing device, the command output module configured to
- output a result, based on execution of the tasks;
- and
- format the result, wherein:
- the configuration input includes a file having an indication of format for the result;
- the formatting the result is based on the indication of the format;
- and
- the formatted result is compatible with one of displaying the formatted result on a viewscreen, exporting the formatted result into a data structure, exporting the formatted result into a software module, or using the formatted result in software.
Dependencies are inferred from the claim text.