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.
This method returns true of false, indicating that the delta was a summary, as opposed to an individual delta.
To install NetApp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm NetApp
CPAN shell
perl -MCPAN -e shell install NetApp
For more information on module installation, please visit the detailed CPAN module installation guide.