Forum Discussion
Ross_79170
Dec 28, 2011Nimbostratus
System.VCMP.VCMPCompletionStatus structure
Hi Chaps
I hope you are all well.
I am doing some work using iControl on perl (SOAP::Lite) to create vCMP instances and am a bit stuck with accessing the data structure returned by...
Mark_Worrell_98
Dec 28, 2011Historic F5 Account
Let's try that again and see if the system will preserve the indentation:
@list = @{$soap_response->result};
foreach $guest (0 .. $list) {
$ref = $list[$guest];
$n = @$ref - 1;
printf(STDOUT "Guest: %s\n", $opt_n);
foreach $slot (0 .. $n) {
$foo = $list[$guest][$slot];
$slot_id = $foo->{"slot_id"};
$requested_state = $foo->{"requested_state"};
$request_complete = $foo->{"request_complete"};
$status = $foo->{"status"};
$comment = $foo->{"comment"};
printf(STDOUT "Slot ID: %s\n", $slot_id);
printf(STDOUT "Requested State: %s\n", $requested_state);
printf(STDOUT "Request Complete: %s\n", $request_complete);
printf(STDOUT "Status: %s\n", $status);
printf(STDOUT "Comment: %s\n", $comment);
}
}
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