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
You are treating the response like a 1-d array while it is in reality a 2-d array.
VirtualServerRule [] [] get_rule(
in String [] virtual_servers
);
You are just passing in a single virtual server so the 0th index of the first dimension will be the list of VirtualServerRule structures for that given virtual.
I'll whip up some code and post it later on today for you if you haven't figured it out by then.
-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