We have NetApp FAS6070 filers in our data center and we automate NetApp volume management through Manage ONTAP Perl SDK.
I see the following code in NaServer.pm:
sub set_server_type ($$) {
my $self = shift;
my $type = shift;
my $port = $self->{port};
if ($type !~ /^(Filer|NetCache|Agent|DFM)/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";
};
($type =~ /NetCache/i) && do {
$self->{url} = "/servlets/netapp.servlets.admin.XMLrequest";
$self->{port} = 80;
};
($type =~ /Agent/i) && do {
$self->{url} = "/apis/XMLrequest";
$self->{port} = 4092;
};
($type =~ /DFM/i) && do {
$self->{url} = "/apis/XMLrequest";
$self->{port} = 8081;
};
$self->{servertype} = $type;
}
I would like to know if the storage admin can customize the url values defined for $self->{url} (or) if the path such as "/servlets/netapp.servlets.admin.XMLrequest_filer" is truly hard coded and cannot be changed at all.
I couldn't find any information about it in product and SDK documentation of NetApp. Does anyone have an idea about this?
Regards,
Haritha