Adds IPv4 DHCP ranges by offset and percentage.
Output / Response
Returns the object ID for the new DHCPv4 range.
API call:
long addDHCP4RangeBySize ( long networkId,
String offset, String size, String
properties )
Parameter | Description |
---|---|
networkId | The object ID for the network in which this DHCP range is located. |
offset | An integer value specifying the point where the range should begin. The positive values indicate that the starting IP address of the range will be counted from the Network ID (first IP address) and forward in the range. The negative values indicate that the starting IP address of the range will be counted from the Network Broadcast Address (last IP address) and backward in the range. |
size | The size of the range. Currently the range size can only be specified in a relative size in proportion to the parent network size. To define the relative range size, defineRangeBy must be set with the OFFSET_AND_PERCENTAGE value in the properties field. |
properties | Optional object properties that can contain the object name, the
value of defineRangeBy, and user-defined fields. The possible
values for defineRangeBy are OFFSET_AND_SIZE and
OFFSET_AND_PERCENTAGE.
Note: OFFSET_AND_SIZE is reserved for future
use.
|