IP Pool Settings
A reseller plan can specify IP pool settings for resellers created with a reseller plan. A reseller IP pool can contain a set of shared and exclusive IP addresses. A shared IP address is selected from Plesk server IP pool, and an exclusive IP address is created for a reseller.
IP pool settings for resellers created with a reseller plan are specified by the ip-pool node which is presented by the ResellerTemplateIpPoolType complex type (
The ip-pool node is structured as follows:
- The ip-address node is optional. It specifies IP address available in Plesk server IP pool that is to be shared by resellers created with a reseller plan. Data type: ip_address (
- The allocate-ip node is optional. It specifies the maximum number of exclusive IP addresses from the server IP pool that can be used by a reseller. Data type: integer.
The following request packet creates a reseller plan and sets IP pool settings for it:
<packet version="126.96.36.199"> <reseller-plan> <add> <name>base_plan</name> <ip-pool> <ip-address>192.0.2.121</ip-address> <ip-address>192.0.2.122</ip-address> <allocate-ip>2</allocate-ip> </ip-pool> </add> </reseller-plan> </packet>