|
OpenNebula Cloud API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennebula.client.Pool
org.opennebula.client.vnet.VirtualNetworkPool
public class VirtualNetworkPool
This class represents an OpenNebula Virtual Network pool. It also offers static XML-RPC call wrappers.
| Field Summary |
|---|
| Fields inherited from class org.opennebula.client.Pool |
|---|
client, elementName, poolElements |
| Constructor Summary | |
|---|---|
VirtualNetworkPool(Client client)
Creates a new VN pool with the default filter flag value set to 0 (VNs belonging to user with UID 0) |
|
VirtualNetworkPool(Client client,
int filter)
Creates a new VN pool. |
|
| Method Summary | |
|---|---|
PoolElement |
factory(org.w3c.dom.Node node)
The factory method returns a suitable PoolElement object from an XML node. |
OneResponse |
info()
Loads the xml representation of all or part of the VNs in the pool. |
static OneResponse |
info(Client client,
int filter)
Retrieves all or part of the VNs in the pool. |
java.util.Iterator<VirtualNetwork> |
iterator()
|
| Methods inherited from class org.opennebula.client.Pool |
|---|
getLength, item, processInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VirtualNetworkPool(Client client)
client - XML-RPC Client.VirtualNetworkPool(Client, int)
public VirtualNetworkPool(Client client,
int filter)
client - XML-RPC Client.filter - Filter flag used by default in the method
info(). Possible values:
| Method Detail |
|---|
public PoolElement factory(org.w3c.dom.Node node)
Pool
factory in class Poolnode - XML Dom node to build the PoolElement from
public static OneResponse info(Client client,
int filter)
client - XML-RPC Client.filter - Filter flag. Possible values:
public OneResponse info()
info(Client, int)public java.util.Iterator<VirtualNetwork> iterator()
iterator in interface java.lang.Iterable<VirtualNetwork>
|
OpenNebula Cloud API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||