com.xensource.xenapi
Class PIF.Record

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

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

Represents all the fields in a PIF


Field Summary
 java.util.Set<Bond> bondMasterOf
          Indicates this PIF represents the results of a bond
 Bond bondSlaveOf
          Indicates which bond this interface is part of
 java.lang.Boolean currentlyAttached
          true if this interface is online
 java.lang.String device
          machine-readable name of the interface (e.g.
 java.lang.Boolean disallowUnplug
          Prevent this PIF from being unplugged; set this to notify the management tool-stack that the PIF has a special use and should not be unplugged under any circumstances (e.g.
 java.lang.String DNS
          IP address of DNS servers to use
 java.lang.String gateway
          IP gateway
 Host host
          physical machine to which this pif is connected
 java.lang.String IP
          IP address
 Types.IpConfigurationMode ipConfigurationMode
          Sets if and how this interface gets an IP address
 java.lang.String MAC
          ethernet MAC address of physical interface
 java.lang.Boolean management
          Indicates whether the control software is listening for connections on this interface
 PIFMetrics metrics
          metrics associated with this PIF
 java.lang.Long MTU
          MTU in octets
 java.lang.String netmask
          IP netmask
 Network network
          virtual network to which this pif is connected
 java.util.Map<java.lang.String,java.lang.String> otherConfig
          Additional configuration
 java.lang.Boolean physical
          true if this represents a physical network interface
 java.util.Set<Tunnel> tunnelAccessPIFOf
          Indicates to which tunnel this PIF gives access
 java.util.Set<Tunnel> tunnelTransportPIFOf
          Indicates to which tunnel this PIF provides transport
 java.lang.String uuid
          Unique identifier/object reference
 java.lang.Long VLAN
          VLAN tag for all traffic passing through this interface
 VLAN VLANMasterOf
          Indicates wich VLAN this interface receives untagged traffic from
 java.util.Set<VLAN> VLANSlaveOf
          Indicates which VLANs this interface transmits tagged traffic to
 
Constructor Summary
PIF.Record()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> toMap()
          Convert a PIF.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


device

public java.lang.String device
machine-readable name of the interface (e.g. eth0)


network

public Network network
virtual network to which this pif is connected


host

public Host host
physical machine to which this pif is connected


MAC

public java.lang.String MAC
ethernet MAC address of physical interface


MTU

public java.lang.Long MTU
MTU in octets


VLAN

public java.lang.Long VLAN
VLAN tag for all traffic passing through this interface


metrics

public PIFMetrics metrics
metrics associated with this PIF


physical

public java.lang.Boolean physical
true if this represents a physical network interface


currentlyAttached

public java.lang.Boolean currentlyAttached
true if this interface is online


ipConfigurationMode

public Types.IpConfigurationMode ipConfigurationMode
Sets if and how this interface gets an IP address


IP

public java.lang.String IP
IP address


netmask

public java.lang.String netmask
IP netmask


gateway

public java.lang.String gateway
IP gateway


DNS

public java.lang.String DNS
IP address of DNS servers to use


bondSlaveOf

public Bond bondSlaveOf
Indicates which bond this interface is part of


bondMasterOf

public java.util.Set<Bond> bondMasterOf
Indicates this PIF represents the results of a bond


VLANMasterOf

public VLAN VLANMasterOf
Indicates wich VLAN this interface receives untagged traffic from


VLANSlaveOf

public java.util.Set<VLAN> VLANSlaveOf
Indicates which VLANs this interface transmits tagged traffic to


management

public java.lang.Boolean management
Indicates whether the control software is listening for connections on this interface


otherConfig

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


disallowUnplug

public java.lang.Boolean disallowUnplug
Prevent this PIF from being unplugged; set this to notify the management tool-stack that the PIF has a special use and should not be unplugged under any circumstances (e.g. because you're running storage traffic over it)


tunnelAccessPIFOf

public java.util.Set<Tunnel> tunnelAccessPIFOf
Indicates to which tunnel this PIF gives access


tunnelTransportPIFOf

public java.util.Set<Tunnel> tunnelTransportPIFOf
Indicates to which tunnel this PIF provides transport

Constructor Detail

PIF.Record

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

Specified by:
toMap in interface Types.Record