File: RAIDGroup.pod

package info (click to toggle)
libnetapp-perl 500.002-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 464 kB
  • sloc: perl: 5,695; makefile: 2
file content (35 lines) | stat: -rw-r--r-- 685 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

=head1 NAME

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

=head1 SYNOPSIS

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

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

    my $raidgroup	= $aggregate->get_raidgroup;

=head1 DESCRIPTION

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

=head1 METHODS

=head2 get_name

Returns the name of the raidgroup as a string.

=head2 get_states

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

=head2 get_state( $state )

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

=cut