Perl API bindings

Overview

NetApp Manageability SDK provides support for Perl API bindings for both Data ONTAP APIs and OnCommand Unified Manager APIs. The Perl API bindings libraries contain interfaces to establish a connection with either the Data ONTAP server or the OnCommand Unified Manager server. By using these libraries, you can create Perl applications to access and manage the Data ONTAP server or OnCommand Unified Manager server.

Runtime library

NetApp Manageability SDK Perl API bindings provide a runtime library NaServer.pm, which is available at <installation_folder>/lib/perl/NetApp. This library file enables you to establish a server connection, send requests and receive responses, and interpret error messages. Each binding can be called as a subroutine of NaServer module which in turn invokes the corresponding  Data ONTAP or OnCommand Unified Manager API.

 

API Definitions

The Perl API bindings contain API definitions for Data ONTAP and OnCommand Unified Manager. The Perl modules specify textual description of APIs, input, output, and typedef parameters corresponding to these APIs. These modules in turn are used for validating bindings and their input. The definitions are specified as hashes of hashes.  

 

Library Information for APIs

 

.pm files

.html files Description
OntapClusterAPI.pm OntapClusterAPI.html Contains the definitions and description of clustered Data ONTAP APIs
Ontap7ModeAPI.pm Ontap7ModeAPI.html Contains the definitions and description of APIs of Data ONTAP operating in 7 mode
OCUMAPI.pm OCUMAPI.html Contains the definitions and description of APIs for OnCommand Unified Manager server 6.0 or later
OCUMClassicAPI.pm OCUMClassicAPI.html Contains the definitions and description of APIs for OnCommand Unified Manager server 5.2 or earlier