Startup API for Perl

The Startup API is used to create and initialize the object that is required to communicate between the Manage ONTAP SDK client and the NetApp storage system.

This page contains information about the Startup  Management APIs for Perl, including the description and syntax, and the input, input types, input description, and input return values.

 

NaServer::new

Prototype

new($filer, $majorversion, $minorversion)

Description

Creates a new object of NaServer class and sets the default value for the following object members:

$user= root

$password= ""

$style= LOGIN

$port= 80

$transport_type = HTTP

$servertype= FILER

You can overwrite the default values by using the set Core APIs.

 

Input

Description

$filer

The host name or IP address of a NetApp storage system.

$majorversion

The major version of the Data ONTAP API.

$minorversion

The minor version of the Data ONTAP API.

Return value

The NaServer object