Create an IPv4 network template with deployment options.
Request
POST http://<Gateway_url>/Apply-Template/configuration/{configName}/template/{templateName} Content-type: application/JSON { "options": [ { "id": 3610851, "type": "DHCPClient", "name": "wpad-url", "value": "test", "properties": "serverGroup=3610701|inherited=false|" }, { "id": 3610850, "type": "DHCPClient", "name": "ip-telephone", "value": "telephone", "properties": "inherited=false|" }, ... ] }
Parameters
Parameter | Description |
---|---|
configName | The object ID of the configuration. |
templateName | The name of the new IPv4 network template. |
options (Optional) |
A list of deployment options to add to the IPv4 network
template. Note: If you are adding a new vendor option, you must
include the DHCP Vendor Profile definition ID
(vendorDefId) parameter to the DHCP option
that you are adding.
|
Successful
response
{ status: "SUCCESS", payload: { template_options: 2, option_success: [ { option: { id: 3610851, type: "DHCPClient", name: "wpad-url", ... }, option: { id: 3610850, type: "DHCPClient", name: "ip-telephone", ... } ... } ], option_fail: [] } }