iControl - Perl Virtual Show Script - pool () was not found error
From Comments Section: https://devcentral.f5.com/wiki/iControl.PerlVirtualShow.ashx
Error if no pool assigned to VIP
I am fairly new to perl
I have a many LTM's and a few VIP's that do not have any pools assigned to them as i am doing an I-rule redirect and a few various other reasons why i do not have a pool defined for a vip's. This script runs great if all VIP's have a pool assigned however if when it hits the one that does not have a pool assigned it errors out as below. Would someone be able to help to be able to continue on even if there is no pool defined for the VIPs?
Here is the error i am seeing using the Perl Virtual Show Script.
SOAP-ENV:Server Exception caught in LocalLB::urn:iControl:LocalLB/Pool::get_lb_method() Exception: Common::OperationFailed primary_error_code : 16908342 (0x01020036) secondary_error_code : 0 error_string : 01020036:3: The requested pool () was not found.