NetApp::Snapshot::Delta -- OO class which represents a single snapshot delta
use NetApp::Filer;
use NetApp::Snapshot;
my $filer = NetApp::Filer->new({ .... });
my $volume = $filer->get_volume( $volname );
my @deltas = $volume->get_snapshot_deltas;
foreach my $snapshot ( $volume->get_snapshots ) {
my @deltas = $snapshot->get_snapshot_deltas;
}
This class encapsulates a single snapshot delta.
There are 5 key instance methods, each of this returns the data from the column
of the same name in the snap delta table.
- get_from
- get_to
- get_changed
- get_time
- get_rate
This method returns true of false, indicating that the delta was a summary, as
opposed to an individual delta.