IHAC is testing NetApp api and raise the following questions:
they downloaded netapp-manageability-sdk-5.4P1 from NetApp official website.
they found some differences between this new version and current version we are using for 7 mode only.
The new version introduce many new parameters.
One of them is {bindings_family}.
In the new version, when we set the server type to Filer. It will automatically bind to CLUSTER mode.
sub set_server_type ($$) {
my $self = shift;
my $type = shift;
my $port = $self->{port};
if ($type !~ /^(Filer|NetCache|Agent|DFM|OCUM)/i) {
return $self->fail_response(13001,
"in NaServer::set_server_type: bad type \"$type\"");
}
($type =~ /Filer/i) && do {
$self->{url} = "/servlets/netapp.servlets.admin.XMLrequest_filer";
$self->{bindings_family} = "CLUSTER-MODE";
};
…
}
This new version is supposed to be support both 7 mode and C mode.
- Is it mandatory to set the bindings_family to 7-MODE after set server type?
my $serv = NaServer->new( $hostname_of{$ident}, 1, 1 );
$serv->set_server_type($args{server_type});
…
$serv-> set_bindings_family (‘7-mode’); ## without this call , I can still call API for 7 mode filer even when the bindings_family=’CLUSTER-MODE’
they tried to not set it, I can still call the API for 7-mode filer.
What does bindings family do?
- Is the new perl SDK compatible with 7 mode?