Summary
Dry Run a Smart Template
Description
Dry Run a Smart Template
Route
POST /smart_template/st/dryrun
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
instance_data |
object |
yes |
Smart Template Instance |
Copied to Clipboard
{
"instance_data": {
"variables": {
"jVR": [
{
"a": {
"AhSbudIXxlY": "laboris",
"oMgD": "sed sit",
"vQYgdtMw": "irure occaecat ullamco",
"yifOmdnPgFW": "magna aute",
"YgVverVBVwv": "adipisicing deserunt aliqua est"
}
}
]
},
"faml": {
"_attr": {
"type": "keyword",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ncs",
"condition": "must",
"severity": "warning"
},
"_keys": [
"BLyODYy",
"VUBhPHoyt",
"asOTlM",
"hNegnKKpMC",
"JiEol"
],
"_children": [
{
"T": {
"_attr": {
"type": "keyword",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ncs",
"condition": "must",
"severity": "notices"
}
}
},
{
"F": {
"_attr": {
"type": "leaf",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ios",
"condition": "cant",
"severity": "warning"
},
"_value": "N"
}
},
{
"I": {
"_attr": {
"type": "leaf",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ncs",
"condition": "must",
"severity": "error"
},
"_value": "O"
}
}
]
},
"action": "create"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"instance_data": {
"$ref": "smartTemplateInstance"
}
},
"required": [
"instance_data"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
config |
object |
Native Config object |
Copied to Clipboard
[
{
"device": "device2",
"config": "Excepteur minim occaecat pariatur aute"
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "deviceDryRun"
},
"maxItems": 1
}