org.ligoj.app.plugin.vm.execution.Vm Maven / Gradle / Ivy
The newest version!
/*
* Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
*/
package org.ligoj.app.plugin.vm.execution;
import java.util.List;
import org.ligoj.app.plugin.vm.VmNetwork;
import org.ligoj.app.plugin.vm.model.VmStatus;
import org.ligoj.bootstrap.core.DescribedBean;
import lombok.Getter;
import lombok.Setter;
/**
* Virtual machine description.
*/
@Getter
@Setter
public class Vm extends DescribedBean {
/**
* SID
*/
private static final long serialVersionUID = 1L;
private VmStatus status;
/**
* Amount of CPUs.
*/
private int cpu;
/**
* Memory, MB.
*/
private int ram;
/**
* Networks of this VM
*/
private List networks;
private boolean busy;
/**
* When true
, the VM is consuming (reserved) compute resources.
*/
private boolean deployed;
private String os;
}