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": {
"jpOrc": [
{
"eKJ": {
"zbdaBcWh": "ad ex",
"CYYUiOAKw": "ipsum culpa nisi aliquip veniam",
"TrXgVNtE": "occaecat eiusmod",
"cAoFVguG": "ut ullamco dolor quis Ut",
"ZnHTSrZ": "sit do amet enim"
}
}
]
},
"faml": {
"_attr": {
"type": "keyword",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ios",
"condition": "cant",
"severity": "warning"
},
"_keys": [
"aEwqVYhu",
"HtNPN",
"se",
"m",
"wLBQbL"
],
"_children": [
{
"O": {
"_attr": {
"type": "list",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ios",
"condition": "must",
"severity": "warning"
}
}
}
]
},
"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/config/1.0",
"prefix": "ncs",
"condition": "cant",
"severity": "warning"
},
"_keys": [
"cYvfBkbn",
"XGGhwsfMyca",
"SgTMQvp",
"dRkdN"
],
"_children": [
{
"b": {
"_attr": {
"type": "list",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ios",
"condition": "must",
"severity": "warning"
},
"_value": "v"
}
},
{
"Y": {
"_attr": {
"type": "leaf",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ios",
"condition": "cant",
"severity": "warning"
}
}
},
{
"t": {
"_attr": {
"type": "list",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ios",
"condition": "must",
"severity": "notices"
},
"_value": "H"
}
},
{
"U": {
"_attr": {
"type": "list",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ios",
"condition": "must",
"severity": "warning"
},
"_value": "h"
}
},
{
"Q": {
"_attr": {
"type": "list",
"ns": "http://tail-f.com/ns/ncs",
"prefix": "ncs",
"condition": "must",
"severity": "warning"
},
"_value": "M"
}
}
]
}