iControl examples in PHP5
Problem this snippet solves:
PHP5 SOAP client web page widget examples to manipulate LTM Nodes, Pools, PoolMembers (deprecated), Virtual Servers, GTM Servers, Virtual Servers, WIP Pools, and WIPs.
How to use this snippet:
PHP5 SOAP client web page widget examples to manipulate LTM Nodes, Pools, PoolMembers (deprecated), Virtual Servers, GTM Servers, Virtual Servers, WIP Pools, and WIPs.
function get_statistics($vs) {
try {
$soapClient = getSoapClient();
add_result("called LocalLB::VirtualServer::get_statistics",true);
if(is_array($vs)) {
return $soapClient->get_statistics($vs);
}else{
return $soapClient->get_statistics(array($vs));
}
}catch (Exception $e) {
add_result("Error:".formatErrors($e->getMessage()),true);
}
}
Published Mar 07, 2015
Version 1.0John_Gruber_432
Historic F5 Account
Joined November 28, 2006
John_Gruber_432
Historic F5 Account
Joined November 28, 2006
1 Comment
- John_Chen_43562
Nimbostratus
Can you provide details on how to use this code snippet? Is there suppose to be a index page or something else?