D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
raider
/
Raider
/
Devices
/
Filename :
MegaraidSAS.pm
back
Copy
use strict; use warnings; package Raider::Devices::MegaraidSAS; use base qw( Raider::Devices ); use Raider::Base; =head1 NAME Raider::Devices::MegaraidSAS - Return the controller data structure. =head1 DESCRIPTION Return the controller data structure. =head1 USAGE use Raider::Devices::MegaraidSAS; my $dMegaraidSAS = Raider::Devices::MegaraidSAS->new(); =head1 METHODS =head2 get_cntlr_details() Return the controller data structure. =cut sub get_cntlr_details { return { CNTLR_LSPCI_FILE => "$Raider::Base::base_conf{etc_path}/device_id/MegaraidSAS.json", OLD_CHKRAID => '/usr/local/bin/sascheck.sh', PKG_NAME => 'MegaCli', CLI_CMD => 'MegaCli,MegaCli64', CLI_PATH => '/opt/MegaRAID/MegaCli/MegaCli,/opt/MegaRAID/MegaCli/MegaCli64', }; } 1;