From 2895c493278316fb6ebb1fcedbe109a81869a1bb Mon Sep 17 00:00:00 2001 From: Dan DeVilbiss Date: Wed, 11 Dec 2024 13:20:19 -0700 Subject: [PATCH] added hypervisor to prepare host for volume --- .../morpheusdata/core/providers/DatastoreTypeProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/morpheus-plugin-api/src/main/java/com/morpheusdata/core/providers/DatastoreTypeProvider.java b/morpheus-plugin-api/src/main/java/com/morpheusdata/core/providers/DatastoreTypeProvider.java index 8540ac93..42bb20f2 100644 --- a/morpheus-plugin-api/src/main/java/com/morpheusdata/core/providers/DatastoreTypeProvider.java +++ b/morpheus-plugin-api/src/main/java/com/morpheusdata/core/providers/DatastoreTypeProvider.java @@ -186,7 +186,7 @@ public interface MvmProvisionFacet { * @param volume * @return */ - ServiceResponse prepareHostForVolume(ComputeServerGroup cluster, StorageVolume volume); + ServiceResponse prepareHostForVolume(ComputeServerGroup cluster, ComputeServer server, StorageVolume volume); /** * When creating/defining a virtual machine in libvirt, an XML specification must be generated. Within this specificaiton are device elements corresponding @@ -206,7 +206,7 @@ public interface MvmProvisionFacet { * @param volume * @return */ - ServiceResponse releaseVolumeFromHost(ComputeServerGroup cluster, StorageVolume volume); + ServiceResponse releaseVolumeFromHost(ComputeServerGroup cluster, ComputeServer server, StorageVolume volume); /** * This represents a disk configuration for a virtual machine for libvirt/virsh XML specification as a disk device