| 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)
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.
|
HostNICLabels |
getLabels()
Gets the value of the HostNICLabels property.
|
HostNICStatistics |
getStatistics()
Gets the value of the HostNICStatistics property.
|
HostNIC |
update()
Updates HostNIC object.
|
HostNIC |
update(Boolean async)
Updates HostNIC object.
|
HostNIC |
update(Boolean async,
String correlationId)
Updates HostNIC object.
|
getBaseInterface, getBonding, getBootProtocol, getBridged, getCheckConnectivity, getCustomConfiguration, getHost, getIp, getMac, getMtu, getNetwork, getOverrideConfiguration, getProperties, getSpeed, getStatus, getVlan, isSetBaseInterface, isSetBonding, isSetBootProtocol, isSetBridged, isSetCheckConnectivity, isSetCustomConfiguration, isSetHost, isSetIp, isSetLabels, isSetMac, isSetMtu, isSetNetwork, isSetOverrideConfiguration, isSetProperties, isSetSpeed, isSetStatistics, isSetStatus, isSetVlan, setBaseInterface, setBonding, setBootProtocol, setBridged, setCheckConnectivity, setCustomConfiguration, setHost, setIp, setLabels, setMac, setMtu, setNetwork, setOverrideConfiguration, setProperties, setSpeed, setStatistics, setStatus, setVlangetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic HostNIC(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic HostNICLabels getLabels()
getLabels in class HostNICHostNICLabelspublic HostNICStatistics getStatistics()
getStatistics in class HostNICHostNICStatisticspublic 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]
HostNICorg.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]
HostNICorg.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]
correlationId -
[any string]
async -
[true|false]
HostNICorg.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]
Actionorg.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]
Actionorg.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]
Actionorg.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]
Actionorg.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
Responseorg.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]
Responseorg.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]
Responseorg.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