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...
Dec 11, 2008
In the SDK, there is a ConfigSync.pl sample that illustrates how to use the ConfigSync methods with perl. I've just added it to the Wiki so you can get it from there as well.
http://devcentral.f5.com/wiki/default.aspx/iControl/PerlConfigSync.html
Click here
The save_configuration method takes two parameters. The first is the file name, the second is the save flag. In perl, you need to use the string based representation of the flag as you did in your first example but in that one you didn't pass in the filename.
And for your second example, you'll just pass in the actual config name without the "config/" directory part.
Check out the sample and if it's not clear, let me know and I'll try to highlight it some more.
-Joe
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