Phillip Moore > NetApp-500.002 > NetApp::Snapshot::Delta

Download:
NetApp-500.002.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Module Version: 500.002   Source  

NAME ^

NetApp::Snapshot::Delta -- OO class which represents a single snapshot delta

SYNOPSIS ^

    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;

    }

DESCRIPTION ^

This class encapsulates a single snapshot delta.

INSTANCE METHODS ^

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

is_summary

This method returns true of false, indicating that the delta was a summary, as opposed to an individual delta.

syntax highlighting: