Add DHCP Vendor Deployment Option - BlueCat Address Manager - 9.0.0

Address Manager API Guide

English (United States)
Product name
BlueCat Address Manager

Adds a DHCP vendor deployment to specified objects.

Output / Response

Returns the object ID of the new DHCP vendor deployment option.

API call:

long addDHCPVendorDeploymentOption ( long parentId, long optionId, String value, String properties )
Parameter Description
parentId The object ID of the parent object for the DHCP vendor deployment option. The parent object must not be a DNS object. Valid parent types are Configuration, IP4Block, IP4Network, IP4NetworkTemplate, IP4Addr, IP4DHCPRange, Server, MACAddr, and MACPool.
optionId The object ID of the vendor option definition. All DHCP vendor client deployment options have a fixed option code of 60 and a unique option sub-code. The unique sub-code is set with the optionId value in the addVendorOptionDefinition() method.
value The value for the option. This value cannot be empty. The value should be appropriate for its option type. For example, if the option type is IP4 and allowMultiple is set as true in the vendor option definition, then the value of the DHCP vendor client deployment option should be multiple IPv4 addresses in a comma-separated list.
properties Adds object properties, including user-defined fields. This value can be empty. If the DHCP vendor client deployment option is intended for use with a specific server, the object ID of the server must be specified in the properties string.