com.xensource.xenapi
public class VIF extends XenAPIObject
Modifier and Type | Class and Description |
---|---|
static class |
VIF.Record
Represents all the fields in a VIF
|
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 |
addIpv4Allowed(Connection c,
java.lang.String value)
Associates an IPv4 address with this VIF
First published in XenServer 6.1.
|
Task |
addIpv4AllowedAsync(Connection c,
java.lang.String value)
Associates an IPv4 address with this VIF
First published in XenServer 6.1.
|
void |
addIpv6Allowed(Connection c,
java.lang.String value)
Associates an IPv6 address with this VIF
First published in XenServer 6.1.
|
Task |
addIpv6AllowedAsync(Connection c,
java.lang.String value)
Associates an IPv6 address with this VIF
First published in XenServer 6.1.
|
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 VIF.
|
void |
addToQosAlgorithmParams(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the qos/algorithm_params field of the given VIF.
|
void |
configureIpv4(Connection c,
Types.VifIpv4ConfigurationMode mode,
java.lang.String address,
java.lang.String gateway)
Configure IPv4 settings for this virtual interface
First published in XenServer Dundee.
|
Task |
configureIpv4Async(Connection c,
Types.VifIpv4ConfigurationMode mode,
java.lang.String address,
java.lang.String gateway)
Configure IPv4 settings for this virtual interface
First published in XenServer Dundee.
|
void |
configureIpv6(Connection c,
Types.VifIpv6ConfigurationMode mode,
java.lang.String address,
java.lang.String gateway)
Configure IPv6 settings for this virtual interface
First published in XenServer Dundee.
|
Task |
configureIpv6Async(Connection c,
Types.VifIpv6ConfigurationMode mode,
java.lang.String address,
java.lang.String gateway)
Configure IPv6 settings for this virtual interface
First published in XenServer Dundee.
|
static VIF |
create(Connection c,
VIF.Record record)
Create a new VIF instance, and return its handle.
|
static Task |
createAsync(Connection c,
VIF.Record record)
Create a new VIF instance, and return its handle.
|
void |
destroy(Connection c)
Destroy the specified VIF instance.
|
Task |
destroyAsync(Connection c)
Destroy the specified VIF instance.
|
boolean |
equals(java.lang.Object obj)
If obj is a VIF, compares XenAPI references for equality.
|
static java.util.Set<VIF> |
getAll(Connection c)
Return a list of all the VIFs known to the system.
|
java.util.Set<Types.VifOperations> |
getAllowedOperations(Connection c)
Get the allowed_operations field of the given VIF.
|
static java.util.Map<VIF,VIF.Record> |
getAllRecords(Connection c)
Return a map of VIF references to VIF records for all VIFs known to the system.
|
static VIF |
getByUuid(Connection c,
java.lang.String uuid)
Get a reference to the VIF instance with the specified UUID.
|
java.lang.Boolean |
getCurrentlyAttached(Connection c)
Get the currently_attached field of the given VIF.
|
java.util.Map<java.lang.String,Types.VifOperations> |
getCurrentOperations(Connection c)
Get the current_operations field of the given VIF.
|
java.lang.String |
getDevice(Connection c)
Get the device field of the given VIF.
|
java.util.Set<java.lang.String> |
getIpv4Addresses(Connection c)
Get the ipv4_addresses field of the given VIF.
|
java.util.Set<java.lang.String> |
getIpv4Allowed(Connection c)
Get the ipv4_allowed field of the given VIF.
|
Types.VifIpv4ConfigurationMode |
getIpv4ConfigurationMode(Connection c)
Get the ipv4_configuration_mode field of the given VIF.
|
java.lang.String |
getIpv4Gateway(Connection c)
Get the ipv4_gateway field of the given VIF.
|
java.util.Set<java.lang.String> |
getIpv6Addresses(Connection c)
Get the ipv6_addresses field of the given VIF.
|
java.util.Set<java.lang.String> |
getIpv6Allowed(Connection c)
Get the ipv6_allowed field of the given VIF.
|
Types.VifIpv6ConfigurationMode |
getIpv6ConfigurationMode(Connection c)
Get the ipv6_configuration_mode field of the given VIF.
|
java.lang.String |
getIpv6Gateway(Connection c)
Get the ipv6_gateway field of the given VIF.
|
Types.VifLockingMode |
getLockingMode(Connection c)
Get the locking_mode field of the given VIF.
|
java.lang.String |
getMAC(Connection c)
Get the MAC field of the given VIF.
|
java.lang.Boolean |
getMACAutogenerated(Connection c)
Get the MAC_autogenerated field of the given VIF.
|
VIFMetrics |
getMetrics(Connection c)
Get the metrics field of the given VIF.
|
java.lang.Long |
getMTU(Connection c)
Get the MTU field of the given VIF.
|
Network |
getNetwork(Connection c)
Get the network field of the given VIF.
|
java.util.Map<java.lang.String,java.lang.String> |
getOtherConfig(Connection c)
Get the other_config field of the given VIF.
|
java.util.Map<java.lang.String,java.lang.String> |
getQosAlgorithmParams(Connection c)
Get the qos/algorithm_params field of the given VIF.
|
java.lang.String |
getQosAlgorithmType(Connection c)
Get the qos/algorithm_type field of the given VIF.
|
java.util.Set<java.lang.String> |
getQosSupportedAlgorithms(Connection c)
Get the qos/supported_algorithms field of the given VIF.
|
VIF.Record |
getRecord(Connection c)
Get a record containing the current state of the given VIF.
|
java.util.Map<java.lang.String,java.lang.String> |
getRuntimeProperties(Connection c)
Get the runtime_properties field of the given VIF.
|
java.lang.Long |
getStatusCode(Connection c)
Get the status_code field of the given VIF.
|
java.lang.String |
getStatusDetail(Connection c)
Get the status_detail field of the given VIF.
|
java.lang.String |
getUuid(Connection c)
Get the uuid field of the given VIF.
|
VM |
getVM(Connection c)
Get the VM field of the given VIF.
|
int |
hashCode() |
void |
move(Connection c,
Network network)
Move the specified VIF to the specified network, even while the VM is running
First published in .
|
Task |
moveAsync(Connection c,
Network network)
Move the specified VIF to the specified network, even while the VM is running
First published in .
|
void |
plug(Connection c)
Hotplug the specified VIF, dynamically attaching it to the running VM
First published in XenServer 4.0.
|
Task |
plugAsync(Connection c)
Hotplug the specified VIF, dynamically attaching it to the running VM
First published in XenServer 4.0.
|
void |
removeFromOtherConfig(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the other_config field of the given VIF.
|
void |
removeFromQosAlgorithmParams(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the qos/algorithm_params field of the given VIF.
|
void |
removeIpv4Allowed(Connection c,
java.lang.String value)
Removes an IPv4 address from this VIF
First published in XenServer 6.1.
|
Task |
removeIpv4AllowedAsync(Connection c,
java.lang.String value)
Removes an IPv4 address from this VIF
First published in XenServer 6.1.
|
void |
removeIpv6Allowed(Connection c,
java.lang.String value)
Removes an IPv6 address from this VIF
First published in XenServer 6.1.
|
Task |
removeIpv6AllowedAsync(Connection c,
java.lang.String value)
Removes an IPv6 address from this VIF
First published in XenServer 6.1.
|
void |
setIpv4Allowed(Connection c,
java.util.Set<java.lang.String> value)
Set the IPv4 addresses to which traffic on this VIF can be restricted
First published in XenServer 6.1.
|
Task |
setIpv4AllowedAsync(Connection c,
java.util.Set<java.lang.String> value)
Set the IPv4 addresses to which traffic on this VIF can be restricted
First published in XenServer 6.1.
|
void |
setIpv6Allowed(Connection c,
java.util.Set<java.lang.String> value)
Set the IPv6 addresses to which traffic on this VIF can be restricted
First published in XenServer 6.1.
|
Task |
setIpv6AllowedAsync(Connection c,
java.util.Set<java.lang.String> value)
Set the IPv6 addresses to which traffic on this VIF can be restricted
First published in XenServer 6.1.
|
void |
setLockingMode(Connection c,
Types.VifLockingMode value)
Set the locking mode for this VIF
First published in XenServer 6.1.
|
Task |
setLockingModeAsync(Connection c,
Types.VifLockingMode value)
Set the locking mode for this VIF
First published in XenServer 6.1.
|
void |
setOtherConfig(Connection c,
java.util.Map<java.lang.String,java.lang.String> otherConfig)
Set the other_config field of the given VIF.
|
void |
setQosAlgorithmParams(Connection c,
java.util.Map<java.lang.String,java.lang.String> algorithmParams)
Set the qos/algorithm_params field of the given VIF.
|
void |
setQosAlgorithmType(Connection c,
java.lang.String algorithmType)
Set the qos/algorithm_type field of the given VIF.
|
java.lang.String |
toWireString() |
void |
unplug(Connection c)
Hot-unplug the specified VIF, dynamically unattaching it from the running VM
First published in XenServer 4.0.
|
Task |
unplugAsync(Connection c)
Hot-unplug the specified VIF, dynamically unattaching it from the running VM
First published in XenServer 4.0.
|
void |
unplugForce(Connection c)
Forcibly unplug the specified VIF
First published in XenServer 6.0.
|
Task |
unplugForceAsync(Connection c)
Forcibly unplug the specified VIF
First published in XenServer 6.0.
|
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 VIF.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static VIF getByUuid(Connection c, java.lang.String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
uuid
- UUID of object to returnTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Task createAsync(Connection c, VIF.Record record) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
record
- All constructor argumentsTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static VIF create(Connection c, VIF.Record record) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
record
- All constructor argumentsTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task destroyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void destroy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<Types.VifOperations> getAllowedOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,Types.VifOperations> getCurrentOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getDevice(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Network getNetwork(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public VM getVM(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getMAC(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getMTU(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getOtherConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Boolean getCurrentlyAttached(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Long getStatusCode(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getStatusDetail(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getRuntimeProperties(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getQosAlgorithmType(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Map<java.lang.String,java.lang.String> getQosAlgorithmParams(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getQosSupportedAlgorithms(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public VIFMetrics getMetrics(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.Boolean getMACAutogenerated(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Types.VifLockingMode getLockingMode(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getIpv4Allowed(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getIpv6Allowed(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Types.VifIpv4ConfigurationMode getIpv4ConfigurationMode(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getIpv4Addresses(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getIpv4Gateway(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Types.VifIpv6ConfigurationMode getIpv6ConfigurationMode(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.util.Set<java.lang.String> getIpv6Addresses(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public java.lang.String getIpv6Gateway(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setOtherConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> otherConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
otherConfig
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addToOtherConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to addvalue
- Value to addTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeFromOtherConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to removeTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setQosAlgorithmType(Connection c, java.lang.String algorithmType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
algorithmType
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setQosAlgorithmParams(Connection c, java.util.Map<java.lang.String,java.lang.String> algorithmParams) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
algorithmParams
- New value to setTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addToQosAlgorithmParams(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to addvalue
- Value to addTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeFromQosAlgorithmParams(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key
- Key to removeTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task plugAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void plug(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task unplugAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void unplug(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task unplugForceAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void unplugForce(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task moveAsync(Connection c, Network network) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
network
- The network to move it toTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void move(Connection c, Network network) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
network
- The network to move it toTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task setLockingModeAsync(Connection c, Types.VifLockingMode value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The new locking mode for the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setLockingMode(Connection c, Types.VifLockingMode value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The new locking mode for the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task setIpv4AllowedAsync(Connection c, java.util.Set<java.lang.String> value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP addresses which will be associated with the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setIpv4Allowed(Connection c, java.util.Set<java.lang.String> value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP addresses which will be associated with the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task addIpv4AllowedAsync(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP address which will be associated with the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addIpv4Allowed(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP address which will be associated with the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task removeIpv4AllowedAsync(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP address which will be removed from the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeIpv4Allowed(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP address which will be removed from the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task setIpv6AllowedAsync(Connection c, java.util.Set<java.lang.String> value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP addresses which will be associated with the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void setIpv6Allowed(Connection c, java.util.Set<java.lang.String> value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP addresses which will be associated with the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task addIpv6AllowedAsync(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP address which will be associated with the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void addIpv6Allowed(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP address which will be associated with the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task removeIpv6AllowedAsync(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP address which will be removed from the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void removeIpv6Allowed(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value
- The IP address which will be removed from the VIFTypes.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task configureIpv4Async(Connection c, Types.VifIpv4ConfigurationMode mode, java.lang.String address, java.lang.String gateway) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
mode
- Whether to use static or no IPv4 assignmentaddress
- The IPv4 address in gateway
- The IPv4 gateway (for static mode only; leave empty to not set a gateway)Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void configureIpv4(Connection c, Types.VifIpv4ConfigurationMode mode, java.lang.String address, java.lang.String gateway) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
mode
- Whether to use static or no IPv4 assignmentaddress
- The IPv4 address in gateway
- The IPv4 gateway (for static mode only; leave empty to not set a gateway)Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Task configureIpv6Async(Connection c, Types.VifIpv6ConfigurationMode mode, java.lang.String address, java.lang.String gateway) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
mode
- Whether to use static or no IPv6 assignmentaddress
- The IPv6 address in gateway
- The IPv6 gateway (for static mode only; leave empty to not set a gateway)Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void configureIpv6(Connection c, Types.VifIpv6ConfigurationMode mode, java.lang.String address, java.lang.String gateway) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
mode
- Whether to use static or no IPv6 assignmentaddress
- The IPv6 address in gateway
- The IPv6 gateway (for static mode only; leave empty to not set a gateway)Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Set<VIF> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static java.util.Map<VIF,VIF.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException