com.xensource.xenapi
Class Bond.Record

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

public static class Bond.Record
extends java.lang.Object
implements Types.Record

Represents all the fields in a Bond


Field Summary
 java.lang.Long linksUp
          Number of links up in this bond First published in XenServer 6.1.
 PIF master
          The bonded interface
 Types.BondMode mode
          The algorithm used to distribute traffic among the bonded NICs First published in XenServer 6.0.
 java.util.Map<java.lang.String,java.lang.String> otherConfig
          additional configuration
 PIF primarySlave
          The PIF of which the IP configuration and MAC were copied to the bond, and which will receive all configuration/VLANs/VIFs on the bond if the bond is destroyed First published in XenServer 6.0.
 java.util.Map<java.lang.String,java.lang.String> properties
          Additional configuration properties specific to the bond mode.
 java.util.Set<PIF> slaves
          The interfaces which are part of this bond
 java.lang.String uuid
          Unique identifier/object reference
 
Constructor Summary
Bond.Record()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> toMap()
          Convert a Bond.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


master

public PIF master
The bonded interface


slaves

public java.util.Set<PIF> slaves
The interfaces which are part of this bond


otherConfig

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


primarySlave

public PIF primarySlave
The PIF of which the IP configuration and MAC were copied to the bond, and which will receive all configuration/VLANs/VIFs on the bond if the bond is destroyed First published in XenServer 6.0.


mode

public Types.BondMode mode
The algorithm used to distribute traffic among the bonded NICs First published in XenServer 6.0.


properties

public java.util.Map<java.lang.String,java.lang.String> properties
Additional configuration properties specific to the bond mode. First published in XenServer 6.1.


linksUp

public java.lang.Long linksUp
Number of links up in this bond First published in XenServer 6.1.

Constructor Detail

Bond.Record

public Bond.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 Bond.Record to a Map

Specified by:
toMap in interface Types.Record