Scroll to navigation

NetApp::Snapmirror(3pm) User Contributed Perl Documentation NetApp::Snapmirror(3pm)

NAME

NetApp::Snapmirror -- OO class for snapmirror relationships

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;

DESCRIPTION

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

METHODS

get_filer

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

get_source

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

get_destination

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

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":

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.

2018-04-22 perl v5.26.2