[ixpmanager] Multi Macs

Joe Wooller joe at waia.asn.au
Wed Jul 11 03:55:00 IST 2012


The Utils.pm I am using only mentions cisco or brocade switches.

sub switchporttosnmpidentifier {
        my ($shortport, $vendorid) = @_;

        if ($vendorid == VENDORID_CISCO) {
                $shortport =~ s/tengigabitethernet/Te/gi;
                $shortport =~ s/gigabitethernet/Gi/gi;
                $shortport =~ s/fastethernet/Fa/gi;
        } elsif ($vendorid == VENDORID_BROCADE)  {
                $shortport =~ s/10gigabitethernet/ethernet/gi;
                $shortport =~ s/gigabitethernet/ethernet/gi;
        } else {
                die "ARGH: unexpected vendorid: $vendorid\n";
        }

        return $shortport;
}



On 11/07/2012, at 4:27 AM, Nick Hilliard wrote:

> On 10/07/2012 20:30, Joe Wooller wrote:
>> Sync, and reinstalled teh modules, still getting the same error;
>> 
>> ARGH: unexpected vendorid: 14
>> 
>> Vendorid in my DB is Juniper
> 
> Then you're still referencing the old version of IXPManager/Utils.pm
> without the fix.  Can you find out where this is located on your server and
> ensure that you only have a single version installed?
> 
> Nick
> 
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
> 
> !DSPAM:1,4ffc906924051829119171!
> 
> 




More information about the ixpmanager mailing list