Summary
applyTemplates Task
Description
Applies an array of template/device pairings. Allows a user to include a key/value map of variables. Also supports NSO transaction options.
Route
POST /nso_manager/applyTemplates
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
adapterId |
string |
yes |
Adapter's sdafsdfname. |
templates |
array |
yes |
list of template request objects |
options |
object |
yes |
NSO NETCONF transaction options |
Copied to Clipboard
{
"adapterId": "sample adapterId",
"templates": [
{
"device": "ad eiusmod",
"template": "occaecat in",
"variables": {
"t": "occaecat aute cupidatat veniam"
}
},
{
"device": "aliqua irure nostrud ut",
"template": "proident Ut ullamco",
"variables": {
"bXh": false
}
},
{
"device": "commodo enim dolor",
"template": "irure in eiusmod incididunt non",
"variables": {
"snPThIWOkm": 86088682.32124874
}
},
{
"device": "nulla aliquip in velit",
"template": "sed pariatur occaecat ex consequat",
"variables": {
"CiFePUcsfJ": true
}
}
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"adapterId": {
"$ref": "inputAdapterId"
},
"templates": {
"$ref": "applyTemplatesInput"
},
"options": {
"$ref": "netConfOptions"
}
},
"required": [
"adapterId",
"templates",
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
response |
object |
status of the execution |
Copied to Clipboard
{
"result": "ok",
"success": true
}
Copied to Clipboard
{
"properties": {
"result": {
"title": "Result",
"type": "string",
"examples": [
"ok"
]
},
"success": {
"title": "Success",
"type": "boolean"
}
}
}