|
NAMENetApp::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;
DESCRIPTIONThis class encapsulates a single snapmirror relationship, and provides methods for querying information about it, as well as methods for managing it. METHODSget_filerReturns the NetApp::Filer object for the filer on which this snapmirror relationship is defined. get_sourceReturns a NetApp::Snapmirror::Source object representing the source filer/volume for this snapmirror relationship. get_destinationReturns a NetApp::Snapmirror::Destination object representing the source filer/volume for this snapmirror relationship. Miscellaneous get_* methodsAll 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.
|