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": {
"oP": [
{
"o": {
"vvseGpQO": "culpa laborum",
"tOvszfgYav": "nostrud dolor occaecat enim aute",
"bfmmjX": "ut ex fugiat tempor",
"dijvCDggmH": "nostrud sint proident",
"rHEGxhAe": "tempor id anim quis"
}
}
]
},
"faml": {
"_attr": {
"type": "list",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ios",
"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"
}
}