RoutingLoop_179
May 29, 2013Cirrus
Can't create datagroup file using LocalLB::DataGroupFile::create
Hi I'm having issues creating a new datagroup file using LocalLB::DataGroupFile::create(). SOAP API seems to call ok and does not return any exceptions however the new file does not get created on the LTM following completion. I'm using perl and tested this against both LTM 11.2 and 11.3 (although we run 11.2 in production)
I have tested using other datagroupfile functions e.g set_local_path and get_list and they all seem to work as expected, it just seems I can't get create to work. Hopefully someone can point out what i've been doing wrong.
my create subroutine.
----------------------------------------------------------------------------
sub create datagroupfile
----------------------------------------------------------------------------
sub createDataGroupFile()
{
my ($Identifier,$path,$type) = (@_);
print "$Identifier, $path, $type\n";
$soapResponse = $datagroupfile->create
(
SOAP::Data->name(files => $Identifier),
SOAP::Data->name(paths => $path),
SOAP::Data->name(types => $type)
);
&checkResponse($soapResponse);
print "DataGroupFilename $Identifier successfully created with file $path and type $type\n";
}
Any help or guidence greatly appreciated.