Skip to content

Commit

Permalink
Brocade knows ifAlias (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
KipLandwehr authored and oetiker committed Jul 4, 2018
1 parent 65c3845 commit 741a657
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/bin/cfgmaker
Expand Up @@ -175,7 +175,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|dlink|wwp|foundry|dellLan|force10|3com|extremenetworks|openBSD|arista|enterasys|zyxel|vyatta|dcn)/i) {
} elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|dlink|wwp|foundry|dellLan|force10|3com|extremenetworks|openBSD|arista|enterasys|zyxel|vyatta|dcn|brocade)/i) {
push @Variables, "ifAlias";
}

Expand Down Expand Up @@ -1000,7 +1000,8 @@ sub DeviceInfo ($$$) {
'1.3.6.1.4.1.30065.' => 'arista',
'1.3.6.1.4.1.5624.' => 'enterasys',
'1.3.6.1.4.1.30803.' => 'Vyatta',
'1.3.6.1.4.1.3955.' => 'LinkSys'
'1.3.6.1.4.1.3955.' => 'LinkSys',
'1.3.6.1.4.1.1588.' => 'brocade'
);
$DevInfo{Vendor} = 'Unknown Vendor - '.$DevInfo{sysObjectID};
foreach (keys %vendorIDs) {
Expand Down

0 comments on commit 741a657

Please sign in to comment.