PVE::AbstractConfig - add prototype for get_replicatable_volumes

This commit is contained in:
Dietmar Maurer 2017-06-12 09:03:14 +02:00
parent b499eccbf0
commit 3f85b14d89

View File

@ -192,6 +192,15 @@ sub has_feature {
die "implement me - abstract method\n";
}
# get all replicatable volume (hash $res->{$volid} = 1)
# $cleanup: for cleanup - simply ignores volumes without replicate feature
# $norerr: never raise exceptions - return undef instead
sub get_replicatable_volumes {
my ($class, $storecfg, $conf, $cleanup, $noerr) = @_;
die "implement me - abstract method\n";
}
# Internal snapshots
# NOTE: Snapshot create/delete involves several non-atomic