IP Library Granted Patent US 9,722,879
Granted Patent B1
US 9,722,879 · App. 14/542,439 · Granted Aug 1, 2017

Method and apparatus of an intuitive web based command line interface

Inventor: Suresh Muthu (San Jose, CA)
Assignee: Springpath, Inc.
H04L41/22G06F3/0482G06F3/04842H04L67/1097
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,722,879
App. No.
14/542,439
Granted
Aug 1, 2017
Kind
B1
Abstract

A device that generates suggested command completions for a distributed storage system is described. In an exemplary embodiment, the device receives a command token from a management client, wherein the command token is a partial command for the distributed storage system. In addition, the device retrieves a plurality of complete commands for the distributed storage system; wherein one of the plurality of complete commands includes a parameter based on a current configuration of the distributed storage system. The device further determines a subset of the plurality of complete commands that match the command token. The device sends the subset of the plurality of complete commands to the management client.

Claims (43)

1. A non-transitory machine-readable medium having executable instructions to cause one or more processing units to perform a method to generate suggested command completions for a distributed storage system, the method comprising:

determining a start of a client session for the management client;

in response to the determining,

retrieving the current configuration of the distributed storage system, and

generating the plurality of complete commands using the current configuration;

receiving a command token from a management client, wherein the command token is a partial command for the distributed storage system;

retrieving the plurality of complete commands for the distributed storage system, wherein at least one of the plurality of complete commands includes a command text and a parameter based on a current configuration of the distributed storage system;

determining a subset of the plurality of complete commands that match the command token; and

sending the subset of the plurality of complete commands to the management client, wherein the management client displays the subset of the plurality of complete commands.

2. The non-transitory machine-readable medium of claim 1 , wherein the parameter is selected from the group consisting of a node identifier and a node Internet Protocol (IP) address, name, object identifiers, and sub-actions.

3. The non-transitory machine-readable medium of claim 1 , wherein each of the plurality of complete commands includes a command line interface command.

4. The non-transitory machine-readable medium of claim 1 , wherein one of the plurality of complete commands includes a command line interface option, wherein the parameter is an option value for the command line interface option.

5. The non-transitory machine-readable medium of claim 1 , further comprising:

ranking the plurality of complete commands.

6. The non-transitory machine-readable medium of claim 1 , wherein the management client is a web browser running on a remote device and the sending of the subset of the plurality of complete commands is sent from a management server to the remote device.

7. The non-transitory machine-readable medium of claim 1 , further comprising:

receiving an indication that one of the subset of the plurality of complete commands is to be executed;

executing the that one of the subset of the plurality of complete commands; and

sending the results of the executed command to the management client.

8. The non-transitory machine-readable medium of claim 7 , further comprising:

if the results of the executed command is an error, sending an error message to the management client.

9. The non-transitory machine-readable medium of claim 1 , further comprising:

authenticating a user, wherein the plurality of complete commands is determined based on privileges of the authenticated user.

10. The non-transitory machine-readable medium of claim 1 , wherein the plurality of complete commands is a restricted set of complete commands.

11. A method to generate suggested command completions for a distributed storage system, the method comprising:

determining a start of a client session for the management client;

in response to the determining,

retrieving the current configuration of the distributed storage system, and

generating the plurality of complete commands using the current configuration;

receiving a command token from a management client, wherein the command token is a partial command for the distributed storage system;

retrieving the plurality of complete commands for the distributed storage system, wherein at least one of the plurality of complete commands includes a command text and a parameter based on a current configuration of the distributed storage system;

determining a subset of the plurality of complete commands that match the command token; and

sending the subset of the plurality of complete commands to the management client, wherein the management client displays the subset of the plurality of complete commands.

12. The method of claim 11 , wherein the parameter is selected from the group consisting of a node identifier and a node Internet Protocol (IP) address, name, object identifiers, and sub-actions.

13. The method of claim 11 , wherein each of the plurality of complete commands includes a command line interface command.

14. The method of claim 11 , wherein one of the plurality of complete commands includes a command line interface option, wherein the parameter is an option value for the command line interface option.

15. The method of claim 11 , further comprising:

ranking the plurality of complete commands.

16. A system that generates suggested command completions for a distributed storage system, the method comprising:

a processor;

a memory coupled to the processor though a bus; and

a process executed from the memory by the processor that causes the processor to receive a command token from a management client, wherein the command token is a partial command for the distributed storage system, determine a start of a client session for the management client, in response to the determining, retrieving the current configuration of the distributed storage system, and generating the plurality of complete commands using the current configuration, retrieve the plurality of complete commands for the distributed storage system, wherein at least one of the plurality of complete commands includes a command text and a parameter based on a current configuration of the distributed storage system, determine a subset of the plurality of complete commands that match the command token, and send the subset of the plurality of complete commands to the management client, wherein the management client displays the subset of the plurality of complete commands.

17. The system of claim 16 , wherein the parameter is selected from the group consisting of a node identifier and a node Internet Protocol (IP) address, name, object identifiers, and sub-actions.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 20, 2018
From: SPRINGPATH LLC
To: CISCO TECHNOLOGY, INC.
Reel/Frame 046418/0363 →
CHANGE OF NAME Recorded Oct 16, 2017
From: SPRINGPATH, INC.
To: SPRINGPATH LLC
Reel/Frame 044217/0209 →
CHANGE OF NAME Recorded Jun 23, 2015
From: STORVISOR, INC.
To: SPRINGPATH, INC.
Reel/Frame 036013/0770 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 17, 2014
From: MUTHU, SURESH
To: STORVISOR, INC.
Reel/Frame 034191/0053 →