NAME

Device::RAID::Poller::Backends::FBSD_graid - FreeBSD GEOM RAID backend.

VERSION

Version 0.0.0

SYNOPSIS

use Device::RAID::Poller::Backends::FBSD_graid;

my $backend = Device::RAID::Poller::Backends::FBSD_graid->new;

my $usable=$backend->usable;
my %return_hash;
if ( $usable ){
    %return_hash=$backend->run;
    my %status=$backend->run;
    use Data::Dumper;
    print Dumper( \%status );
}

METHODS

new

Initiates the backend object.

my $backend = Device::RAID::Poller::Backends::FBSD_graid->new;

run

Runs the poller backend and report the results.

If nothing is nothing is loaded, load will be called.

my %status=$backend->run;
use Data::Dumper;
print Dumper( \%status );

usable

Returns a perl boolean for if it is usable or not.

my $usable=$backend->usable;
if ( ! $usable ){
    print "This backend is not usable.\n";
}

AUTHOR

Zane C. Bowers-Hadley, <vvelox at vvelox.net>

BUGS

Please report any bugs or feature requests to bug-device-raid-poller at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Device-RAID-Poller. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Device::RAID::Poller

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2019 by Zane C. Bowers-Hadley.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)