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": {
"RAFydY": [
{
"KgUKIIzwtL": {
"cgUtQYH": "id deserunt",
"e": "adipisicing amet",
"ORzcQTjaOM": "fugiat",
"cqsvEOAaFu": "Excepteur anim magna",
"dREiGlvhWH": "anim id"
}
}
]
},
"faml": {
"_attr": {
"type": "leaf",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ios",
"condition": "must",
"severity": "warning"
},
"_keys": [
"ZEkMSraAi",
"MAMKIRWVPYL"
],
"_children": [
{
"j": {
"_attr": {
"type": "keyword",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ios",
"condition": "must",
"severity": "notices"
}
}
}
]
},
"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": "ut"
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "deviceDryRun"
},
"maxItems": 1
}