# SDK 2.0 and patches

This page contains information about what is new in this release and the changes that occurred in this release.

## New in Manage ONTAP SDK 2.0P2

The following is new in Manage ONTAP SDK 2.0P2:

ONTAPI core API in C na_server_get_raw_xml_output is added to get the raw XML output of an API.

The debug style on the server should be set to NA_PRINT_DONT_PARSE before using this API.

## New in Manage ONTAP SDK 2.0P1

The following are new in Manage ONTAP SDK 2.0P1:

- The ONTAPI utility was fixed to work with Data ONTAP prior to 7.2.1.

You can use the ONTAPI utility on storage system having Data ONTAP version 6.5 and later.

- Java APIs were fixed to work with STYLE_HOSTSEQUIV login style when port 1023 on the client is in use.

You can use Java APIs with STYLE_HOSTSEQUIV login style if any one of the reserved ports (from 1023 to 0) on the client are free.

- The Manage ONTAP SDK 2.0P1 documents the API of Data ONTAP 7.2.1.

## New in Manage ONTAP SDK 2.0

The following are new in Manage ONTAP SDK 2.0:

- The Manage ONTAP SDK libraries supported on the HP-UX platform:

libadt.lib, libnetapp.lib, and libxml.lib, which are present in the lib/hpux directory.

- The Manage ONTAP SDK libraries supported on the 64-bit Linux platform:

libadt.lib, libnetapp.lib, and libxml.lib, which are present in the lib/linux-64 directory.

- The Manage ONTAP SDK libraries supported on the Solaris x86 platform:

libadt.lib, libnetapp.lib, and libxml.lib, which are present in the lib/solaris-i386 directory.

- The Manage ONTAP for SDK 2.0 documents the functionality of Data ONTAP 7.2.

## Changes in Manage ONTAP SDK 2.0

Following are the changes in Manage ONTAP SDK 2.0:

- aggr-create

- volume-create

From the Data ONTAP 7.2 release onward, aggr-create and volume-create APIs return the error ESERVICENOTLICENSED when the required license is not installed. Prior to this, these APIs returned EINTERALERROR (with the error string "This operation requires a SnapLock or snaplock_enterprise license") when the required license was not installed.

- iscsi-adapter-initiators-list-info

- iscsi-adapter-list-info

From the Data ONTAP 7.1 release onward, iscsi-portal-list-info API has been added to obtain iSCSI portals associated with the storage system. It replaces iscsi-adapter-initiators-list-info and iscsi-adapter-list-info APIs.

Applications that uses iscsi-adapter-initiators-list-info and iscsi-adapter-list-info to get iSCSI portals can continue using it. For new applications, it is recommended that you use iscsi-portal-list-info API to obtain the iSCSI portals associated with the storage system.

##