Add IPv4 Network Template - BlueCat Address Manager - 9.0.0

Address Manager API Guide

English (United States)
Product name
BlueCat Address Manager

Add an IPv4 network template to the specified configuration.

Output / Response

Returns the object ID of the new IPv4 network template.

API call:

long addIP4NetworkTemplate ( long configurationId, String name, String properties )
Parameter Description
configurationId The object ID of the configuration in which the IPv4 template is located.
name The name of the IPv4 network template. This value cannot be empty or null.
properties A string defining the IPv4 network template properties. For example, gateway=[gateway_offset]|reservedAddresses={type,offset,size,dirction,name}. Refer to the Properties lists table.

Properties lists

Property Value
gateway_offset This is to specify which address to assign an IPv4 gateway. When there is a negative sign in front of the gateway offset, then the gateway is at the end of the range. For example, if the value of gateway offset is -n, the nth IP address from the end of range will be the gateway.
offset This is to specify from which address to start to assign IPv4 addresses.
size The size of the network.
direction Can be either FROM_START or FROM_END.
name The name of the network.