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": {
"cyhesTLYS": [
{
"qtcq": {
"jkGBqR": "exercitation",
"hYRsCB": "aute",
"rXUs": "sed minim Duis pariatur",
"UwDHLerlW": "esse quis ullamco",
"vPmIFNZ": "ex Excepteur veniam tempor"
}
}
]
},
"faml": {
"_attr": {
"type": "list",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ncs",
"condition": "cant",
"severity": "notices"
},
"_keys": [
"BnbmCbjzpg",
"FIeLaGlhvWl"
],
"_children": [
{
"T": {
"_attr": {
"type": "list",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ios",
"condition": "must",
"severity": "notices"
},
"_value": "F"
}
},
{
"V": {
"_attr": {
"type": "leaf",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ios",
"condition": "cant",
"severity": "warning"
},
"_value": "j"
}
},
{
"k": {
"_attr": {
"type": "leaf",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ncs",
"condition": "must",
"severity": "error"
},
"_value": "L"
}
},
{
"R": {
"_attr": {
"type": "keyword",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ncs",
"condition": "must",
"severity": "error"
}
}
}
]
},
"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": "list",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ncs",
"condition": "cant",
"severity": "error"
},
"_value": "a"
}