View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1015 | RackTables | SNMP | public | 2013-09-26 13:58 | 2013-10-05 21:18 |
Reporter | zeus | Assigned To | MWilkinson | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 0.20.4 | ||||
Target Version | 0.20.6 | Fixed in Version | 0.20.6 | ||
Summary | 1015: SNMP sync for TPLink TL-SG5428E switch | ||||
Description | SNMP sync for TPLink TL-SG5428E switch 1. add `TPLink%GPASS%TL-SL5428E' to /index.php?page=chapter&chapter_no=12 2. dictionary.php: --- dictionary.php~ 2013-09-26 13:13:27.000000000 +0300 +++ dictionary.php 2013-09-26 13:17:09.000000000 +0300 @@ -2057,6 +2057,7 @@ # and dictionary updates working properly. 49999 => array ('chapter_id' => 13, 'dict_value' => '[[RH Fedora%GSKIP%Fedora 15 | http://docs.fedoraproject.org/release-notes/f15/en-US/html/]]'), + 50061 => array ('chapter_id' => 12, 'dict_value' => '[[TPLink%GPASS%TL-SL5428E | http://tplink.com/en/products/details/?model=TL-SL5428E]]'), ); ?> 3. snmp.php: --- snmp.php~ 2013-09-26 13:17:20.000000000 +0300 +++ snmp.php 2013-09-26 14:25:06.000000000 +0300 @@ -1386,15 +1386,24 @@ 'try_next_proc' => TRUE, ); -$iftable_processors['tplink-21-to-28-combo-100SFP'] = array +$iftable_processors['tplink-SL5428E-100TX'] = array ( - 'pattern' => '@^ Ethernet .+$@', + 'pattern' => '@^port (\d+): 10/100 Copper$@', 'replacement' => 'e\\1', - 'dict_key' => '4-1077', + 'dict_key' => '1-19', 'label' => '\\1', 'try_next_proc' => TRUE, ); +$iftable_processors['tplink-SL5428E-1000T'] = array +( + 'pattern' => '@^port (\d+): Gigabit Copper$@', + 'replacement' => 'g\\1', + 'dict_key' => 24, + 'label' => '\\1', + 'try_next_proc' => FALSE, +); + $iftable_processors['tplink-any-1000T'] = array ( 'pattern' => '@^.+ Port on unit .+ port ([[:digit:]]+)$@', @@ -2629,6 +2638,12 @@ + '11863.1.1.1' => array + ( + 'dict_key' => 50061, + 'text' => 'TL-SL5428E: 24-Port 10/100Mbps + 4-Port Gigabit L2 Managed Switch', + 'processors' => array ('tplink-SL5428E-100TX', 'tplink-SL5428E-1000T'), + ), ); global $swtype_pcre; 4. the stuff mentioned in FAQ is attached | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-09-26 13:58 | zeus | New Issue | |
2013-09-26 13:58 | zeus | Status | new => assigned |
2013-09-26 13:58 | zeus | Assigned To | => adoom42 |
2013-09-26 13:58 | zeus | File Added: TPLink-TL-SG5428E.txt.bz2 | |
2013-09-27 11:43 | MWilkinson | Assigned To | adoom42 => MWilkinson |
2013-10-05 21:18 | adoom42 | Status | assigned => closed |
2013-10-05 21:18 | adoom42 | Resolution | open => fixed |
2013-10-05 21:18 | adoom42 | Fixed in Version | => 0.20.6 |
2013-10-05 21:18 | adoom42 | Target Version | => 0.20.6 |