Get Next IPv4 Address - BlueCat Address Manager - 8.3.2

Address Manager API Guide

prodname
BlueCat Address Manager
version_custom
8.3.2

Returns the next available IP addresses in octet notation under specified circumstances.

Output / Response

Returns the IPv4 address in octet notation.

API call:

String getNextIP4Address ( long parentId, String properties)
Parameter Description
parentId The network or configuration Id.
properties The property string contains three properties; skip, offset and excludeDHCPRange. The values for skip and offset must be IPv4 addresses and must appear in dotted octet notation.
  • skip - This is optional. It is used to specify the IP address ranges or IP addresses to skip, separated by comma. A hyphen(-), not a dash is used to separate the start and end addresses.
    Note: Do not use the skip property if the parentId is a configuration Id. If you do, an error message appears, ‘Skip is not allowed for configuration level’.
  • offset - This is optional. This is to specify from which address to start to assign IPv4 Address.
  • excludeDHCPRange - This specifies whether IP addresses in DHCP ranges should be excluded from assignment. The value is either true or false, default value is false.
    skip=10.10.10.128-10.10.11.200,10.10.11.210|offset=10.10.10.100|excludeDHCPRange=true|