Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/self/root/usr/share/fusioninventory/lib/FusionInventory/Agent/SNMP/MibSupport/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/share/fusioninventory/lib/FusionInventory/Agent/SNMP/MibSupport/Brocade.pm
package FusionInventory::Agent::SNMP::MibSupport::Brocade;

use strict;
use warnings;

use parent 'FusionInventory::Agent::SNMP::MibSupportTemplate';

use FusionInventory::Agent::Tools;
use FusionInventory::Agent::Tools::SNMP;

use constant    brocade   => '.1.3.6.1.4.1.1991' ;
use constant    serial  => brocade  .'.1.1.1.1.2.0' ;
use constant    fw_pri => brocade . '.1.1.2.1.11.0' ;

our $mibSupport = [
    {
        name        => "brocade-switch",
        sysobjectid => getRegexpOidMatch(brocade)
    }
];

sub getSerial {
    my ($self) = @_;

    return $self->get(serial);
}


sub getFirmware {
    my ($self) = @_;

    return $self->get(fw_pri);
}

1;

__END__

=head1 NAME

FusionInventory::Agent::SNMP::MibSupport::Brocade - Inventory module for Brocade Switches

=head1 DESCRIPTION

The module enhances Brocade Switches devices support.

Hry