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": "aliquip Lorem adipisicing dolor",
"template": "adipisicing amet sunt tempor",
"variables": {
"sfrO": true
}
},
{
"device": "cillum",
"template": "velit ut Duis",
"variables": {
"hStQ": -83887984.81703681
}
},
{
"device": "elit nisi labore ut",
"template": "adipisicing officia",
"variables": {
"TuvfVl": 25403065.08110252
}
},
{
"device": "fugiat incididunt exercitation",
"template": "eiusmod incididunt adipisicing ad",
"variables": {
"yLueLaP": true
}
},
{
"device": "cillum incididunt Lorem Duis",
"template": "cupidatat dolore",
"variables": {
"gVAS": 33292586.278647378
}
}
]
}
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"
]
}