Summary
Translate Smart Template to Pronghorn Config
Description
Translate Smart Template to Pronghorn Config
Route
POST /smart_template/st/to/phcfg
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
instance_data |
object |
yes |
Smart Template Instance |
Copied to Clipboard
{
"instance_data": {
"variables": {
"jr": [
{
"UXh": {
"PuGnYML": "deserunt voluptate ut",
"vFlzOhZLIWt": "ut",
"BQj": "elit occaecat reprehenderit labore",
"BmeEeuP": "aliquip ut aute tempor",
"diSCThX": "labore cupidatat minim"
}
}
]
},
"faml": {
"_attr": {
"type": "list",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ncs",
"condition": "must",
"severity": "warning"
},
"_keys": [
"MQxf"
],
"_children": [
{
"w": {
"_attr": {
"type": "keyword",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ncs",
"condition": "cant",
"severity": "warning"
}
}
},
{
"S": {
"_attr": {
"type": "leaf",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ncs",
"condition": "cant",
"severity": "error"
},
"_value": "z"
}
}
]
},
"action": "create"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"instance_data": {
"$ref": "smartTemplateInstance"
}
},
"required": [
"instance_data"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
phcfg |
object |
Pronghorn Config object |
Copied to Clipboard
{
"_attr": {
"type": "leaf",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ios",
"condition": "cant",
"severity": "warning"
},
"_value": "C"
}