Summary
Dry Run multiple objects of Smart Templates
Description
Dry Run multiple objects of Smart Templates
Route
POST /smart_template/st/multiDryrunWF
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
instance_data | array | yes | Array of Smart Template Instances |
{ "instance_data": [ { "regexErrors": { "variables": { "vrQSX": [ { "LP": { "FiObWFnK": "fugiat consequat", "LVmL": "id sed nulla", "ayErWx": "fugiat ipsum est consequat pariatur", "CzInkhTfnRl": "in Ut", "FtSJWfC": "dolor ut Lorem" } } ] }, "faml": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "must", "severity": "warning" } }, "action": "create" }, "regularErrors": { "variables": { "QMtPfu": [ { "kGrN": { "mGYqmpRRD": "nostrud", "HzYnPecAWn": "commodo nostrud Duis", "Akot": "anim elit voluptate nulla eiusmod", "dSyDjjw": "eiusmod", "qNNGtE": "dolor amet" } } ] }, "faml": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "must", "severity": "error" }, "_keys": [ "jfgSmbhvMMg" ], "_children": [ { "c": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/ncs", "prefix": "ios", "condition": "must", "severity": "warning" }, "_value": "I" } }, { "l": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "must", "severity": "warning" }, "_value": "p" } }, { "S": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/ncs", "prefix": "ios", "condition": "must", "severity": "notices" }, "_value": "N" } }, { "V": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "must", "severity": "warning" } } } ] }, "action": "create" }, "deletionErrors": { "xpaths": [ "/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:hostname" ], "action": "delete" } }, { "regexErrors": { "variables": { "KMGYwkAf": [ { "EaFM": { "tJejJbrk": "deserunt", "H": "laborum ut ex consequat mollit", "XRqiUPmGda": "incididunt eiusmod aute", "gVus": "dolore adipisicing", "sWuClW": "anim in" } } ] }, "faml": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "must", "severity": "warning" } }, "action": "create" }, "regularErrors": { "variables": { "gRnNVzfT": [ { "krCT": { "iIIIzKklOCX": "reprehenderit in do mollit aliqua", "PiIyxnSmmgR": "incididunt ut do magna commodo", "YXP": "culpa quis", "diDkIs": "exercitation dolor minim cillum", "lyVzpEx": "Excepteur" } } ] }, "faml": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/ncs", "prefix": "ios", "condition": "cant", "severity": "notices" }, "_value": "c" }, "action": "create" }, "deletionErrors": { "xpaths": [ "/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:interface/ios:Loopback[ios:name='0']" ], "action": "delete" } }, { "regexErrors": { "variables": { "QMgTmqI": [ { "oEnDoDrH": { "jPC": "ullamco est fugiat aliquip", "jThY": "magna pariatur ea", "bae": "est sint Duis in et", "gbhfbCwrRL": "deserunt dolore ea dolore", "ZaibtIMoiei": "ipsum officia sit" } } ] }, "faml": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "must", "severity": "notices" }, "_value": "t" }, "action": "create" }, "regularErrors": { "variables": { "T": [ { "WAQp": { "Q": "amet ut culpa nostrud", "DixouVFBaOR": "consequat ullamco", "T": "ullamco sunt dolore dolor veniam", "gTlrKc": "ipsum tempor labore Duis", "KQzxfeL": "magna" } } ] }, "faml": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/ncs", "prefix": "ios", "condition": "must", "severity": "warning" }, "_keys": [ "bTLyrBK", "ehpmD" ], "_children": [ { "n": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "cant", "severity": "notices" } } }, { "z": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "must", "severity": "warning" }, "_value": "y" } } ] }, "action": "create" }, "deletionErrors": { "xpaths": [ "/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:hostname" ], "action": "delete" } }, { "regexErrors": { "variables": { "lMHNQ": [ { "WtMXA": { "nANK": "ex mollit culpa minim sint", "cL": "quis veniam et", "EDLdfdAkxT": "fugiat in minim aliqua", "SVsCCEfmSx": "laboris", "S": "aliqua consectetur anim sed" } } ] }, "faml": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "cant", "severity": "notices" }, "_keys": [ "onp", "YIHUqlgK", "PMjaYYQp", "P", "NRCtardde" ], "_children": [ { "X": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "cant", "severity": "error" }, "_value": "E" } }, { "z": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/ncs", "prefix": "ios", "condition": "must", "severity": "error" }, "_value": "z" } }, { "g": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/ncs", "prefix": "ios", "condition": "cant", "severity": "warning" } } }, { "O": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "must", "severity": "warning" }, "_value": "q" } } ] }, "action": "create" }, "regularErrors": { "variables": { "cbnwIWNvw": [ { "Gt": { "vnl": "dolore nostrud Excepteur", "rHyiesg": "cillum", "mpqdW": "aute nulla deserunt nostrud", "YYwyVHUR": "ipsum", "Gf": "occaecat ut esse dolor" } } ] }, "faml": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "cant", "severity": "notices" }, "_keys": [ "VdrxjYAlDq", "hHtakZofO", "xgyVtDGmah" ], "_children": [ { "Y": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "cant", "severity": "error" } } }, { "e": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "must", "severity": "error" }, "_value": "N" } }, { "R": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "cant", "severity": "notices" }, "_value": "S" } }, { "a": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "must", "severity": "warning" }, "_value": "P" } } ] }, "action": "create" }, "deletionErrors": { "xpaths": [ "/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:hostname" ], "action": "delete" } }, { "regexErrors": { "variables": { "hyimlb": [ { "BhVhHn": { "sgJuhcEF": "irure dolore et", "w": "fugiat qui incididunt ut", "gwWDjmn": "et", "TfaoR": "sit laboris ut veniam deserunt", "bYP": "dolor eu" } } ] }, "faml": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "must", "severity": "warning" }, "_keys": [ "q" ], "_children": [ { "Z": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "must", "severity": "notices" }, "_value": "A" } }, { "R": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "must", "severity": "notices" }, "_value": "I" } }, { "E": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "cant", "severity": "error" } } } ] }, "action": "create" }, "regularErrors": { "variables": { "tTf": [ { "tXcLGEgmNvt": { "VqCY": "consectetur non reprehenderit", "BGlhVmwLVcs": "ex tempor elit", "BGQOBYjyJ": "quis dolore Duis reprehenderit", "zdn": "consectetur ullamco", "BpvUke": "sed" } } ] }, "faml": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "must", "severity": "notices" }, "_value": "E" }, "action": "create" }, "deletionErrors": { "xpaths": [ "/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:interface/ios:Loopback[ios:name='0']" ], "action": "delete" } } ] }
{ "type": "object", "properties": { "instance_data": { "items": { "properties": { "regexErrors": { "$ref": "smartTemplateInstance" }, "regularErrors": { "$ref": "smartTemplateInstance" }, "deletionErrors": { "$ref": "deletionInstance" } }, "required": [ "regexErrors", "regularErrors", "deletionErrors" ] } } }, "required": [ "instance_data" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
config | object | Native Config object |
[ { "device": "device1", "config": "dolore labore" }, { "device": "device3", "config": "do" }, { "device": "device3", "config": "non ut eu aliquip" } ]
{ "type": "array", "items": { "$ref": "deviceDryRun" }, "maxItems": 3 }