diff --git a/src/oca/java/src/org/opennebula/client/vnet/VirtualNetwork.java b/src/oca/java/src/org/opennebula/client/vnet/VirtualNetwork.java index 41911fc22e..4c86f46e17 100644 --- a/src/oca/java/src/org/opennebula/client/vnet/VirtualNetwork.java +++ b/src/oca/java/src/org/opennebula/client/vnet/VirtualNetwork.java @@ -200,9 +200,11 @@ public class VirtualNetwork extends PoolElement{ * @param client XML-RPC Client. * @param id The virtual network id (nid) of the target network. * @param template Address to hold, examples: + *
* LEASES = [ IP = 192.168.0.5 ]
* LEASES = [ MAC = 02:00:0a:00:00:96 ]
* LEASES = [ IP = 192.168.0.5, AR_ID = 3 ]
+ *
* @return A encapsulated response.
*/
public static OneResponse hold(Client client, int id, String template)
@@ -216,9 +218,11 @@ public class VirtualNetwork extends PoolElement{
* @param client XML-RPC Client.
* @param id The virtual network id (nid) of the target network.
* @param template Address to release, examples:
+ *
* LEASES = [ IP = 192.168.0.5 ]
* LEASES = [ MAC = 02:00:0a:00:00:96 ]
* LEASES = [ IP = 192.168.0.5, AR_ID = 3 ]
+ *
* @return A encapsulated response.
*/
public static OneResponse release(Client client, int id, String template)
@@ -420,10 +424,12 @@ public class VirtualNetwork extends PoolElement{
* Adds an Address Range to the VirtualNetwork
*
* @param template AR to add, example:
+ *
* AR = [
* TYPE = IP4,
* IP = 192.168.0.5,
* SIZE = 10 ]
+ *
*
* @return A encapsulated response.
*/
@@ -447,11 +453,13 @@ public class VirtualNetwork extends PoolElement{
* Upates an Address Range from the VirtualNetwork
*
* @param template AR to update, example:
+ *
* AR = [
* AR_ID = 3,
* TYPE = IP4,
* IP = 192.168.0.5,
* SIZE = 10 ]
+ *
*
* @return A encapsulated response.
*/