racktables-srw224g4.patch (2,677 bytes)
--- wwwroot/inc/dictionary.php 2012-12-19 17:30:47.000000000 +0100
+++ wwwroot/inc/dictionary.php 2013-02-09 16:31:37.280385113 +0100
@@ -1970,6 +1970,7 @@
1884 => array ('chapter_id' => 18, 'dict_value' => '[[Infortrend%GPASS%ES S16S-J1000-S1 | http://www.infortrend.com/global/products/models/ES%20S16S-J1000-S1]]'),
1885 => array ('chapter_id' => 18, 'dict_value' => '[[Infortrend%GPASS%ES S12S-J1000-G | http://www.infortrend.com/global/products/models/ES%20S12S-J1000-G]]'),
1886 => array ('chapter_id' => 18, 'dict_value' => '[[Infortrend%GPASS%ES S12S-J1002-R | http://www.infortrend.com/global/products/models/ES%20S12S-J1002-R]]'),
+ 1920 => array ('chapter_id' => 12, 'dict_value' => 'Linksys%GPASS%SRW224G4'),
# Any new "default" dictionary records must go above this line (i.e., with
# dict_key code less, than 50000). This is necessary to keep AUTO_INCREMENT
# and dictionary updates working properly.
--- wwwroot/inc/snmp.php 2012-12-19 17:30:47.000000000 +0100
+++ wwwroot/inc/snmp.php 2013-02-11 23:23:21.803393186 +0100
@@ -34,6 +34,15 @@
'try_next_proc' => FALSE,
);
+$iftable_processors['generic-e-any-100TX'] = array
+(
+ 'pattern' => '@^e(\d+)$@',
+ 'replacement' => 'e\\1',
+ 'dict_key' => 19,
+ 'label' => '\\1',
+ 'try_next_proc' => FALSE,
+);
+
$iftable_processors['generic-gi-any-1000T'] = array
(
'pattern' => '@^gi(\d+)$@',
@@ -52,6 +61,33 @@
'try_next_proc' => FALSE,
);
+$iftable_processors['generic-g-1-to-2-1000T'] = array
+(
+ 'pattern' => '@^g(1|2)$@',
+ 'replacement' => 'g\\1',
+ 'dict_key' => 24,
+ 'label' => 'G\\1',
+ 'try_next_proc' => TRUE,
+);
+
+$iftable_processors['generic-g-3-to-4-combo-1000SFP'] = array
+(
+ 'pattern' => '@^g(3|4)$@',
+ 'replacement' => 'g\\1',
+ 'dict_key' => '4-1077',
+ 'label' => 'G\\1',
+ 'try_next_proc' => TRUE,
+);
+
+$iftable_processors['generic-g-3-to-4-combo-1000T'] = array
+(
+ 'pattern' => '@^g(3|4)$@',
+ 'replacement' => 'g\\1',
+ 'dict_key' => '1-24',
+ 'label' => 'G\\1',
+ 'try_next_proc' => TRUE,
+);
+
$iftable_processors['generic-gi-3-to-4-combo-1000SFP'] = array
(
'pattern' => '@^gi(3|4)$@',
@@ -2368,6 +2404,13 @@
'text' => 'FS750T2: 48 RJ-45/10-100TX + 2 combo-gig',
'processors' => array ('netgear-49-to-50-combo-1000SFP', 'netgear-49-to-50-combo-1000T', 'netgear-any-100TX'),
),
+ '3955.6.5024' => array
+ (
+ 'dict_key' => 1920,
+ 'text' => 'Linksys SRW224G4: 24-port 10/100 + 4-Port Gigabit Switch with WebView',
+ 'processors' => array ('generic-g-1-to-2-1000T', 'generic-g-3-to-4-combo-1000SFP', 'generic-g-3-to-4-combo-1000T', 'generic-e-any-100TX'),
+ 'ifDescrOID' => 'ifName',
+ ),
'3955.6.1.2048.1' => array
(
'dict_key' => 1624,