The Ruby library provides the following two classes:
NaServer—This class manages server sessions.
NaElement—This class encapsulates the NetApp XML request elements. The NaElement class encapsulates one level of an XML element. You can arbitrarily nest elements. They have names, corresponding to XML tags, attributes (only used for results), values (always strings), and children, corresponding to nested tagged items.
The class declaration is at lib/ruby/NetApp.
This section provides the following information about the Ruby Core APIs:
Startup API—This API is used to create and initialize the object that is required to communicate between the NetApp Manageability SDK client and the server.
Session Management APIs—These APIs are used to open the server connection, and to set and retrieve the server session parameters, such as transport type, authentication style.
Input Output Element Management APIs—These APIs are used to open the server connection, and to set and retrieve the server session parameters, such as transport type, authentication style.
Status Request APIs—These Ruby Core APIs are used to retrieve the status of an API requested to the server, and in the case of request failure, to get the error number and a string containing the error details.
Related Topics