Forum Discussion
Hamish
Apr 19, 2012Cirrocumulus
And also to sync from the current unit to the peer...
sub syncConfig {
my($configAPI, $synctype)=@_;
print "syncConfig:\n";
my $soapResponse = $configAPI->synchronize_configuration(SOAP::Data->name(sync_flag => $synctype));
my($status,$text)=&checkResponse($soapResponse);
if(($status!=1)||($text ne "OK")) {
print "syncConfig: status $status error [$text] from synchronize_configuration($synctype)\n";
return;
}
print "syncConfig: status $status success [$text] from synchronize_configuration($synctype)\n";
print "syncConfig:\n";
}
H