public class PIF extends XenAPIObject
Modifier and Type | Class and Description |
---|---|
static class |
PIF.Record
Represents all the fields in a PIF
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
ref
The XenAPI reference (OpaqueRef) to this object.
|
Modifier and Type | Method and Description |
---|---|
void |
addToOtherConfig(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the other_config field of the given PIF.
|
static PIF |
createVLAN(Connection c,
java.lang.String device,
Network network,
Host host,
java.lang.Long VLAN)
Deprecated.
|
static Task |
createVLANAsync(Connection c,
java.lang.String device,
Network network,
Host host,
java.lang.Long VLAN)
Deprecated.
|
void |
dbForget(Connection c)
Destroy a PIF database record.
|
Task |
dbForgetAsync(Connection c)
Destroy a PIF database record.
|
static PIF |
dbIntroduce(Connection c,
java.lang.String device,
Network network,
Host host,
java.lang.String MAC,
java.lang.Long MTU,
java.lang.Long VLAN,
java.lang.Boolean physical,
Types.IpConfigurationMode ipConfigurationMode,
java.lang.String IP,
java.lang.String netmask,
java.lang.String gateway,
java.lang.String DNS,
Bond bondSlaveOf,
VLAN VLANMasterOf,
java.lang.Boolean management,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.Boolean disallowUnplug)
Create a new PIF record in the database only
First published in XenServer 5.0.
|
static PIF |
dbIntroduce(Connection c,
java.lang.String device,
Network network,
Host host,
java.lang.String MAC,
java.lang.Long MTU,
java.lang.Long VLAN,
java.lang.Boolean physical,
Types.IpConfigurationMode ipConfigurationMode,
java.lang.String IP,
java.lang.String netmask,
java.lang.String gateway,
java.lang.String DNS,
Bond bondSlaveOf,
VLAN VLANMasterOf,
java.lang.Boolean management,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.Boolean disallowUnplug,
Types.Ipv6ConfigurationMode ipv6ConfigurationMode,
java.util.Set<java.lang.String> IPv6,
java.lang.String ipv6Gateway,
Types.PrimaryAddressType primaryAddressType)
Create a new PIF record in the database only
First published in XenServer 5.0.
|
static PIF |
dbIntroduce(Connection c,
java.lang.String device,
Network network,
Host host,
java.lang.String MAC,
java.lang.Long MTU,
java.lang.Long VLAN,
java.lang.Boolean physical,
Types.IpConfigurationMode ipConfigurationMode,
java.lang.String IP,
java.lang.String netmask,
java.lang.String gateway,
java.lang.String DNS,
Bond bondSlaveOf,
VLAN VLANMasterOf,
java.lang.Boolean management,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.Boolean disallowUnplug,
Types.Ipv6ConfigurationMode ipv6ConfigurationMode,
java.util.Set<java.lang.String> IPv6,
java.lang.String ipv6Gateway,
Types.PrimaryAddressType primaryAddressType,
java.lang.Boolean managed)
Create a new PIF record in the database only
First published in XenServer 5.0.
|
static PIF |
dbIntroduce(Connection c,
java.lang.String device,
Network network,
Host host,
java.lang.String MAC,
java.lang.Long MTU,
java.lang.Long VLAN,
java.lang.Boolean physical,
Types.IpConfigurationMode ipConfigurationMode,
java.lang.String IP,
java.lang.String netmask,
java.lang.String gateway,
java.lang.String DNS,
Bond bondSlaveOf,
VLAN VLANMasterOf,
java.lang.Boolean management,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.Boolean disallowUnplug,
Types.Ipv6ConfigurationMode ipv6ConfigurationMode,
java.util.Set<java.lang.String> IPv6,
java.lang.String ipv6Gateway,
Types.PrimaryAddressType primaryAddressType,
java.lang.Boolean managed,
java.util.Map<java.lang.String,java.lang.String> properties)
Create a new PIF record in the database only
First published in XenServer 5.0.
|
static Task |
dbIntroduceAsync(Connection c,
java.lang.String device,
Network network,
Host host,
java.lang.String MAC,
java.lang.Long MTU,
java.lang.Long VLAN,
java.lang.Boolean physical,
Types.IpConfigurationMode ipConfigurationMode,
java.lang.String IP,
java.lang.String netmask,
java.lang.String gateway,
java.lang.String DNS,
Bond bondSlaveOf,
VLAN VLANMasterOf,
java.lang.Boolean management,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.Boolean disallowUnplug)
Create a new PIF record in the database only
First published in XenServer 5.0.
|
static Task |
dbIntroduceAsync(Connection c,
java.lang.String device,
Network network,
Host host,
java.lang.String MAC,
java.lang.Long MTU,
java.lang.Long VLAN,
java.lang.Boolean physical,
Types.IpConfigurationMode ipConfigurationMode,
java.lang.String IP,
java.lang.String netmask,
java.lang.String gateway,
java.lang.String DNS,
Bond bondSlaveOf,
VLAN VLANMasterOf,
java.lang.Boolean management,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.Boolean disallowUnplug,
Types.Ipv6ConfigurationMode ipv6ConfigurationMode,
java.util.Set<java.lang.String> IPv6,
java.lang.String ipv6Gateway,
Types.PrimaryAddressType primaryAddressType)
Create a new PIF record in the database only
First published in XenServer 5.0.
|
static Task |
dbIntroduceAsync(Connection c,
java.lang.String device,
Network network,
Host host,
java.lang.String MAC,
java.lang.Long MTU,
java.lang.Long VLAN,
java.lang.Boolean physical,
Types.IpConfigurationMode ipConfigurationMode,
java.lang.String IP,
java.lang.String netmask,
java.lang.String gateway,
java.lang.String DNS,
Bond bondSlaveOf,
VLAN VLANMasterOf,
java.lang.Boolean management,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.Boolean disallowUnplug,
Types.Ipv6ConfigurationMode ipv6ConfigurationMode,
java.util.Set<java.lang.String> IPv6,
java.lang.String ipv6Gateway,
Types.PrimaryAddressType primaryAddressType,
java.lang.Boolean managed)
Create a new PIF record in the database only
First published in XenServer 5.0.
|
static Task |
dbIntroduceAsync(Connection c,
java.lang.String device,
Network network,
Host host,
java.lang.String MAC,
java.lang.Long MTU,
java.lang.Long VLAN,
java.lang.Boolean physical,
Types.IpConfigurationMode ipConfigurationMode,
java.lang.String IP,
java.lang.String netmask,
java.lang.String gateway,
java.lang.String DNS,
Bond bondSlaveOf,
VLAN VLANMasterOf,
java.lang.Boolean management,
java.util.Map<java.lang.String,java.lang.String> otherConfig,
java.lang.Boolean disallowUnplug,
Types.Ipv6ConfigurationMode ipv6ConfigurationMode,
java.util.Set<java.lang.String> IPv6,
java.lang.String ipv6Gateway,
Types.PrimaryAddressType primaryAddressType,
java.lang.Boolean managed,
java.util.Map<java.lang.String,java.lang.String> properties)
Create a new PIF record in the database only
First published in XenServer 5.0.
|
void |
destroy(Connection c)
Deprecated.
|
Task |
destroyAsync(Connection c)
Deprecated.
|
boolean |
equals(java.lang.Object obj)
If obj is a PIF, compares XenAPI references for equality.
|
void |
forget(Connection c)
Destroy the PIF object matching a particular network interface
First published in XenServer 4.1.
|
Task |
forgetAsync(Connection c)
Destroy the PIF object matching a particular network interface
First published in XenServer 4.1.
|
static java.util.Set<PIF> |
getAll(Connection c)
Return a list of all the PIFs known to the system.
|
static java.util.Map<PIF,PIF.Record> |
getAllRecords(Connection c)
Return a map of PIF references to PIF records for all PIFs known to the system.
|
java.util.Set<Bond> |
getBondMasterOf(Connection c)
Get the bond_master_of field of the given PIF.
|
Bond |
getBondSlaveOf(Connection c)
Get the bond_slave_of field of the given PIF.
|
static PIF |
getByUuid(Connection c,
java.lang.String uuid)
Get a reference to the PIF instance with the specified UUID.
|
java.util.Set<java.lang.String> |
getCapabilities(Connection c)
Get the capabilities field of the given PIF.
|
java.lang.Boolean |
getCurrentlyAttached(Connection c)
Get the currently_attached field of the given PIF.
|
java.lang.String |
getDevice(Connection c)
Get the device field of the given PIF.
|
java.lang.Boolean |
getDisallowUnplug(Connection c)
Get the disallow_unplug field of the given PIF.
|
java.lang.String |
getDNS(Connection c)
Get the DNS field of the given PIF.
|
java.lang.String |
getGateway(Connection c)
Get the gateway field of the given PIF.
|
Host |
getHost(Connection c)
Get the host field of the given PIF.
|
Types.PifIgmpStatus |
getIgmpSnoopingStatus(Connection c)
Get the igmp_snooping_status field of the given PIF.
|
java.lang.String |
getIP(Connection c)
Get the IP field of the given PIF.
|
Types.IpConfigurationMode |
getIpConfigurationMode(Connection c)
Get the ip_configuration_mode field of the given PIF.
|
java.util.Set<java.lang.String> |
getIPv6(Connection c)
Get the IPv6 field of the given PIF.
|
Types.Ipv6ConfigurationMode |
getIpv6ConfigurationMode(Connection c)
Get the ipv6_configuration_mode field of the given PIF.
|
java.lang.String |
getIpv6Gateway(Connection c)
Get the ipv6_gateway field of the given PIF.
|
java.lang.String |
getMAC(Connection c)
Get the MAC field of the given PIF.
|
java.lang.Boolean |
getManaged(Connection c)
Get the managed field of the given PIF.
|
java.lang.Boolean |
getManagement(Connection c)
Get the management field of the given PIF.
|
PIFMetrics |
getMetrics(Connection c)
Get the metrics field of the given PIF.
|
java.lang.Long |
getMTU(Connection c)
Get the MTU field of the given PIF.
|
java.lang.String |
getNetmask(Connection c)
Get the netmask field of the given PIF.
|
Network |
getNetwork(Connection c)
Get the network field of the given PIF.
|
java.util.Map<java.lang.String,java.lang.String> |
getOtherConfig(Connection c)
Get the other_config field of the given PIF.
|
PCI |
getPCI(Connection c)
Get the PCI field of the given PIF.
|
java.lang.Boolean |
getPhysical(Connection c)
Get the physical field of the given PIF.
|
Types.PrimaryAddressType |
getPrimaryAddressType(Connection c)
Get the primary_address_type field of the given PIF.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties(Connection c)
Get the properties field of the given PIF.
|
PIF.Record |
getRecord(Connection c)
Get a record containing the current state of the given PIF.
|
java.util.Set<NetworkSriov> |
getSriovLogicalPIFOf(Connection c)
Get the sriov_logical_PIF_of field of the given PIF.
|
java.util.Set<NetworkSriov> |
getSriovPhysicalPIFOf(Connection c)
Get the sriov_physical_PIF_of field of the given PIF.
|
java.util.Set<Tunnel> |
getTunnelAccessPIFOf(Connection c)
Get the tunnel_access_PIF_of field of the given PIF.
|
java.util.Set<Tunnel> |
getTunnelTransportPIFOf(Connection c)
Get the tunnel_transport_PIF_of field of the given PIF.
|
java.lang.String |
getUuid(Connection c)
Get the uuid field of the given PIF.
|
java.lang.Long |
getVLAN(Connection c)
Get the VLAN field of the given PIF.
|
VLAN |
getVLANMasterOf(Connection c)
Get the VLAN_master_of field of the given PIF.
|
java.util.Set<VLAN> |
getVLANSlaveOf(Connection c)
Get the VLAN_slave_of field of the given PIF.
|
int |
hashCode() |
static PIF |
introduce(Connection c,
Host host,
java.lang.String MAC,
java.lang.String device)
Create a PIF object matching a particular network interface
First published in XenServer 4.1.
|
static PIF |
introduce(Connection c,
Host host,
java.lang.String MAC,
java.lang.String device,
java.lang.Boolean managed)
Create a PIF object matching a particular network interface
First published in XenServer 4.1.
|
static Task |
introduceAsync(Connection c,
Host host,
java.lang.String MAC,
java.lang.String device)
Create a PIF object matching a particular network interface
First published in XenServer 4.1.
|
static Task |
introduceAsync(Connection c,
Host host,
java.lang.String MAC,
java.lang.String device,
java.lang.Boolean managed)
Create a PIF object matching a particular network interface
First published in XenServer 4.1.
|
void |
plug(Connection c)
Attempt to bring up a physical interface
First published in XenServer 4.1.
|
Task |
plugAsync(Connection c)
Attempt to bring up a physical interface
First published in XenServer 4.1.
|
void |
reconfigureIp(Connection c,
Types.IpConfigurationMode mode,
java.lang.String IP,
java.lang.String netmask,
java.lang.String gateway,
java.lang.String DNS)
Reconfigure the IP address settings for this interface
First published in XenServer 4.1.
|
Task |
reconfigureIpAsync(Connection c,
Types.IpConfigurationMode mode,
java.lang.String IP,
java.lang.String netmask,
java.lang.String gateway,
java.lang.String DNS)
Reconfigure the IP address settings for this interface
First published in XenServer 4.1.
|
void |
reconfigureIpv6(Connection c,
Types.Ipv6ConfigurationMode mode,
java.lang.String IPv6,
java.lang.String gateway,
java.lang.String DNS)
Reconfigure the IPv6 address settings for this interface
Experimental.
|
Task |
reconfigureIpv6Async(Connection c,
Types.Ipv6ConfigurationMode mode,
java.lang.String IPv6,
java.lang.String gateway,
java.lang.String DNS)
Reconfigure the IPv6 address settings for this interface
Experimental.
|
void |
removeFromOtherConfig(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the other_config field of the given PIF.
|
static void |
scan(Connection c,
Host host)
Scan for physical interfaces on a host and create PIF objects to represent them
First published in XenServer 4.1.
|
static Task |
scanAsync(Connection c,
Host host)
Scan for physical interfaces on a host and create PIF objects to represent them
First published in XenServer 4.1.
|
void |
setDisallowUnplug(Connection c,
java.lang.Boolean value)
Set whether unplugging the PIF is allowed
First published in XenServer 5.0.
|
Task |
setDisallowUnplugAsync(Connection c,
java.lang.Boolean value)
Set whether unplugging the PIF is allowed
First published in XenServer 5.0.
|
void |
setOtherConfig(Connection c,
java.util.Map<java.lang.String,java.lang.String> otherConfig)
Set the other_config field of the given PIF.
|
void |
setPrimaryAddressType(Connection c,
Types.PrimaryAddressType primaryAddressType)
Change the primary address type used by this PIF
Experimental.
|
Task |
setPrimaryAddressTypeAsync(Connection c,
Types.PrimaryAddressType primaryAddressType)
Change the primary address type used by this PIF
Experimental.
|
void |
setProperty(Connection c,
java.lang.String name,
java.lang.String value)
Set the value of a property of the PIF
First published in XenServer 6.5.
|
Task |
setPropertyAsync(Connection c,
java.lang.String name,
java.lang.String value)
Set the value of a property of the PIF
First published in XenServer 6.5.
|
java.lang.String |
toWireString() |
void |
unplug(Connection c)
Attempt to bring down a physical interface
First published in XenServer 4.1.
|
Task |
unplugAsync(Connection c)
Attempt to bring down a physical interface
First published in XenServer 4.1.
|
isNull
protected final java.lang.String ref
public java.lang.String toWireString()
toWireString
in class XenAPIObject
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PIF.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static PIF getByUuid(Connection c, java.lang.String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onuuid
- UUID of object to returnTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getDevice(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Network getNetwork(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Host getHost(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getMAC(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getMTU(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getVLAN(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public PIFMetrics getMetrics(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getPhysical(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getCurrentlyAttached(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Types.IpConfigurationMode getIpConfigurationMode(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getIP(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getNetmask(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getGateway(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getDNS(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Bond getBondSlaveOf(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<Bond> getBondMasterOf(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public VLAN getVLANMasterOf(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<VLAN> getVLANSlaveOf(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getManagement(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getOtherConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getDisallowUnplug(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<Tunnel> getTunnelAccessPIFOf(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<Tunnel> getTunnelTransportPIFOf(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Types.Ipv6ConfigurationMode getIpv6ConfigurationMode(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<java.lang.String> getIPv6(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getIpv6Gateway(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Types.PrimaryAddressType getPrimaryAddressType(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getManaged(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getProperties(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<java.lang.String> getCapabilities(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Types.PifIgmpStatus getIgmpSnoopingStatus(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<NetworkSriov> getSriovPhysicalPIFOf(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<NetworkSriov> getSriovLogicalPIFOf(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public PCI getPCI(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setOtherConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> otherConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onotherConfig
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToOtherConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to addvalue
- Value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromOtherConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public static Task createVLANAsync(Connection c, java.lang.String device, Network network, Host host, java.lang.Long VLAN) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VlanTagInvalid
c
- The connection the call is made ondevice
- physical interface on which to create the VLAN interfacenetwork
- network to which this interface should be connectedhost
- physical machine to which this PIF is connectedVLAN
- VLAN tag for the new interfaceTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VlanTagInvalid
- You tried to create a VLAN, but the tag you gave was invalid -- it must be between 0 and 4094. The parameter echoes the VLAN tag you gave.@Deprecated public static PIF createVLAN(Connection c, java.lang.String device, Network network, Host host, java.lang.Long VLAN) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VlanTagInvalid
c
- The connection the call is made ondevice
- physical interface on which to create the VLAN interfacenetwork
- network to which this interface should be connectedhost
- physical machine to which this PIF is connectedVLAN
- VLAN tag for the new interfaceTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VlanTagInvalid
- You tried to create a VLAN, but the tag you gave was invalid -- it must be between 0 and 4094. The parameter echoes the VLAN tag you gave.@Deprecated public Task destroyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.PifIsPhysical
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.PifIsPhysical
- You tried to destroy a PIF, but it represents an aspect of the physical host configuration, and so cannot be destroyed. The parameter echoes the PIF handle you gave.@Deprecated public void destroy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.PifIsPhysical
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.PifIsPhysical
- You tried to destroy a PIF, but it represents an aspect of the physical host configuration, and so cannot be destroyed. The parameter echoes the PIF handle you gave.public Task reconfigureIpAsync(Connection c, Types.IpConfigurationMode mode, java.lang.String IP, java.lang.String netmask, java.lang.String gateway, java.lang.String DNS) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.ClusteringEnabled
c
- The connection the call is made onmode
- whether to use dynamic/static/no-assignmentIP
- the new IP addressnetmask
- the new netmaskgateway
- the new gatewayDNS
- the new DNS settingsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.ClusteringEnabled
- An operation was attempted while clustering was enabled on the cluster_host.public void reconfigureIp(Connection c, Types.IpConfigurationMode mode, java.lang.String IP, java.lang.String netmask, java.lang.String gateway, java.lang.String DNS) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.ClusteringEnabled
c
- The connection the call is made onmode
- whether to use dynamic/static/no-assignmentIP
- the new IP addressnetmask
- the new netmaskgateway
- the new gatewayDNS
- the new DNS settingsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.ClusteringEnabled
- An operation was attempted while clustering was enabled on the cluster_host.public Task reconfigureIpv6Async(Connection c, Types.Ipv6ConfigurationMode mode, java.lang.String IPv6, java.lang.String gateway, java.lang.String DNS) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.ClusteringEnabled
c
- The connection the call is made onmode
- whether to use dynamic/static/no-assignmentIPv6
- the new IPv6 address (in <addr>/<prefix length> format)gateway
- the new gatewayDNS
- the new DNS settingsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.ClusteringEnabled
- An operation was attempted while clustering was enabled on the cluster_host.public void reconfigureIpv6(Connection c, Types.Ipv6ConfigurationMode mode, java.lang.String IPv6, java.lang.String gateway, java.lang.String DNS) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.ClusteringEnabled
c
- The connection the call is made onmode
- whether to use dynamic/static/no-assignmentIPv6
- the new IPv6 address (in <addr>/<prefix length> format)gateway
- the new gatewayDNS
- the new DNS settingsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.ClusteringEnabled
- An operation was attempted while clustering was enabled on the cluster_host.public Task setPrimaryAddressTypeAsync(Connection c, Types.PrimaryAddressType primaryAddressType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onprimaryAddressType
- Whether to prefer IPv4 or IPv6 connectionsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setPrimaryAddressType(Connection c, Types.PrimaryAddressType primaryAddressType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onprimaryAddressType
- Whether to prefer IPv4 or IPv6 connectionsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task scanAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host on which to scanTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void scan(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host on which to scanTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task introduceAsync(Connection c, Host host, java.lang.String MAC, java.lang.String device) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host on which the interface existsMAC
- The MAC address of the interfacedevice
- The device name to use for the interfaceTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static PIF introduce(Connection c, Host host, java.lang.String MAC, java.lang.String device) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host on which the interface existsMAC
- The MAC address of the interfacedevice
- The device name to use for the interfaceTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task introduceAsync(Connection c, Host host, java.lang.String MAC, java.lang.String device, java.lang.Boolean managed) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host on which the interface existsMAC
- The MAC address of the interfacedevice
- The device name to use for the interfacemanaged
- Indicates whether the interface is managed by xapi (defaults to "true") First published in XenServer 6.2 SP1.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static PIF introduce(Connection c, Host host, java.lang.String MAC, java.lang.String device, java.lang.Boolean managed) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host on which the interface existsMAC
- The MAC address of the interfacedevice
- The device name to use for the interfacemanaged
- Indicates whether the interface is managed by xapi (defaults to "true") First published in XenServer 6.2 SP1.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task forgetAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.PifTunnelStillExists, Types.ClusteringEnabled
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.PifTunnelStillExists
- Operation cannot proceed while a tunnel exists on this interface.Types.ClusteringEnabled
- An operation was attempted while clustering was enabled on the cluster_host.public void forget(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.PifTunnelStillExists, Types.ClusteringEnabled
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.PifTunnelStillExists
- Operation cannot proceed while a tunnel exists on this interface.Types.ClusteringEnabled
- An operation was attempted while clustering was enabled on the cluster_host.public Task unplugAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.HaOperationWouldBreakFailoverPlan, Types.VifInUse, Types.PifDoesNotAllowUnplug, Types.PifHasFcoeSrInUse
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.HaOperationWouldBreakFailoverPlan
- This operation cannot be performed because it would invalidate VM failover planning such that the system would be unable to guarantee to restart protected VMs after a Host failure.Types.VifInUse
- Network has active VIFsTypes.PifDoesNotAllowUnplug
- The operation you requested cannot be performed because the specified PIF does not allow unplug.Types.PifHasFcoeSrInUse
- The operation you requested cannot be performed because the specified PIF has FCoE SR in use.public void unplug(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.HaOperationWouldBreakFailoverPlan, Types.VifInUse, Types.PifDoesNotAllowUnplug, Types.PifHasFcoeSrInUse
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.HaOperationWouldBreakFailoverPlan
- This operation cannot be performed because it would invalidate VM failover planning such that the system would be unable to guarantee to restart protected VMs after a Host failure.Types.VifInUse
- Network has active VIFsTypes.PifDoesNotAllowUnplug
- The operation you requested cannot be performed because the specified PIF does not allow unplug.Types.PifHasFcoeSrInUse
- The operation you requested cannot be performed because the specified PIF has FCoE SR in use.public Task setDisallowUnplugAsync(Connection c, java.lang.Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.OtherOperationInProgress, Types.ClusteringEnabled
c
- The connection the call is made onvalue
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.ClusteringEnabled
- An operation was attempted while clustering was enabled on the cluster_host.public void setDisallowUnplug(Connection c, java.lang.Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.OtherOperationInProgress, Types.ClusteringEnabled
c
- The connection the call is made onvalue
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.ClusteringEnabled
- An operation was attempted while clustering was enabled on the cluster_host.public Task plugAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.TransportPifNotConfigured
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.TransportPifNotConfigured
- The tunnel transport PIF has no IP configuration set.public void plug(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.TransportPifNotConfigured
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.TransportPifNotConfigured
- The tunnel transport PIF has no IP configuration set.public static Task dbIntroduceAsync(Connection c, java.lang.String device, Network network, Host host, java.lang.String MAC, java.lang.Long MTU, java.lang.Long VLAN, java.lang.Boolean physical, Types.IpConfigurationMode ipConfigurationMode, java.lang.String IP, java.lang.String netmask, java.lang.String gateway, java.lang.String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, java.lang.Boolean management, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.Boolean disallowUnplug) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondevice
- No descriptionnetwork
- No descriptionhost
- No descriptionMAC
- No descriptionMTU
- No descriptionVLAN
- No descriptionphysical
- No descriptionipConfigurationMode
- No descriptionIP
- No descriptionnetmask
- No descriptiongateway
- No descriptionDNS
- No descriptionbondSlaveOf
- No descriptionVLANMasterOf
- No descriptionmanagement
- No descriptionotherConfig
- No descriptiondisallowUnplug
- No descriptionTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static PIF dbIntroduce(Connection c, java.lang.String device, Network network, Host host, java.lang.String MAC, java.lang.Long MTU, java.lang.Long VLAN, java.lang.Boolean physical, Types.IpConfigurationMode ipConfigurationMode, java.lang.String IP, java.lang.String netmask, java.lang.String gateway, java.lang.String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, java.lang.Boolean management, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.Boolean disallowUnplug) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondevice
- No descriptionnetwork
- No descriptionhost
- No descriptionMAC
- No descriptionMTU
- No descriptionVLAN
- No descriptionphysical
- No descriptionipConfigurationMode
- No descriptionIP
- No descriptionnetmask
- No descriptiongateway
- No descriptionDNS
- No descriptionbondSlaveOf
- No descriptionVLANMasterOf
- No descriptionmanagement
- No descriptionotherConfig
- No descriptiondisallowUnplug
- No descriptionTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task dbIntroduceAsync(Connection c, java.lang.String device, Network network, Host host, java.lang.String MAC, java.lang.Long MTU, java.lang.Long VLAN, java.lang.Boolean physical, Types.IpConfigurationMode ipConfigurationMode, java.lang.String IP, java.lang.String netmask, java.lang.String gateway, java.lang.String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, java.lang.Boolean management, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.Boolean disallowUnplug, Types.Ipv6ConfigurationMode ipv6ConfigurationMode, java.util.Set<java.lang.String> IPv6, java.lang.String ipv6Gateway, Types.PrimaryAddressType primaryAddressType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondevice
- No descriptionnetwork
- No descriptionhost
- No descriptionMAC
- No descriptionMTU
- No descriptionVLAN
- No descriptionphysical
- No descriptionipConfigurationMode
- No descriptionIP
- No descriptionnetmask
- No descriptiongateway
- No descriptionDNS
- No descriptionbondSlaveOf
- No descriptionVLANMasterOf
- No descriptionmanagement
- No descriptionotherConfig
- No descriptiondisallowUnplug
- No descriptionipv6ConfigurationMode
- No description First published in XenServer 6.0.IPv6
- No description First published in XenServer 6.0.ipv6Gateway
- No description First published in XenServer 6.0.primaryAddressType
- No description First published in XenServer 6.0.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static PIF dbIntroduce(Connection c, java.lang.String device, Network network, Host host, java.lang.String MAC, java.lang.Long MTU, java.lang.Long VLAN, java.lang.Boolean physical, Types.IpConfigurationMode ipConfigurationMode, java.lang.String IP, java.lang.String netmask, java.lang.String gateway, java.lang.String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, java.lang.Boolean management, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.Boolean disallowUnplug, Types.Ipv6ConfigurationMode ipv6ConfigurationMode, java.util.Set<java.lang.String> IPv6, java.lang.String ipv6Gateway, Types.PrimaryAddressType primaryAddressType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondevice
- No descriptionnetwork
- No descriptionhost
- No descriptionMAC
- No descriptionMTU
- No descriptionVLAN
- No descriptionphysical
- No descriptionipConfigurationMode
- No descriptionIP
- No descriptionnetmask
- No descriptiongateway
- No descriptionDNS
- No descriptionbondSlaveOf
- No descriptionVLANMasterOf
- No descriptionmanagement
- No descriptionotherConfig
- No descriptiondisallowUnplug
- No descriptionipv6ConfigurationMode
- No description First published in XenServer 6.0.IPv6
- No description First published in XenServer 6.0.ipv6Gateway
- No description First published in XenServer 6.0.primaryAddressType
- No description First published in XenServer 6.0.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task dbIntroduceAsync(Connection c, java.lang.String device, Network network, Host host, java.lang.String MAC, java.lang.Long MTU, java.lang.Long VLAN, java.lang.Boolean physical, Types.IpConfigurationMode ipConfigurationMode, java.lang.String IP, java.lang.String netmask, java.lang.String gateway, java.lang.String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, java.lang.Boolean management, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.Boolean disallowUnplug, Types.Ipv6ConfigurationMode ipv6ConfigurationMode, java.util.Set<java.lang.String> IPv6, java.lang.String ipv6Gateway, Types.PrimaryAddressType primaryAddressType, java.lang.Boolean managed) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondevice
- No descriptionnetwork
- No descriptionhost
- No descriptionMAC
- No descriptionMTU
- No descriptionVLAN
- No descriptionphysical
- No descriptionipConfigurationMode
- No descriptionIP
- No descriptionnetmask
- No descriptiongateway
- No descriptionDNS
- No descriptionbondSlaveOf
- No descriptionVLANMasterOf
- No descriptionmanagement
- No descriptionotherConfig
- No descriptiondisallowUnplug
- No descriptionipv6ConfigurationMode
- No description First published in XenServer 6.0.IPv6
- No description First published in XenServer 6.0.ipv6Gateway
- No description First published in XenServer 6.0.primaryAddressType
- No description First published in XenServer 6.0.managed
- No description First published in XenServer 6.2 SP1.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static PIF dbIntroduce(Connection c, java.lang.String device, Network network, Host host, java.lang.String MAC, java.lang.Long MTU, java.lang.Long VLAN, java.lang.Boolean physical, Types.IpConfigurationMode ipConfigurationMode, java.lang.String IP, java.lang.String netmask, java.lang.String gateway, java.lang.String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, java.lang.Boolean management, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.Boolean disallowUnplug, Types.Ipv6ConfigurationMode ipv6ConfigurationMode, java.util.Set<java.lang.String> IPv6, java.lang.String ipv6Gateway, Types.PrimaryAddressType primaryAddressType, java.lang.Boolean managed) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondevice
- No descriptionnetwork
- No descriptionhost
- No descriptionMAC
- No descriptionMTU
- No descriptionVLAN
- No descriptionphysical
- No descriptionipConfigurationMode
- No descriptionIP
- No descriptionnetmask
- No descriptiongateway
- No descriptionDNS
- No descriptionbondSlaveOf
- No descriptionVLANMasterOf
- No descriptionmanagement
- No descriptionotherConfig
- No descriptiondisallowUnplug
- No descriptionipv6ConfigurationMode
- No description First published in XenServer 6.0.IPv6
- No description First published in XenServer 6.0.ipv6Gateway
- No description First published in XenServer 6.0.primaryAddressType
- No description First published in XenServer 6.0.managed
- No description First published in XenServer 6.2 SP1.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task dbIntroduceAsync(Connection c, java.lang.String device, Network network, Host host, java.lang.String MAC, java.lang.Long MTU, java.lang.Long VLAN, java.lang.Boolean physical, Types.IpConfigurationMode ipConfigurationMode, java.lang.String IP, java.lang.String netmask, java.lang.String gateway, java.lang.String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, java.lang.Boolean management, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.Boolean disallowUnplug, Types.Ipv6ConfigurationMode ipv6ConfigurationMode, java.util.Set<java.lang.String> IPv6, java.lang.String ipv6Gateway, Types.PrimaryAddressType primaryAddressType, java.lang.Boolean managed, java.util.Map<java.lang.String,java.lang.String> properties) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondevice
- No descriptionnetwork
- No descriptionhost
- No descriptionMAC
- No descriptionMTU
- No descriptionVLAN
- No descriptionphysical
- No descriptionipConfigurationMode
- No descriptionIP
- No descriptionnetmask
- No descriptiongateway
- No descriptionDNS
- No descriptionbondSlaveOf
- No descriptionVLANMasterOf
- No descriptionmanagement
- No descriptionotherConfig
- No descriptiondisallowUnplug
- No descriptionipv6ConfigurationMode
- No description First published in XenServer 6.0.IPv6
- No description First published in XenServer 6.0.ipv6Gateway
- No description First published in XenServer 6.0.primaryAddressType
- No description First published in XenServer 6.0.managed
- No description First published in XenServer 6.2 SP1.properties
- No description First published in XenServer 6.5.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static PIF dbIntroduce(Connection c, java.lang.String device, Network network, Host host, java.lang.String MAC, java.lang.Long MTU, java.lang.Long VLAN, java.lang.Boolean physical, Types.IpConfigurationMode ipConfigurationMode, java.lang.String IP, java.lang.String netmask, java.lang.String gateway, java.lang.String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, java.lang.Boolean management, java.util.Map<java.lang.String,java.lang.String> otherConfig, java.lang.Boolean disallowUnplug, Types.Ipv6ConfigurationMode ipv6ConfigurationMode, java.util.Set<java.lang.String> IPv6, java.lang.String ipv6Gateway, Types.PrimaryAddressType primaryAddressType, java.lang.Boolean managed, java.util.Map<java.lang.String,java.lang.String> properties) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondevice
- No descriptionnetwork
- No descriptionhost
- No descriptionMAC
- No descriptionMTU
- No descriptionVLAN
- No descriptionphysical
- No descriptionipConfigurationMode
- No descriptionIP
- No descriptionnetmask
- No descriptiongateway
- No descriptionDNS
- No descriptionbondSlaveOf
- No descriptionVLANMasterOf
- No descriptionmanagement
- No descriptionotherConfig
- No descriptiondisallowUnplug
- No descriptionipv6ConfigurationMode
- No description First published in XenServer 6.0.IPv6
- No description First published in XenServer 6.0.ipv6Gateway
- No description First published in XenServer 6.0.primaryAddressType
- No description First published in XenServer 6.0.managed
- No description First published in XenServer 6.2 SP1.properties
- No description First published in XenServer 6.5.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task dbForgetAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void dbForget(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setPropertyAsync(Connection c, java.lang.String name, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The property namevalue
- The property valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setProperty(Connection c, java.lang.String name, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The property namevalue
- The property valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Set<PIF> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Map<PIF,PIF.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.