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 java.lang.Object
implements Types.Record

Represents all the fields in a VIF


Field Summary
 java.util.Set<Types.VifOperations> allowedOperations
          list of the operations allowed in this state.
 java.lang.Boolean currentlyAttached
          is the device currently attached (erased on reboot)
 java.util.Map<java.lang.String,Types.VifOperations> currentOperations
          links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
 java.lang.String device
          order in which VIF backends are created by xapi
 java.lang.String MAC
          ethernet MAC address of virtual interface, as exposed to guest
 java.lang.Boolean MACAutogenerated
          true if the MAC was autogenerated; false indicates it was set manually
 VIFMetrics metrics
          metrics associated with this VIF
 java.lang.Long MTU
          MTU in octets
 Network network
          virtual network to which this vif is connected
 java.util.Map<java.lang.String,java.lang.String> otherConfig
          additional configuration
 java.util.Map<java.lang.String,java.lang.String> qosAlgorithmParams
          parameters for chosen QoS algorithm
 java.lang.String qosAlgorithmType
          QoS algorithm to use
 java.util.Set<java.lang.String> qosSupportedAlgorithms
          supported QoS algorithms for this VIF
 java.util.Map<java.lang.String,java.lang.String> runtimeProperties
          Device runtime properties
 java.lang.Long statusCode
          error/success code associated with last attach-operation (erased on reboot)
 java.lang.String statusDetail
          error/success information associated with last attach-operation status (erased on reboot)
 java.lang.String uuid
          Unique identifier/object reference
 VM VM
          virtual machine to which this vif is connected
 
Constructor Summary
VIF.Record()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> toMap()
          Convert a VIF.Record to a Map
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public java.lang.String uuid
Unique identifier/object reference


allowedOperations

public java.util.Set<Types.VifOperations> allowedOperations
list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.


currentOperations

public java.util.Map<java.lang.String,Types.VifOperations> currentOperations
links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.


device

public java.lang.String device
order in which VIF backends are created by xapi


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 java.lang.String MAC
ethernet MAC address of virtual interface, as exposed to guest


MTU

public java.lang.Long MTU
MTU in octets


otherConfig

public java.util.Map<java.lang.String,java.lang.String> otherConfig
additional configuration


currentlyAttached

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


statusCode

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


statusDetail

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


runtimeProperties

public java.util.Map<java.lang.String,java.lang.String> runtimeProperties
Device runtime properties


qosAlgorithmType

public java.lang.String qosAlgorithmType
QoS algorithm to use


qosAlgorithmParams

public java.util.Map<java.lang.String,java.lang.String> qosAlgorithmParams
parameters for chosen QoS algorithm


qosSupportedAlgorithms

public java.util.Set<java.lang.String> qosSupportedAlgorithms
supported QoS algorithms for this VIF


metrics

public VIFMetrics metrics
metrics associated with this VIF


MACAutogenerated

public java.lang.Boolean MACAutogenerated
true if the MAC was autogenerated; false indicates it was set manually

Constructor Detail

VIF.Record

public VIF.Record()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toMap

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

Specified by:
toMap in interface Types.Record