SDK Interfaces for Application Integration

This page provides details about the interfaces of the Manage ONTAP SDK for application integration in C and C++, Perl, Java, C# and VB.NET.

 

Libraries for C and C++

The Manage ONTAP SDK provides static libraries and dynamic libraries for application integration.

Following are the libraries to be linked to the applications that need the static libraries of the Manage ONTAP SDK:

Platform

Interfaces

Windows

libnetapp.lib

libadt.lib

libxml.lib

ws2_32.lib

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 etc.

The respective libraries for 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.

 

Following are the libraries to be linked to the applications that use dynamic libraries of the Manage ONTAP 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 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 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.

 

Following are the environment setting required to include the Manage ONTAP SDK libraries:

Interfaces

Description

libcrypto

libssl

These libraries are required while 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 while 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

Following are modules to be linked to applications that use the Manage ONTAP SDK interfaces:

Interfaces

Description

NaServer.pm

NaElement.pm

NaErrno.pm

These modules are used for Perl applications integration.

They are at lib\perl\NetApp.

LWP::UserAgent.pm

This module is used to send request to and receive response from the World Wide Web server

XML::Parser.pm

This module parses XML documents.

Net::SSLeay

This module is required while using HTTPS transport mechanism.

 

This module is dependant 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 modules—LWP::UserAgent.pm, XML::Parser.pm, and Net::SSLeay from http://www.cpan.org/modules/by-module/Net/.

 

JAR file for Java

Following is the Java interface to be linked to applications that use the Manage ONTAP SDK interfaces.

Interface

Description

manageontap.jar

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

It is at lib\java\classes.

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

 

Libraries for C# and VB.NET

Following is the C# and VB.NET interface to be linked to applications that use the Manage ONTAP SDK interfaces.

Interface

Description

ManageOntap.dll

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

It is at lib\DotNet.

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