public class VMIServiceImpl extends Object implements IVMIService, org.osgi.service.cm.ManagedService
IVMIService.| Modifier and Type | Field and Description |
|---|---|
static IpmiProxyConf |
ipmiProxyConf |
static ResourceControlConf |
resourceControlConf |
| Constructor and Description |
|---|
VMIServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute()
Execute the most recent optimisation plan.
|
boolean |
execute(String uuid)
Execute the optimisation plan with the given UUID in the repository.
|
boolean |
executeDeletion(String vmId,
Map<String,String> meta)
Executes the deletion of a VM.
|
boolean |
executePlacement(String vmId,
String computeNodeUuid)
Executes the placement of an unassigned VM with UUID
vmUuid on the compute node with the UUID computeNodeUuid. |
void |
updated(Dictionary<String,?> properties) |
public static final IpmiProxyConf ipmiProxyConf
public static final ResourceControlConf resourceControlConf
public boolean execute(String uuid) throws org.eclipse.emf.cdo.util.ConcurrentAccessException, org.eclipse.emf.cdo.util.CommitException
IVMIServiceIVMIService.execute() if UUID is null.execute in interface IVMIServiceuuid - The UUID of the plan. Can be null.org.eclipse.emf.cdo.util.ConcurrentAccessException - In case of CDO repository access failures.org.eclipse.emf.cdo.util.CommitException - In case of CDO repository access failures.public boolean execute()
throws org.eclipse.emf.cdo.util.ConcurrentAccessException,
org.eclipse.emf.cdo.util.CommitException
IVMIServiceexecute in interface IVMIServiceorg.eclipse.emf.cdo.util.ConcurrentAccessException - In case of CDO repository access failures.org.eclipse.emf.cdo.util.CommitException - In case of CDO repository access failures.public boolean executePlacement(String vmId, String computeNodeUuid)
IVMIServicevmUuid on the compute node with the UUID computeNodeUuid.executePlacement in interface IVMIServicevmId - The UUID of the VM that is to be placed.computeNodeUuid - The compute node on which the placement is to be executed.public boolean executeDeletion(String vmId, Map<String,String> meta)
IVMIServiceexecuteDeletion in interface IVMIServicevmId - The vmName of the VM that is to be placed.public void updated(Dictionary<String,?> properties) throws org.osgi.service.cm.ConfigurationException
updated in interface org.osgi.service.cm.ManagedServiceorg.osgi.service.cm.ConfigurationException