The Startup API is used to create and initialize the object that is required to communicate between the NetApp Manageability 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.
new($server, $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 |
||
$server |
The name or the IP address of the server in IPv4 or IPv6 format |
||
$majorversion |
The major version of the Data ONTAP API
|
||
$minorversion |
The minor version of the Data ONTAP APIs
|
Return value
The NaServer object