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 dolore dolor voluptate",
"template": "minim dolore",
"variables": {
"Th": false
}
},
{
"device": "tempor velit Lorem exercitation",
"template": "reprehenderit amet laborum aliquip",
"variables": {
"TQpYKi": false
}
},
{
"device": "nisi",
"template": "eu",
"variables": {
"oATJ": -43596248.2485392
}
}
]
}
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"
}
}
}