add support for 8100 series, doc cleanup
This commit is contained in:
@@ -191,22 +191,22 @@ sub interfaces {
|
|||||||
next unless defined $index;
|
next unless defined $index;
|
||||||
|
|
||||||
if (($index == 1) and ($model =~ /(86)/)) {
|
if (($index == 1) and ($model =~ /(86)/)) {
|
||||||
$if{$index} = 'CPU.Virtual';
|
$if{$index} = 'Cpu.Virtual';
|
||||||
}
|
}
|
||||||
|
|
||||||
elsif (($index == 192) and ($model eq '8603')) {
|
elsif (($index == 192) and ($model eq '8603')) {
|
||||||
$if{$index} = 'Cpu3';
|
$if{$index} = 'Cpu.3';
|
||||||
}
|
}
|
||||||
|
|
||||||
elsif (($index == 320) and ($model =~ /(8606|8610|8610co)/)) {
|
elsif (($index == 320) and ($model =~ /(8606|8610|8610co)/)) {
|
||||||
$if{$index} = 'Cpu5';
|
$if{$index} = 'Cpu.5';
|
||||||
}
|
}
|
||||||
|
|
||||||
elsif (($index == 384) and ($model =~ /(8606|8610|8610co)/)) {
|
elsif (($index == 384) and ($model =~ /(8606|8610|8610co)/)) {
|
||||||
$if{$index} = 'Cpu6';
|
$if{$index} = 'Cpu.6';
|
||||||
}
|
}
|
||||||
|
|
||||||
elsif (($index > 2000 and $model =~ /(86)/) or
|
elsif (($index > 2000 and $model =~ /(86|81)/) or
|
||||||
($index > 256 and $model =~ /(105|11|12)/)) {
|
($index > 256 and $model =~ /(105|11|12)/)) {
|
||||||
my $vlan_index = $reverse_vlan{$iid};
|
my $vlan_index = $reverse_vlan{$iid};
|
||||||
my $v_id = $vlan_id->{$vlan_index};
|
my $v_id = $vlan_id->{$vlan_index};
|
||||||
@@ -338,7 +338,7 @@ sub i_name {
|
|||||||
$i_name{$iid} = 'CPU 6 Ethernet Port';
|
$i_name{$iid} = 'CPU 6 Ethernet Port';
|
||||||
}
|
}
|
||||||
|
|
||||||
elsif (($iid > 2000 and defined $model and $model =~ /(86)/) or
|
elsif (($iid > 2000 and defined $model and $model =~ /(86|81)/) or
|
||||||
($iid > 256 and defined $model and $model =~ /(105|11|12)/)) {
|
($iid > 256 and defined $model and $model =~ /(105|11|12)/)) {
|
||||||
my $vlan_index = $reverse_vlan{$iid};
|
my $vlan_index = $reverse_vlan{$iid};
|
||||||
my $vlan_name = $v_name->{$vlan_index};
|
my $vlan_name = $v_name->{$vlan_index};
|
||||||
@@ -459,8 +459,8 @@ __END__
|
|||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
SNMP::Info::Layer3::Passport - Perl5 Interface to Nortel Networks' Passport
|
SNMP::Info::Layer3::Passport - Perl5 Interface to Nortel's Passport
|
||||||
8600 and Accelar Series Switches
|
and Accelar Series Switches
|
||||||
|
|
||||||
=head1 AUTHOR
|
=head1 AUTHOR
|
||||||
|
|
||||||
@@ -484,7 +484,7 @@ Eric Miller (C<eric@jeneric.org>)
|
|||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
Abstraction subclass for Nortel Networks' Passport 8600 and Accelar Series Switches.
|
Abstraction subclass for Nortel's Passport 8600 and Accelar Series Switches.
|
||||||
|
|
||||||
These devices run Passport OS but have some of the same charactersitics as the Baystack family.
|
These devices run Passport OS but have some of the same charactersitics as the Baystack family.
|
||||||
For example, extended interface information is gleened from RAPID-CITY.
|
For example, extended interface information is gleened from RAPID-CITY.
|
||||||
@@ -536,15 +536,16 @@ These are methods that return scalar value from SNMP
|
|||||||
|
|
||||||
=item $passport->model()
|
=item $passport->model()
|
||||||
|
|
||||||
Returns the model extracted from B<sysDescr>
|
Returns model type. Checks $passport->id() against the
|
||||||
|
RAPID-CITY-MIB and then parses out rcA.
|
||||||
|
|
||||||
=item $passport->vendor()
|
=item $passport->vendor()
|
||||||
|
|
||||||
Returns 'Nortel'
|
Returns 'nortel'
|
||||||
|
|
||||||
=item $passport->os()
|
=item $passport->os()
|
||||||
|
|
||||||
Returns 'Passport'
|
Returns 'passport'
|
||||||
|
|
||||||
=item $passport->os_ver()
|
=item $passport->os_ver()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user