Library Information

This page provides details about the libraries of the NetApp Manageability SDK for application integration in C and C++, Perl, Java, C#, VB.NET, and PowerShell.

Libraries for C and C++

The NetApp Manageability SDK provides both static libraries and dynamic libraries for application integration.

The following libraries should be linked to the applications that need the static libraries of the NetApp Manageability SDK:

Platform

Interfaces

Windows

libnetapp.lib

libadt.lib

libxml.lib

ws2_32.lib

The version of these libraries for debug applications, multithreaded applications, multithreaded debug applications, and 64-bit platforms are also available in the SDK.

For debug versions of your code, use the versions with "d" appended to the file name—for example, libadtd.lib.

For multithreaded applications, use the versions with "md" appended to the file name—for example, libadtd_md.lib.

For multithreaded applications in debug mode, use the versions with "mdd" appended to the file name—for example, libadtd_mdd.lib.

The respective libraries for the 64-bit platform are at lib\nt\x64 and lib\nt\ia64.

Linux, Solaris, HP-UX, AIX, or VMware ESX

libnetapp.a

libadt.a

libxml.a

The library details for different operating systems are as follows:

  • Linux 32-bit libraries are at lib\linux.

  • Linux 64-bit libraries are at lib\linux-64.

  • Solaris 32-bit SPARC libraries are at lib\solaris.

  • Solaris 64-bit SPARC libraries are at lib\solaris-64.

  • Solaris i386 libraries are at lib\solaris-i386.

  • Solaris x64-bit libraries are at lib\solaris-x86_64.

  • AIX 32-bit libraries are at lib\aix.

  • AIX 64-bit libraries are at lib\aix-64.

 

The following libraries should be linked to the applications that use the dynamic libraries of the NetApp Manageability SDK:

Platform

Interfaces

Windows

zephyr.dll, zephyr.lib, ws2_32.lib (release mode)

zephyrd.dll, zephyrd.lib, ws2_32.lib (debug mode)

The libraries for the 64-bit platform are at lib\nt\x64 and lib\nt\ia64.

Linux, Solaris

libnetapp.so

libadt.so

libxml.so

The library details for different operating systems are as follows:

  • Linux 32-bit libraries are at lib\linux.

  • Linux 64-bit libraries are at lib\linux-64.

  • Solaris 32-bit SPARC libraries are at lib\solaris.

  • Solaris 64-bit SPARC libraries are at lib\solaris-64.

  • Solaris i386 libraries are at lib\solaris-i386.

  • Solaris x64-bit libraries are at lib\solaris-x86_64.

HP-UX

libnetapp.sl

libadt.sl

libxml.sl

AIX

libnetapp.so

libadt.so

libxml.so

 

libzephyr.so

If you use IBM XL C/C++ compiler and dynamically load the shared libraries using the dlopen()call, then use the libzephyr.so library.

 

The libraries path for 32-bit and 64-bit are as follows:

  • AIX 32-bit libraries are at lib\aix.

  • AIX 64-bit libraries are at lib\aix-64.

 

The following environment settings are required to include the NetApp Manageability SDK libraries:

Interfaces

Description

libcrypto

libssl

These libraries are required when using HTTPS transport in your application on a UNIX-like platform.

On Solaris and HP-UX, you need to create a softlink to libcrypto library as follows:

For Solaris:

 ln -s libcrypto.so libcrypto.so.0.9.8

For HP-UX:

 ln -s libcrypto.sl libcrypto.sl.0.9.8

libeay32.dll

ssleay32.dll

These libraries are required when using HTTPS transport in your application on a Windows platform.

ntapadmin.dll

This library is required for using remote procedure call transport in your application on a Windows platform.

Modules for Perl

The following modules should be linked to applications that use the NetApp Manageability SDK interfaces:

Interfaces

Description

NaServer.pm

NaElement.pm

NaErrno.pm

These modules are used for Perl application integration.

They are at lib\perl\NetApp.

LWP::UserAgent.pm

This module is used to send requests to and receive responses from the World Wide Web server.

XML::Parser.pm

This module parses XML documents.

Net::SSLeay

This module is required when using HTTPS transport.

 

This module is dependent on the following:

  • Net::SSLeay module

You can download Net::SSLeay from http://www.cpan.org/modules/by-module/Net/.

  • ssleay32.dll and libeay32.dll on the Windows platform

You can download these two modules from http://www.openssl.org/.

 Socket.pm

This module is a translation of the C socket.h file.

 

You can download the LWP::UserAgent.pm, XML::Parser.pm, and Net::SSLeay modules from http://www.cpan.org/modules/by-module/Net/.

JAR file for Java

The following Java interface should be linked to applications that use the NetApp Manageability SDK interfaces.

Interface

Description

manageontap.jar

This JAR file is used for Java application integration. It contains all the Java library classes of the NetApp Manageability SDK.

It is at lib\java\classes.

For RPC support, you need ntapadmin.dll, which is at lib\nt.

 

Libraries for C#, VB.NET, and PowerShell

The following is the interface for C#, VB.NET, and PowerShell that should be linked to applications that use the NetApp Manageability SDK interfaces.

Interface

Description

ManageOntap.dll

This library is used for Microsoft .NET application integration. It contains all the library classes of the NetApp Manageability SDK.

It is at lib\DotNet.

For RPC support, you need ntapadmin.dll, which is at lib\nt.

 

WSDL file for Web services:

The WSDL file for Web services is at \src\wsdl\.