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

@ -336,6 +336,13 @@ sub volume_snapshot_rollback {
$class->zfs_add_lun_mapping_entry($scfg, $volname);
}
sub volume_send {
my ($class, $scfg, $storeid, $volname, $ip, $snap,
$incremental_snap, $verbose, $limit, $target_path) = @_;
die "Volume_send is not implemented for ZFS over iSCSI.\n";
}
sub volume_has_feature {
my ($class, $scfg, $feature, $storeid, $volname, $snapname, $running) = @_;