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.
|
Response |
delete()
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.
|
HostNICStatistics |
getStatistics()
Gets the value of the HostNICStatistics property.
|
HostNIC |
update()
Updates HostNIC object.
|
HostNIC |
update(Boolean async,
String correlationId)
Updates HostNIC object.
|
getBonding, getBootProtocol, getBridged, getCheckConnectivity, getCustomConfiguration, getHost, getIp, getMac, getMtu, getNetwork, getOverrideConfiguration, getSpeed, getStatus, getVlan, isSetBonding, isSetBootProtocol, isSetBridged, isSetCheckConnectivity, isSetCustomConfiguration, isSetHost, isSetIp, isSetMac, isSetMtu, isSetNetwork, isSetOverrideConfiguration, isSetSpeed, isSetStatistics, isSetStatus, isSetVlan, setBonding, setBootProtocol, setBridged, setCheckConnectivity, setCustomConfiguration, setHost, setIp, setMac, setMtu, setNetwork, setOverrideConfiguration, setSpeed, setStatistics, setStatus, 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 HostNICStatistics getStatistics()
getStatistics
in class HostNIC
HostNICStatistics
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.ip.mtu]
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] [hostnic.ip.mtu]
correlationId
- [any string]
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 Action detach(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.async]
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]
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) 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 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, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
correlationId
- [any string]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0