Add deployment options to an existing IPv4 network template.
Request
POST http://<Gateway_url>/Apply-Template/configuration/{configName}/template/{templateName}/deployment-options
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 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: []
}
}