more whitespace cleanup
This commit is contained in:
@@ -163,7 +163,7 @@ sub model {
|
||||
return $id unless defined $model;
|
||||
|
||||
$model =~ s/^wirelessLANController//i;
|
||||
return $model;
|
||||
return $model;
|
||||
}
|
||||
|
||||
sub _ap_serial {
|
||||
@@ -393,7 +393,7 @@ sub bp_index {
|
||||
sub fw_mac {
|
||||
my $trapeze = shift;
|
||||
my $partial = shift;
|
||||
|
||||
|
||||
my $serials = $trapeze->trapeze_sta_serial($partial) || {};
|
||||
|
||||
my %fw_mac;
|
||||
@@ -405,7 +405,7 @@ sub fw_mac {
|
||||
|
||||
$fw_mac{$iid} = $mac;
|
||||
}
|
||||
return \%fw_mac;
|
||||
return \%fw_mac;
|
||||
}
|
||||
|
||||
sub fw_port {
|
||||
@@ -498,7 +498,7 @@ sub dot11_cur_tx_pwr_mw {
|
||||
my $partial = shift;
|
||||
|
||||
my $cur = $trapeze->trapeze_apif_power($partial);
|
||||
|
||||
|
||||
my $dot11_cur_tx_pwr_mw = {};
|
||||
foreach my $idx ( keys %$cur ) {
|
||||
my $pwr_dbm = $cur->{$idx};
|
||||
@@ -506,7 +506,7 @@ sub dot11_cur_tx_pwr_mw {
|
||||
#Convert to milliWatts = 10(dBm/10)
|
||||
my $pwr = int (10 ** ($pwr_dbm / 10));
|
||||
|
||||
$dot11_cur_tx_pwr_mw->{$idx} = $pwr;
|
||||
$dot11_cur_tx_pwr_mw->{$idx} = $pwr;
|
||||
}
|
||||
return $dot11_cur_tx_pwr_mw;
|
||||
}
|
||||
@@ -518,7 +518,7 @@ sub e_index {
|
||||
|
||||
# Try new first, fall back to depreciated
|
||||
my $ap_num = $trapeze->trapeze_ap_num() || $trapeze->trapeze_ap_dapnum() || {};
|
||||
|
||||
|
||||
my %e_index;
|
||||
|
||||
# Chassis
|
||||
@@ -801,7 +801,7 @@ Eric Miller
|
||||
DestHost => 'myswitch',
|
||||
Community => 'public',
|
||||
Version => 2
|
||||
)
|
||||
)
|
||||
|
||||
or die "Can't connect to DestHost.\n";
|
||||
|
||||
@@ -810,7 +810,7 @@ Eric Miller
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Provides abstraction to the configuration information obtainable from
|
||||
Provides abstraction to the configuration information obtainable from
|
||||
Juniper (Trapeze) Wireless Controllers through SNMP.
|
||||
|
||||
This class emulates bridge functionality for the wireless switch. This enables
|
||||
@@ -818,7 +818,7 @@ end station MAC addresses collection and correlation to the thin access point
|
||||
the end station is using for communication.
|
||||
|
||||
For speed or debugging purposes you can call the subclass directly, but not
|
||||
after determining a more specific class using the method above.
|
||||
after determining a more specific class using the method above.
|
||||
|
||||
my $trapeze = new SNMP::Info::Layer2::Trapeze(...);
|
||||
|
||||
@@ -912,7 +912,7 @@ See documentation in L<SNMP::Info::Bridge/"GLOBALS"> for details.
|
||||
These are methods that return tables of information in the form of a reference
|
||||
to a hash.
|
||||
|
||||
=over
|
||||
=over
|
||||
|
||||
=item $trapeze->i_ssidlist()
|
||||
|
||||
@@ -1143,7 +1143,7 @@ These emulate the F<CISCO-DOT11-MIB>
|
||||
|
||||
(C<trpzClSessClientSessStatsUniPktOut>)
|
||||
|
||||
=back
|
||||
=back
|
||||
|
||||
=head2 Table Methods imported from SNMP::Info
|
||||
|
||||
@@ -1159,14 +1159,14 @@ See documentation in L<SNMP::Info::Bridge/"TABLE METHODS"> for details.
|
||||
|
||||
=item $trapeze->i_index()
|
||||
|
||||
Returns reference to map of IIDs to Interface index.
|
||||
Returns reference to map of IIDs to Interface index.
|
||||
|
||||
Extends C<ifIndex> to support thin APs and WLAN virtual interfaces as device
|
||||
interfaces.
|
||||
|
||||
=item $trapeze->interfaces()
|
||||
|
||||
Returns reference to map of IIDs to ports. Thin APs are implemented as device
|
||||
Returns reference to map of IIDs to ports. Thin APs are implemented as device
|
||||
interfaces. The thin AP MAC address and Slot ID trapeze_apif_slot() are
|
||||
used as the port identifier.
|
||||
|
||||
@@ -1211,7 +1211,7 @@ the interface iid.
|
||||
=item $trapeze->fw_port()
|
||||
|
||||
Returns reference to a hash, value being mac and
|
||||
trapeze_sta_slot() combined to match the interface iid.
|
||||
trapeze_sta_slot() combined to match the interface iid.
|
||||
|
||||
=item $trapeze->fw_mac()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user