????
| Current Path : /usr/lib/raider/Raider/Devices/ |
| Current File : //usr/lib/raider/Raider/Devices/StorCli.pm |
use strict;
use warnings;
package Raider::Devices::StorCli;
use base qw( Raider::Devices );
use Raider::Base;
=head1 NAME
Raider::Devices::StorCli - Return the controller data structure.
=head1 DESCRIPTION
Return the controller data structure.
=head1 USAGE
use Raider::Devices::StorCli;
my $device = Raider::Devices::StorCli->new();
=head1 METHODS
=head2 get_cntlr_details()
Return the controller data structure.
=cut
sub get_cntlr_details {
return {
# RaidAlarms currently doesnt know about StorCli. The old author left the company a few years ago..
# For now, just have raider handle StorCli like used to happen for all devices anyway.
NO_RAIDALARM_DEVICE_IDS => 1,
CNTLR_LSPCI_FILE => "$Raider::Base::base_conf{etc_path}/device_id/StorCli.json",
OLD_CHKRAID => '',
PKG_NAME => 'storcli',
CLI_CMD => 'storcli,storcli64',
CLI_PATH => '/opt/MegaRAID/storcli/storcli,/opt/MegaRAID/storcli/storcli64',
};
}
1;