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": {
"yTlP": [
{
"hMGLQKXKcec": {
"MSJDVfhMD": "aliqua velit ea dolore",
"q": "nulla aliqua et",
"fv": "exercitation eiusmod",
"mBOuWxi": "anim cillum",
"dpfM": "Ut"
}
}
]
},
"faml": {
"_attr": {
"type": "list",
"ns": "http://tail-f.com/ns/config/1.0",
"prefix": "ncs",
"condition": "must",
"severity": "warning"
},
"_value": "j"
},
"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": "ios",
"condition": "must",
"severity": "warning"
}
}