Forum Discussion
Derek_21893
Nimbostratus
Nov 30, 2009pva_id not populated in get_all_pva_statistics
Hi, I've noticed that pva_id doesn't get a value when using System/Statistics->get_all_pva_statistics under iControl 9.4. The platform only has one packet velocity ASIC, but shouldn't I get at least a value of "0" or "1" for the ID?
Here's a snippet of my Perl code:
my $response = $Statistics->get_all_pva_statistics;
unless ($self->ic->check_response($response)) {
$self->error($self->ic->error);
return 0;
}
my $stat;
my %pva;
foreach $stat (@{${$response->result}{'statistics'}}) {
pva_id is just "" after the following assignment...
interestingly it's not undef
my $pva_id = $$stat{'pva_id'};
}
any insight appreciated... This would become important on a system with more than one PVA.
Thanks,
-Derek
No RepliesBe the first to reply
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