Startup API for Perl
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.
NaServer::new
Prototype
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.
Return value
The NaServer object
Parent topic: Perl Core APIs

Was this topic helpful? Send comments to NetApp.