Opened 13 years ago
Closed 13 years ago
#91 closed enhancement (fixed)
[patch] add OpenBSD support for ifAlias to cfgmaker
Reported by: | human | Owned by: | somebody |
---|---|---|---|
Version: | Keywords: | ||
Cc: |
Description
--- bin/cfgmaker.orig Wed Jan 20 10:56:30 2010 +++ bin/cfgmaker Fri Feb 5 12:20:38 2010 @@ -170,7 +170,7 @@ sub InterfaceInfo($$$$$) { push @Variables, ($1 > 11.0 or $1 < 10.0 ) ? "ifAlias" : "CiscolocIfDescr"; if ($1 > 11.2) {push @Variables, "vmVlan";}; if ($1 > 11.3) {push @Variables, "vlanTrunkPortDynamicStatus";}; - } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|foundry|dellLan|force10|3com|extremenetworks)/) { + } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|foundry|dellLan|force10|3com|extremenetworks|openBSD)/) { push @Variables, "ifAlias"; } @@ -992,7 +992,8 @@ sub DeviceInfo ($$$) { '1.3.6.1.4.1.2636.' => 'juniper', '1.3.6.1.4.1.94.' => 'nokiaipsofw', '1.3.6.1.4.1.307.' => 'portmaster', - '1.3.6.1.4.1.2272.30' => 'nortel' + '1.3.6.1.4.1.2272.30' => 'nortel', + '1.3.6.1.4.1.30155' => 'openBSD' ); foreach (keys %vendorIDs) { $DevInfo{Vendor} = $vendorIDs{$_} if ($DevInfo{sysObjectID} =~ /\Q$_\E/);
Change History (4)
comment:1 Changed 13 years ago by human
comment:2 follow-up: ↓ 3 Changed 13 years ago by human
- Summary changed from add OpenBSD support for ifAlias to cfgmaker to [patch] add OpenBSD support for ifAlias to cfgmaker
comment:3 in reply to: ↑ 2 Changed 13 years ago by human
Replying to human:
Oops, I fail at copy-and-paste. Use the right OID for worldwidepackets gear.
$OpenBSD: patch-bin_cfgmaker,v 1.2 2010/05/18 08:31:43 sthen Exp $ --- bin/cfgmaker.orig Mon May 17 14:59:20 2010 +++ bin/cfgmaker Tue May 18 08:53:04 2010 @@ -170,7 +170,7 @@ sub InterfaceInfo($$$$$) { push @Variables, ($1 > 11.0 or $1 < 10.0 ) ? "ifAlias" : "CiscolocIfDescr"; if ($1 > 11.2) {push @Variables, "vmVlan";}; if ($1 > 11.3) {push @Variables, "vlanTrunkPortDynamicStatus";}; - } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|foundry|dellLan|force10|3com|extremenetworks)/) { + } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|foundry|dellLan|force10|3com|extremenetworks|wwp|openBSD)/) { push @Variables, "ifAlias"; } @@ -991,7 +991,9 @@ sub DeviceInfo ($$$) { '1.3.6.1.4.1.2636.' => 'juniper', '1.3.6.1.4.1.94.' => 'nokiaipsofw', '1.3.6.1.4.1.307.' => 'portmaster', - '1.3.6.1.4.1.2272.30' => 'nortel' + '1.3.6.1.4.1.2272.30' => 'nortel', + '1.3.6.1.4.1.6141.' => 'wwp', + '1.3.6.1.4.1.30155.' => 'openBSD' ); foreach (keys %vendorIDs) { $DevInfo{Vendor} = $vendorIDs{$_} if ($DevInfo{sysObjectID} =~ /\Q$_\E/);
comment:4 Changed 13 years ago by oetiker
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
...merge with #66