Forum Discussion
Joe_Pawlicki_70
Nimbostratus
Dec 11, 2008perl ConfigSync = Epic Fail
I'm not getting this to work, so reluctantly will ask for help. There are many good threads with examples of saving the config after iControl changes, but after several hours of trying, I'm unable to...
Joe_Pawlicki_70
Nimbostratus
Dec 12, 2008Problem solved. Looks like I picked up some bad syntax from some of the older threads in this forum. In particular, the "urn:iControl:ITCMSystem/ConfigSync" here: https://devcentral.f5.com/Default.aspx?tabid=53&forumid=2&postid=3769&view=topic
That's the problem with trying to code over your head, but hey, that's how we learn, I guess. Taking the syntax directly from your PerlConfigSync page makes it work:
$ConfigSync = SOAP::Lite
-> uri('urn:iControl:System/ConfigSync')
-> readable(1)
-> proxy("$sProtocol://$sHost:$sPort/iControl/iControlPortal.cgi");
eval { $ConfigSync->transport->http_request->header
(
'Authorization' =>
'Basic ' . MIME::Base64::encode("$sUID:$sPWD", '')
); };
I noted your updates to the save_flag, as well.
Muchas gracias.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects