Hi all,
Sorry if I ask question that has been asked before. I have tried search but cannot find the right one.
I have test adding class by iControl both internal and external. After new member has been added successfully, the data is shown if I run bigpipe command to display the value. But it will not be saved to bigip.conf (for internal type) or external file.
here is the code which I use to add class member
====================
$newmember = “five 5”;
$name = “number”;
$StringClass2 = { name => $name, members => [$newmember] };
$soapResponse = $Class->add_string_class_member
(
SOAP::Data->name(class_members => [$StringClass2])
);
&checkResponse($soapResponse);
====================
Am I missing something?
I just use basic iControl code with Perl/win32.
PS: I also tried saving data with ConfigSync. It works but rather slow. (is it because bigip has invalid certificate?) And it may not be efficient if data has been added very often.
====================
$Sync = SOAP::Lite
→ uri(‘urn:iControl:System/ConfigSync’)
→ proxy(“$sProtocol://$sHost:$sPort/iControl/iControlPortal.cgi”);
$soapResponse = $Sync->save_configuration
(
SOAP::Data->name(filename => “”),
SOAP::Data->name(save_flag => 1)
);
&checkResponse($soapResponse);
=======================
Thanks in advance.
Nat