Enable determination of spanning tree version running on Avaya switches and add methods to gather information from multiple instances

This commit is contained in:
Eric A. Miller
2014-11-11 22:05:59 -05:00
parent c97dc06177
commit c7934f4d10
2 changed files with 113 additions and 1 deletions

View File

@@ -387,6 +387,14 @@ sub qb_fw_vlan {
return $qb_fw_vlan;
}
# Baystack uses S5-AGENT-MIB (loaded in NortelStack) versus RAPID-CITY
sub stp_ver {
my $rapidcity = shift;
return $rapidcity->s5AgSysSpanningTreeOperMode()
|| $rapidcity->SUPER::stp_ver();
}
1;
__END__
@@ -490,6 +498,14 @@ Returns 'baystack' or 'boss' depending on software version.
Returns the firmware version extracted from C<sysDescr>.
=item $baystack->stp_ver()
Returns the particular STP version running on this device.
Values: C<nortelStpg>, C<pvst>, C<rstp>, C<mstp>, C<ieee8021d>
(C<s5AgSysSpanningTreeOperMode>)
=back
=head2 Overrides