Interface ProvisionProvider.HypervisorProvisionFacet

Enclosing interface:
ProvisionProvider

public static interface ProvisionProvider.HypervisorProvisionFacet
Provides methods for provisioning hypervisors
Since:
1.1.7
  • Method Details

    • initializeHypervisor

      ServiceResponse<InitializeHypervisorResponse> initializeHypervisor(Cloud cloud, ComputeServer server)
      Initialize a compute server as a Hypervisor. Common attributes defined in the InitializeHypervisorResponse 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 hypervisor
      server - representing the hypervisor
      Returns:
      a ServiceResponse containing an InitializeHypervisorResponse. The response attributes will be used to fill in necessary attributes of the server.