Package com.morpheusdata.core.providers
Interface ProvisionProvider.HypervisorProvisionFacet
- Enclosing interface:
- ProvisionProvider
public static interface ProvisionProvider.HypervisorProvisionFacet
Provides methods for provisioning hypervisors
- Since:
- 1.1.7
-
Method Summary
Modifier and TypeMethodDescriptioninitializeHypervisor
(Cloud cloud, ComputeServer server) Initialize a compute server as a Hypervisor.
-
Method Details
-
initializeHypervisor
ServiceResponse<InitializeHypervisorResponse> initializeHypervisor(Cloud cloud, ComputeServer server) Initialize a compute server as a Hypervisor. Common attributes defined in theInitializeHypervisorResponse
will be used to update attributes on the hypervisor, including capacity information. Additional details can be updated by the plugin provider using the `context.services.computeServer.save(server)` API.- Parameters:
cloud
- cloud associated to the hypervisorserver
- representing the hypervisor- Returns:
- a
ServiceResponse
containing anInitializeHypervisorResponse
. The response attributes will be used to fill in necessary attributes of the server.
-