Interface NetworkProvider.ComputeServerInterfaceOperationFacet

Enclosing interface:
NetworkProvider

public static interface NetworkProvider.ComputeServerInterfaceOperationFacet
Some ProvisionProvider implementations may need to prepare something on the network server before the interface can be usable. For example, a BareMetal plugin may need to call these methods to enable switch port configurations via the server API so that they can be used.
Since:
1.2.4
  • Method Details

    • prepareComputeServerInterfacesForServer

      ServiceResponse<Void> prepareComputeServerInterfacesForServer(NetworkServer networkServer, ComputeServer server, List<ComputeServerInterface> interfaces)
      Prepare the compute server interfaces for the Network Provider/Server before provisioning kicks off.
      Parameters:
      server - the workload server being deployed
      interfaces - the interfaces on the server that are assigned to a network associated with this NetworkProvider.
      Returns:
      the success state of the operation
    • releaseComputeServerInterfacesFromServer

      ServiceResponse<Void> releaseComputeServerInterfacesFromServer(NetworkServer networkServer, ComputeServer server, List<ComputeServerInterface> interfaces)
      Release the compute server interfaces for the Network Provider/Server before teardown completes.
      Parameters:
      server - the workload server being deployed
      interfaces - the interfaces on the server that are assigned to a network associated with this NetworkProvider.
      Returns:
      the success state of the operation