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 |
ID of the adapter against which the action is executed. |
templates |
array |
yes |
list of template request objects |
options |
object |
yes |
NSO NETCONF transaction options |
Copied to Clipboard
{
"adapterId": "sample adapterId",
"templates": [
{
"device": "laborum laboris pariatur",
"template": "in elit Duis",
"variables": {
"HWDFWzg": "sint et"
}
},
{
"device": "reprehenderit ut enim",
"template": "veniam enim culpa cillum ex",
"variables": {
"EZnSXYJIZR": -53740445.921964765
}
},
{
"device": "id Duis eiusmod non nisi",
"template": "anim eu",
"variables": {
"SKVpEBLhz": "id sunt"
}
},
{
"device": "adipisicing officia sint",
"template": "sint occaecat veniam",
"variables": {
"q": "dolore"
}
},
{
"device": "exercitation",
"template": "voluptate cillum laboris consectetur in",
"variables": {
"txPUpzJASW": 95869891.13795048
}
}
]
}
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"
}
}
}