Change IPv4 Address State - BlueCat Address Manager - 9.0.0

Address Manager API Guide

BlueCat Address Manager

Converts the state of an address from and between Reserved, DHCP Reserved, and Static, or DHCP Allocated to DHCP Reserved.

Output / Response

Converts an IP address from its current state to a target state; statically assigned, DHCP reserved, or logically reserved (non-DHCP). For example, this method can convert an IP address from a logical reservation to a static assignment or vise versa.

API call:

void changeStateIP4Address ( long addressId, String targetState, String macAddress )
Parameter Description
addressId The database ID of the address object.
targetState One of MAKE_STATIC, MAKE_RESERVED, MAKE_DHCP_RESERVED. All of these constants are defined in the Java Class IPAssignmentActionValues or in the file for Perl.
macAddress Optional and only needed, if the target requires it. (e.g. MAKE_DHCP_RESERVED)