+ Enhance still bigip modes

This commit is contained in:
garnier-quentin 2015-07-07 14:34:01 +02:00
parent ec77a22f07
commit d002e7f2b5
3 changed files with 3 additions and 3 deletions

View File

@ -265,7 +265,7 @@ sub manage_selection {
, nothing_quit => 1);
my ($branch, $map) = ($oid_ltmNodeAddrStatusEntry, 'new');
if (!defined($self->{results}->{$oid_ltmNodeAddrStatusEntry})) {
if (!defined($self->{results}->{$oid_ltmNodeAddrStatusEntry}) || scalar(keys %{$self->{results}->{$oid_ltmNodeAddrStatusEntry}}) == 0) {
($branch, $map) = ($oid_ltmNodeAddrEntry, 'old');
}

View File

@ -264,7 +264,7 @@ sub manage_selection {
, nothing_quit => 1);
my ($branch, $map) = ($oid_ltmPoolStatusEntry, 'new');
if (!defined($self->{results}->{$oid_ltmPoolStatusEntry})) {
if (!defined($self->{results}->{$oid_ltmPoolStatusEntry}) || scalar(keys %{$self->{results}->{$oid_ltmPoolStatusEntry}}) == 0) {
($branch, $map) = ($oid_ltmPoolEntry, 'old');
}

View File

@ -265,7 +265,7 @@ sub manage_selection {
, nothing_quit => 1);
my ($branch, $map) = ($oid_ltmVsStatusEntry, 'new');
if (!defined($self->{results}->{$oid_ltmVsStatusEntry})) {
if (!defined($self->{results}->{$oid_ltmVsStatusEntry}) || scalar(keys %{$self->{results}->{$oid_ltmVsStatusEntry}}) == 0) {
($branch, $map) = ($oid_ltmVirtualServEntry, 'old');
}