Summary
Apply Templates to Devices
Description
Apply one or more templates to one or more devices with zero or more variables
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": "laboris ipsum cillum ad ex",
"template": "ad occaecat veniam reprehenderit",
"variables": {
"nedCSGgcfOU": 74824336.73972175
}
},
{
"device": "aliqua ea",
"template": "officia Duis",
"variables": {
"DQUFxnlvGlw": "consectetur cillum proident voluptate"
}
},
{
"device": "aliqua Excepteur labore",
"template": "Duis commodo aliquip amet in",
"variables": {
"Oo": 39410304.67318076
}
},
{
"device": "qui laboris non nostrud in",
"template": "nisi id commodo fugiat",
"variables": {
"RMyk": true
}
},
{
"device": "consectetur eiusmod Ut eu do",
"template": "incididunt proident",
"variables": {
"urc": 39976779.933279425
}
}
]
}
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": false
}
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"
]
}