Previous page

Next page

Locate page in Contents

Print this page

add_resource

Summary:

Adds a resource to a resource pool.

Request specification:

IP address pool

Name

Min/Max

Type

Description

add_resource

1..1

 

 

{

 

 

 

resource_pool

1..[]

resource_poolType

The resource configuration. Use the appropriate subtype of resource_poolType to add a resource to the desired pool.

}

 

 

 

Returns:

OK/Error

Description:

The call adds a resource to a resource pool. It does not check the validity of the resource or its general availability (other than basic syntax and format checking). It does check if the resource being added already exists in the pool.

Example:

Adding a range of IP address to the IP address pool.

<packet xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/resourcem" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4.0.0">

<target>resourcem</target>

<data>

<resourcem>

<add_resource>

<resource_pool xsi:type="ns2:resource_ip_poolType">

<type>resource_ip</type>

<ip_range>

<start_ip>10.17.3.125</start_ip>

<end_ip>10.17.3.127</end_ip>

</ip_range>

</resource_pool>

</add_resource>

</resourcem>

</data>

</packet>

Please send us your feedback on this help page