Include new storage function volume_send.

If the storage backend support import and export
we can send the contend to a remote host.
This commit is contained in:
Wolfgang Link
2017-04-24 17:15:26 +02:00
committed by Wolfgang Bumiller
parent d412b98df8
commit b76774e57f
4 changed files with 81 additions and 0 deletions

View File

@ -697,6 +697,14 @@ sub volume_snapshot {
return undef;
}
sub volume_send {
my ($class, $scfg, $storeid, $volname, $ip, $snap,
$incremental_snap, $verbose, $limit, $target_path) = @_;
# implement in subclass
die "Volume_send is not implemented for $class";
}
sub volume_rollback_is_possible {
my ($class, $scfg, $storeid, $volname, $snap) = @_;