com.xensource.xenapi
Class VIF.Record

java.lang.Object
  extended by com.xensource.xenapi.VIF.Record
All Implemented Interfaces:
Types.Record
Enclosing class:
VIF

public static class VIF.Record
extends Object
implements Types.Record

Represents all the fields in a VIF


Field Summary
 Boolean currentlyAttached
          is the device currently attached (erased on reboot)
 String device
          name of network device as exposed to guest e.g.
 String MAC
          ethernet MAC address of virtual interface, as exposed to guest
 VIFMetrics metrics
          metrics associated with this VIF
 Long MTU
          MTU in octets
 Network network
          virtual network to which this vif is connected
 Map<String,String> qosAlgorithmParams
          parameters for chosen QoS algorithm
 String qosAlgorithmType
          QoS algorithm to use
 Set<String> qosSupportedAlgorithms
          supported QoS algorithms for this VIF
 Map<String,String> runtimeProperties
          Device runtime properties
 Long statusCode
          error/success code associated with last attach-operation (erased on reboot)
 String statusDetail
          error/success information associated with last attach-operation status (erased on reboot)
 String uuid
          unique identifier/object reference
 VM VM
          virtual machine to which this vif is connected
 
Constructor Summary
VIF.Record()
           
 
Method Summary
 Map<String,Object> toMap()
          Convert a VIF.Record to a Map
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public String uuid
unique identifier/object reference


device

public String device
name of network device as exposed to guest e.g. eth0


network

public Network network
virtual network to which this vif is connected


VM

public VM VM
virtual machine to which this vif is connected


MAC

public String MAC
ethernet MAC address of virtual interface, as exposed to guest


MTU

public Long MTU
MTU in octets


currentlyAttached

public Boolean currentlyAttached
is the device currently attached (erased on reboot)


statusCode

public Long statusCode
error/success code associated with last attach-operation (erased on reboot)


statusDetail

public String statusDetail
error/success information associated with last attach-operation status (erased on reboot)


runtimeProperties

public Map<String,String> runtimeProperties
Device runtime properties


qosAlgorithmType

public String qosAlgorithmType
QoS algorithm to use


qosAlgorithmParams

public Map<String,String> qosAlgorithmParams
parameters for chosen QoS algorithm


qosSupportedAlgorithms

public Set<String> qosSupportedAlgorithms
supported QoS algorithms for this VIF


metrics

public VIFMetrics metrics
metrics associated with this VIF

Constructor Detail

VIF.Record

public VIF.Record()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toMap

public Map<String,Object> toMap()
Convert a VIF.Record to a Map

Specified by:
toMap in interface Types.Record