Constructor and Description |
---|
HostNIC(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Action |
attach(Action action)
Performs attach action.
|
Action |
attach(Action action,
String correlationId)
Performs attach action.
|
Action |
attach(Action action,
String correlationId,
Boolean async)
Performs attach action.
|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async)
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
Action |
detach(Action action)
Performs detach action.
|
Action |
detach(Action action,
String correlationId)
Performs detach action.
|
Action |
detach(Action action,
String correlationId,
Boolean async)
Performs detach action.
|
HostNICLabels |
getLabels()
Gets the value of the HostNICLabels property.
|
HostHostNICNetworkAttachments |
getNetworkAttachments()
Gets the value of the HostHostNICNetworkAttachments property.
|
HostHostNICNetworks |
getNetworks()
Gets the value of the HostHostNICNetworks property.
|
HostNICStatistics |
getStatistics()
Gets the value of the HostNICStatistics property.
|
HostHostNICLabels |
getVirtualFunctionAllowedLabels()
Gets the value of the HostHostNICLabels property.
|
HostNIC |
update()
Updates HostNIC object.
|
HostNIC |
update(Boolean async)
Updates HostNIC object.
|
HostNIC |
update(Boolean async,
String correlationId)
Updates HostNIC object.
|
HostNIC |
update(Boolean async,
String correlationId,
String expect)
Updates HostNIC object.
|
Action |
updatevirtualfunctionsconfiguration(Action action)
Performs updatevirtualfunctionsconfiguration action.
|
Action |
updatevirtualfunctionsconfiguration(Action action,
Boolean async)
Performs updatevirtualfunctionsconfiguration action.
|
Action |
updatevirtualfunctionsconfiguration(Action action,
Boolean async,
String correlationId)
Performs updatevirtualfunctionsconfiguration action.
|
getBaseInterface, getBonding, getBootProtocol, getBridged, getCheckConnectivity, getCustomConfiguration, getHost, getIp, getMac, getMtu, getNetwork, getOverrideConfiguration, getPhysicalFunction, getProperties, getQos, getSpeed, getStatus, getVirtualFunctionsConfiguration, getVlan, isSetBaseInterface, isSetBonding, isSetBootProtocol, isSetBridged, isSetCheckConnectivity, isSetCustomConfiguration, isSetHost, isSetIp, isSetLabels, isSetMac, isSetMtu, isSetNetwork, isSetOverrideConfiguration, isSetPhysicalFunction, isSetProperties, isSetQos, isSetSpeed, isSetStatistics, isSetStatus, isSetVirtualFunctionsConfiguration, isSetVlan, setBaseInterface, setBonding, setBootProtocol, setBridged, setCheckConnectivity, setCustomConfiguration, setHost, setIp, setLabels, setMac, setMtu, setNetwork, setOverrideConfiguration, setPhysicalFunction, setProperties, setQos, setSpeed, setStatistics, setStatus, setVirtualFunctionsConfiguration, setVlan
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
getActions, isSetActions, setActions
public HostNIC(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic HostNICLabels getLabels()
getLabels
in class HostNIC
HostNICLabels
public HostHostNICNetworkAttachments getNetworkAttachments()
HostHostNICNetworkAttachments
public HostNICStatistics getStatistics()
getStatistics
in class HostNIC
HostNICStatistics
public HostHostNICLabels getVirtualFunctionAllowedLabels()
HostHostNICLabels
public HostHostNICNetworks getNetworks()
HostHostNICNetworks
public Action attach(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.network.id|name [action.async] [action.grace_period.expiry]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action attach(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.network.id|name [action.async] [action.grace_period.expiry]
correlationId
- [any string]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action attach(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.network.id|name [action.async] [action.grace_period.expiry]
correlationId
- [any string]
async
- [true|false]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Response delete() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Response
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Response delete(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async
- [true|false]
Response
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Response delete(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async
- [true|false]
correlationId
- [any string]
Response
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action detach(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.async] [action.grace_period.expiry]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action detach(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.async] [action.grace_period.expiry]
correlationId
- [any string]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action detach(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.async] [action.grace_period.expiry]
correlationId
- [any string]
async
- [true|false]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public HostNIC update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
hostnic
- HostNIC
[hostnic.bonding.slaves.host_nic] [hostnic.network.id|name] [hostnic.name] [hostnic.bonding.options.option] [hostnic.ip.gateway] [hostnic.boot_protocol] [hostnic.mac] [hostnic.ip.address] [hostnic.ip.netmask]
HostNIC
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public HostNIC update(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
hostnic
- HostNIC
[hostnic.bonding.slaves.host_nic] [hostnic.network.id|name] [hostnic.name] [hostnic.bonding.options.option] [hostnic.ip.gateway] [hostnic.boot_protocol] [hostnic.mac] [hostnic.ip.address] [hostnic.ip.netmask]
async
- [true|false]
HostNIC
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public HostNIC update(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
hostnic
- HostNIC
[hostnic.bonding.slaves.host_nic] [hostnic.network.id|name] [hostnic.name] [hostnic.bonding.options.option] [hostnic.ip.gateway] [hostnic.boot_protocol] [hostnic.mac] [hostnic.ip.address] [hostnic.ip.netmask]
async
- [true|false]
correlationId
- [any string]
HostNIC
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public HostNIC update(Boolean async, String correlationId, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
hostnic
- HostNIC
[hostnic.bonding.slaves.host_nic] [hostnic.network.id|name] [hostnic.name] [hostnic.bonding.options.option] [hostnic.ip.gateway] [hostnic.boot_protocol] [hostnic.mac] [hostnic.ip.address] [hostnic.ip.netmask]
async
- [true|false]
correlationId
- [any string]
expect
- [202-accepted]
HostNIC
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action updatevirtualfunctionsconfiguration(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.virtual_functions_configuration.number_of_virtual_functions] [action.virtual_functions_configuration.all_networks_allowed] [action.async] [action.grace_period.expiry]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action updatevirtualfunctionsconfiguration(Action action, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.virtual_functions_configuration.number_of_virtual_functions] [action.virtual_functions_configuration.all_networks_allowed] [action.async] [action.grace_period.expiry]
async
- [true|false]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action updatevirtualfunctionsconfiguration(Action action, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.virtual_functions_configuration.number_of_virtual_functions] [action.virtual_functions_configuration.all_networks_allowed] [action.async] [action.grace_period.expiry]
async
- [true|false]
correlationId
- [any string]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0