public class WVnfType extends Object implements Comparable<WVnfType>
Constructor and Description |
---|
WVnfType(String vnfTypeName,
double maxInputTrafficPerVnfInstance_Gbps,
double occupCpu,
double occupRam,
double occupHd,
double processingTime_ms,
boolean isConstrained,
SortedSet<String> validMetroNodesForInstantiation,
String arbitraryParamString)
Creates a VNF type with the provided information
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WVnfType o) |
boolean |
equals(Object obj) |
String |
getArbitraryParamString()
Returns the arbitrary user-defined string attached to this VNF type
|
double |
getMaxInputTrafficPerVnfInstance_Gbps()
Returns the maximum input traffic per VNF instance in Gbps
|
double |
getOccupCpu()
Returns the CPU occupation of each VNF instance of this type
|
double |
getOccupHdGBytes()
Returns the hard disk occupation of each VNF instance of this type in giga bytes
|
double |
getOccupRamGBytes()
Returns the RAM occupation of each VNF instance of this type in giga bytes
|
double |
getProcessingTime_ms()
Returns the processing time added to the traffic traversing VNF instances of this type
|
SortedSet<String> |
getValidMetroNodesForInstantiation()
Returns the user-defined set of node names, so that instances of this VNF type can only be instantiated in those nodes (applicable only when constrained instantiation
is activated for this VNF type)
|
String |
getVnfTypeName()
Returns the type name
|
int |
hashCode() |
boolean |
isConstrainedToBeInstantiatedOnlyInUserDefinedNodes()
Indicates if this VNF type is constrained so instances can only be instantiated in some user-defined nodes
|
void |
setArbitraryParamString(String arbitraryParamString)
Sets the arbitrary user-defined string attached to this VNF type
|
String |
toString() |
public WVnfType(String vnfTypeName, double maxInputTrafficPerVnfInstance_Gbps, double occupCpu, double occupRam, double occupHd, double processingTime_ms, boolean isConstrained, SortedSet<String> validMetroNodesForInstantiation, String arbitraryParamString)
vnfTypeName
- see abovemaxInputTrafficPerVnfInstance_Gbps
- see aboveoccupCpu
- see aboveoccupRam
- see aboveoccupHd
- see aboveprocessingTime_ms
- see aboveisConstrained
- see abovevalidMetroNodesForInstantiation
- see abovearbitraryParamString
- see abovepublic final int compareTo(WVnfType o)
compareTo
in interface Comparable<WVnfType>
public String getArbitraryParamString()
public double getMaxInputTrafficPerVnfInstance_Gbps()
public double getOccupCpu()
public double getOccupHdGBytes()
public double getOccupRamGBytes()
public double getProcessingTime_ms()
public SortedSet<String> getValidMetroNodesForInstantiation()
public String getVnfTypeName()
public boolean isConstrainedToBeInstantiatedOnlyInUserDefinedNodes()
public void setArbitraryParamString(String arbitraryParamString)
arbitraryParamString
- see aboveCopyright © 2018. All rights reserved.