Phillip Moore > NetApp-1.1.2 > NetApp::Aggregate::RAIDGroup

Download:
NetApp-1.1.2.tgz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 203.0.0   Source  

NAME ^

NetApp::Aggregate::RAIDGroup -- OO Class for representing NetApp raidgroups

SYNOPSIS ^

    use NetApp::Filer;
    use NetApp::Aggregate;

    my $aggregate       = $filer->get_aggregate( $name );

    my $raidgroup       = $aggregate->get_raidgroup;

DESCRIPTION ^

This class is used to encapsulate a NetApp raidgroup, and provide access to the name and states of the raidgroup.

METHODS ^

get_name

Returns the name of the raidgroup as a string.

get_states

Returns a list of strings, each of which represents a single state for the raidgroup.

get_state( $state )

Returns true if the raidgroup has the given state, false otherwise.