Add function volume_snapshot_delete_remote.

This function we need for replica to handle snapshots on remote nodes.
This commit is contained in:
Wolfgang Link
2017-04-24 17:15:29 +02:00
committed by Wolfgang Bumiller
parent c4bb4a3d19
commit 4bd0b38f53
3 changed files with 34 additions and 1 deletions

View File

@ -725,6 +725,13 @@ sub volume_snapshot_rollback {
return undef;
}
sub volume_snapshot_delete_remote {
my ($class, $scfg, $storeid, $volname, $snap, $ip) = @_;
# implement in subclass
die "Volume_snapshot_delete_remote is not implemented for $class";
}
sub volume_snapshot_delete {
my ($class, $scfg, $storeid, $volname, $snap, $running) = @_;