No longer use default i_ignore() subs in L2/L3/L7 base classes

This commit is contained in:
Jeroen van Ingen
2014-10-21 16:54:49 +02:00
parent d3c2c1b607
commit 0793ff31f5
4 changed files with 8 additions and 69 deletions

View File

@@ -100,23 +100,6 @@ sub interfaces {
return $interfaces;
}
sub i_ignore {
my $l7 = shift;
my $partial = shift;
my $i_type = $l7->i_type($partial) || {};
my %i_ignore = ();
foreach my $if ( keys %$i_type ) {
my $type = $i_type->{$if};
$i_ignore{$if}++
if $type =~ /(loopback|other|cpu)/i;
}
return \%i_ignore;
}
1;
__END__
@@ -229,12 +212,6 @@ to a hash.
Returns reference to the map between IID and physical Port.
=item $l7->i_ignore()
Returns reference to hash. Increments value of IID if port is to be ignored.
Ignores loopback, other, and cpu
=back
=head2 Table Methods imported from SNMP::Info