Add IPv6 DHCP Range By Size - BlueCat Address Manager - 8.3.1

Address Manager API Guide

prodname
BlueCat Address Manager
version_custom
8.3.1

Adds IPv6 DHCP ranges by size.

Output / Response

Returns the object ID for the new DHCPv6 range.

API call:

long addDHCP6RangeBySize ( long networkId, String start, String size, String properties )
Parameter Description
networkId The object ID for the network in which this DHCP range is located.
start An integer value or IPv6 address 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 IPv6 address value indicates the starting address of the range.
Note:
  • If defineRangeBy is set with the AUTOCREATE_BY_SIZE value in the property field, the start field must contain an empty string ("").
  • If defineRangeBy is set with the OFFSET_AND_SIZE value in the property field, the start field must contain a non-negative integer value.
  • If defineRangeBy is set with the START_ADDRESS_AND_SIZE value in the property field, the start field must contain a valid IPv6 address that will be used as the starting address of the DHCP 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.
properties Optional object properties that can contain the object name, the value of defineRangeBy, and user-defined fields. The possible values for defineRangeBy are AUTOCREATE_BY_SIZE, OFFSET_AND_SIZE, and START_ADDRESS_AND_SIZE.
Note: If you do not specify the defineRangeBy value, the DHCP range will be created using AUTOCREATE_BY_SIZE by default.