Forum Discussion
brice_11994
Nimbostratus
Aug 12, 2008Perl LocalLB/VirtualServer - Changing iRules on a VIP
Hey guys,
My end state is to have a script to list the iRules of a VIP, remove iRules from a VIP, and add iRules to a VIP. I am having all kinds of trouble referencing the elements of the arr...
Aug 12, 2008
I just whipped a sample up for you and put it in the iControl codeshare.
http://devcentral.f5.com/wiki/default.aspx/iControl/PerlVirtualServerRule.html
Click here
The usage is as follows:
$ ./VirtualServerRule.pl bigip port user pass list [virtual]
$ ./VirtualServerRule.pl bigip port user pass add virtual rule priority
$ ./VirtualServerRule.pl bigip port user pass remove virtual rulename
Hopefully it's fairly self-explanatory in the code. Feel free to follow up here if you have any questions about the code.
Cheers!
-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