Split IPv4 Network - BlueCat Address Manager - 9.0.0

Address Manager API Guide

English (United States)
Product name
BlueCat Address Manager

Splits an IPv4 network into the specified number of networks.

Output / Response

Returns an array of networks created after splitting the network.

API call:

APIEntity[] splitIP4Network ( long networkId, int numberOfParts, String options )
Parameter Description
networkId The database object ID of the network that is being split.
numberOfParts The number of the networks into which the network will be split. Valid values are 2 to the power of 2 up to 1024.
options A string containing the following options:
  • assignDefaultGateway—a Boolean value. If set to true, a gateway will be created by using the default gateway value which is the first IP address in the network. If set to false, no gateway will be created. The default value is true.
  • overwriteConflicts—a Boolean value. If set to true, any conflicts within the split IPv4 network will be removed. The default value is false.
  • preserveGateway—a Boolean value. If set to true, the gateway in the original network will be preserved. The default value is true.
    • Note: For the above options only true and false are accepted. These values are case sensitive. Other values such as, TRUE, FALSE, True, False, tRue, xxxx, 123 etc., will not be accepted.
  • template—a network template ID. The default value is 0 which means no network template will be used. Specify a network template ID if you wish to apply one.