Shared implementation for multiple system interfaces
AssigneeNetApp, Inc.
InventorEdward Zayas
Life of this patent
Estimating the term…
Abstract
A shared implementation for multiple system interfaces. An embodiment of a method includes receiving a command for a system, the command being a command for one of a plurality of interfaces for the system; generating a data structure for the command, the data structure including an opcode from a common library; and parsing the command using one of a plurality of parsing functions, parsing of the command including inserting an argument from the command into the data structure for the command.
Claims29
A method comprising:
- receiving a command for a system, the command being a command for one of a plurality of interfaces for the system;
- generating a data structure for the command, the data structure including an opcode from a common library;
- and
- parsing the command using one of a plurality of parsing functions, the parsing of the command including inserting an argument from the command into the data structure for the command.
A system comprising:
- a first interface to access the system;
- a second interface to access the system;
- a common implementation to process commands for both the first interface and the second interface;
- and
- a common library to support the processing of commands for the first interface and the second interface.
The system of claim 9, wherein the name of a command for an action in the first interface is different than the name of a command for the action in the second interface.
A storage server comprising:
- a processor;
- a network adapter coupled with the processor, through which to communicate with a set of one or more clients;
- a storage adapter coupled with the processor, through which to access a set of one or more mass storage devices;
- a command line interface to enable a remote processing system to access the storage server;
- an application programming interface (API) to enable a remote processing system to access the storage server;
- and
- a unified interface system to parse commands from both the command line interface and the API.
A machine-readable medium having stored thereon data representing sequences of instructions that, when executed by a processor, cause the processor to perform operations comprising:
- receiving a command for a system, the command being a command for one of a plurality of interfaces for the system;
- generating a data structure for the command, the data structure including an opcode from a common library;
- and
- parsing the command using one of a plurality of parsing functions, parsing of the command including inserting an argument from the command into the data structure for the command.
Dependencies are inferred from the claim text.