Enable determination of spanning tree version running on Avaya switches and add methods to gather information from multiple instances
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user