org.inria.myriads.snoozecommon.communication.virtualcluster.submission
Class VirtualMachineTemplate

java.lang.Object
  extended by org.inria.myriads.snoozecommon.communication.virtualcluster.submission.VirtualMachineTemplate
All Implemented Interfaces:
Serializable

public final class VirtualMachineTemplate
extends Object
implements Serializable

Virtual machine description.

Author:
Eugen Feller
See Also:
Serialized Form

Constructor Summary
VirtualMachineTemplate()
          Constructor.
 
Method Summary
 String getLibVirtTemplate()
          Returns the libvirt description.
 NetworkDemand getNetworkCapacityDemand()
          Returns the network capacity.
 void setLibVirtTemplate(String libVirtDescription)
          Sets the libvirt description.
 void setNetworkCapacityDemand(NetworkDemand networkCapacity)
          Sets the network capacity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualMachineTemplate

public VirtualMachineTemplate()
Constructor.

Method Detail

setNetworkCapacityDemand

public void setNetworkCapacityDemand(NetworkDemand networkCapacity)
Sets the network capacity.

Parameters:
networkCapacity - The network capacity

getNetworkCapacityDemand

public NetworkDemand getNetworkCapacityDemand()
Returns the network capacity.

Returns:
The network capacity

setLibVirtTemplate

public void setLibVirtTemplate(String libVirtDescription)
Sets the libvirt description.

Parameters:
libVirtDescription - The libvirt template

getLibVirtTemplate

public String getLibVirtTemplate()
Returns the libvirt description.

Returns:
The libvirt template


Copyright © 2012. All Rights Reserved.