r3723 patch to add support for SNMP ports for Cisco 2960G-8TC by Jonathan Stanton
authorDenis Ovsienko <infrastation@yandex.ru>
Wed, 2 Jun 2010 03:43:48 +0000 (03:43 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 2 Jun 2010 03:43:48 +0000 (03:43 +0000)
ChangeLog
inc/snmp.php

index 4949863..3f17a1a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
 0.17.11
        update: usual SNMP updates
        update: Bulk port form (#321)
+       update: 2960G-8TC SNMP patch by Jonathan Stanton
        bugfix: updateObject() saves DB records for dict values when not set. (#273)
        bugfix: argument validation was broken for value of 0 (#272)
        bugfix: "Add/update multiple ports" did not work (#326)
index c8a1806..564d6a7 100644 (file)
@@ -83,6 +83,15 @@ $iftable_processors['catalyst-chassis-1-to-2-combo-1000SFP'] = array
        'try_next_proc' => TRUE,
 );
 
+$iftable_processors['catalyst-chassis-8-combo-1000SFP'] = array
+(
+       'pattern' => '@^GigabitEthernet([[:digit:]]+/)?(8)$@',
+       'replacement' => 'gi\\1\\2',
+       'dict_key' => '4-1077',
+       'label' => '\\2',
+       'try_next_proc' => TRUE,
+);
+
 $iftable_processors['catalyst-chassis-21-to-24-combo-1000SFP'] = array
 (
        'pattern' => '@^GigabitEthernet([[:digit:]]+/)?(21|22|23|24)$@',
@@ -461,6 +470,12 @@ $known_switches = array // key is system OID w/o "enterprises" prefix
                'text' => 'WS-C2960-48TC-L: 48 RJ-45/10-100TX + 2 combo-gig',
                'processors' => array ('catalyst-chassis-1-to-2-combo-1000SFP', 'catalyst-chassis-any-1000T', 'catalyst-chassis-any-100TX'),
        ),
+       '9.1.799' => array
+       (
+               'dict_key' => 168,
+               'text' => 'WS-C2960G-8TC-L: 7 RJ-45/10-100-1000T(X) + 1 combo-gig',
+               'processors' => array ('catalyst-chassis-8-combo-1000SFP', 'catalyst-chassis-any-1000T'),
+       ),
        '9.1.696' => array
        (
                'dict_key' => 167,