File: Snapmirror.pod

package info (click to toggle)
libnetapp-perl 1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 384 kB
  • ctags: 226
  • sloc: perl: 4,539; makefile: 15
file content (81 lines) | stat: -rw-r--r-- 1,612 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81

=head1 NAME

NetApp::Snapmirror -- OO class for snapmirror relationships

=head1 SYNOPSIS

    use NetApp::Filer;
    use NetApp::Snapmirror;

    my $filer 	= NetApp::Filer->new( .... );

    my @snapmirrors	= $filer->get_snapmirrors;

    my $volume	= $filer->get_volume( .... );

    my @snapmirrors	= $volume->get_snapmirrors;

=head1 DESCRIPTION

This class encapsulates a single snapmirror relationship, and provides
methods for querying information about it, as well as methods for
managing it.

=head1 METHODS

=head2 get_filer

Returns the NetApp::Filer object for the filer on which this
snapmirror relationship is defined.

=head2 get_source

Returns a NetApp::Snapmirror::Source object representing the source
filer/volume for this snapmirror relationship.

=head2 get_destination

Returns a NetApp::Snapmirror::Destination object representing the source
filer/volume for this snapmirror relationship.

=head2 Miscellaneous get_* methods

All of the following get methods return strings which match the values
found for each of the obvious keywords in the output of "snapmirror status -l":

=over

=item get_status

=item get_progress

=item get_state

=item get_lag

=item get_mirror_timestamp

=item get_base_snapshot

=item get_current_transfer_type

=item get_current_transfer_error

=item get_contents

=item get_last_transfer_type

=item get_last_transfer_size

=item get_last_transfer_duration

=item get_last_transfer_from

=back

NOTE: In a future release, when snapshots are supported as a proper
object, the return value of get_snapshot will almost certainly return
such an object.

=cut