Summary
Apply Templates to Devices
Description
Apply multiple templates to multiple devices
Route
No Northbound API Available
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
templates |
array |
yes |
List of template request objects |
options |
object |
yes |
NSO NETCONF transaction options |
Copied to Clipboard
{
"templates": [
{
"device": "aliquip anim sint do",
"template": "in nisi",
"variables": {
"QXnWHHlT": false
}
},
{
"device": "sunt veniam ad ut",
"template": "commodo dolor",
"variables": {
"ZJpe": false
}
},
{
"device": "occaecat laboris culpa",
"template": "mollit laboris Ut deserunt",
"variables": {
"rhBSagkl": -49200597.99044849
}
},
{
"device": "veniam ad nostrud tempor aute",
"template": "deserunt in magna veniam ad",
"variables": {
"tircxKGS": "quis cupidatat"
}
},
{
"device": "irure laborum sint consectetur",
"template": "est velit tempor enim magna",
"variables": {
"LmHb": true
}
}
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"templates": {
"title": "templates",
"type": "array",
"$ref": "applyTemplatesInput"
},
"options": {
"title": "options",
"type": "object",
"$ref": "netConfOptions"
}
},
"required": [
"templates",
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
Return result of applying device templates |
Copied to Clipboard
{
"result": "ok",
"success": true
}
Copied to Clipboard
{
"properties": {
"result": {
"title": "Result",
"type": "string",
"examples": [
"ok"
]
},
"success": {
"title": "Success",
"type": "boolean"
},
"dryrun": {
"type": "object",
"title": "DryRun",
"schema": {
"title": "Device Dry Runs",
"type": "object",
"$ref": "applyTemplatesInput#/definitions/keyValueMap"
}
}
},
"required": [
"result",
"success"
]
}