Summary
Dry Run multiple objects of Smart Templates
Description
Dry Run multiple objects of Smart Templates
Route
POST /smart_template/st/multiDryrunWF
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
instance_data |
array |
yes |
Array of Smart Template Instances |
Copied to Clipboard
{
"instance_data": [
{
"regexErrors": {
"variables": {
"NpFQ": [
{
"uTeSLwu": {
"wrTFsUGRHTT": "voluptate consectetur cupidatat dolor in",
"TcpC": "reprehenderit eiusmod",
"Iop": "tempor sunt Ut",
"qwLuOZuQpoN": "cupidatat enim aliqua",
"MCkwoMfEZcW": "Lorem irure"
}
}
]
},
"faml": {
"_attr": {
"type": "keyword",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ncs",
"condition": "must",
"severity": "notices"
}
},
"action": "create"
},
"regularErrors": {
"variables": {
"qff": [
{
"dllIGJtt": {
"GZ": "ut Duis",
"wtfhMntdpcA": "Excepteur anim ullamco ad elit",
"GDYO": "non et",
"lHR": "dolore",
"TlscO": "nulla ea"
}
}
]
},
"faml": {
"_attr": {
"type": "leaf",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ios",
"condition": "cant",
"severity": "error"
},
"_value": "B"
},
"action": "create"
},
"deletionErrors": {
"xpaths": [
"/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:interface/ios:Loopback[ios:name='0']"
],
"action": "delete"
}
},
{
"regexErrors": {
"variables": {
"yswFH": [
{
"ct": {
"UONwv": "minim sunt et in",
"UOh": "ut voluptate sint",
"NmDCytZmo": "cillum quis",
"YvzYSQIWV": "velit amet occaecat",
"iKMG": "enim sunt voluptate aliqua"
}
}
]
},
"faml": {
"_attr": {
"type": "list",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ncs",
"condition": "must",
"severity": "warning"
},
"_value": "O"
},
"action": "create"
},
"regularErrors": {
"variables": {
"aosmCrY": [
{
"duJey": {
"mZlBPDTW": "officia dolore culpa",
"AugBoqGch": "mollit nisi non ipsum",
"fBA": "cupidatat",
"WZVfyu": "id laborum",
"x": "ea"
}
}
]
},
"faml": {
"_attr": {
"type": "leaf",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ncs",
"condition": "must",
"severity": "error"
}
},
"action": "create"
},
"deletionErrors": {
"xpaths": [
"/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:hostname"
],
"action": "delete"
}
}
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"instance_data": {
"items": {
"properties": {
"regexErrors": {
"$ref": "smartTemplateInstance"
},
"regularErrors": {
"$ref": "smartTemplateInstance"
},
"deletionErrors": {
"$ref": "deletionInstance"
}
},
"required": [
"regexErrors",
"regularErrors",
"deletionErrors"
]
}
}
},
"required": [
"instance_data"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
config |
object |
Native Config object |
Copied to Clipboard
[
{
"device": "device2",
"config": "deserunt consectetur et"
},
{
"device": "device2",
"config": "in"
},
{
"device": "device2",
"config": "amet ex"
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "deviceDryRun"
},
"maxItems": 3
}