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": { "FHJlOa": [ { "BuYdZ": { "lR": "deserunt laborum", "uDSpBpry": "cillum in", "NoW": "nostrud Duis incididunt officia eu", "ffoLlYqSwjK": "mollit", "ydJtR": "non esse laborum" } } ] }, "faml": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "cant", "severity": "warning" } }, "action": "create" }, "regularErrors": { "variables": { "YaVl": [ { "YSwiwLnDd": { "FZEy": "Ut laboris", "RYIdFDEPd": "exercitation", "w": "magna velit in Lorem sed", "GJMJjYZ": "labore id mollit exercitation", "MoiNn": "eiusmod fugiat sed" } } ] }, "faml": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/ncs", "prefix": "ios", "condition": "must", "severity": "error" } }, "action": "create" }, "deletionErrors": { "xpaths": [ "/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:hostname" ], "action": "delete" } }, { "regexErrors": { "variables": { "qTL": [ { "eCukxHHNug": { "nhcTDiNnLwP": "ipsum nostrud dolore mollit qui", "FqvBvRaOSr": "eu et anim", "VD": "sit", "kLkYA": "in esse Lorem aute", "EEiXIM": "nisi elit incididunt magna" } } ] }, "faml": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/ncs", "prefix": "ios", "condition": "must", "severity": "notices" }, "_keys": [ "GKl", "ONnFzscW", "ewGD" ], "_children": [ { "L": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/ncs", "prefix": "ios", "condition": "cant", "severity": "error" } } }, { "B": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "cant", "severity": "warning" }, "_value": "L" } }, { "f": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "must", "severity": "warning" }, "_value": "o" } }, { "m": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "must", "severity": "error" }, "_value": "F" } }, { "I": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/ncs", "prefix": "ios", "condition": "must", "severity": "warning" }, "_value": "N" } } ] }, "action": "create" }, "regularErrors": { "variables": { "qo": [ { "TzaoYde": { "wLdbviMNVS": "Excepteur consectetur mollit minim", "jlKNiO": "sit labore", "KMJxzXQmXIP": "officia sunt culpa", "DlaH": "nulla elit", "B": "aliquip" } } ] }, "faml": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "cant", "severity": "notices" }, "_value": "j" }, "action": "create" }, "deletionErrors": { "xpaths": [ "/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:interface/ios:Loopback[ios:name='0']" ], "action": "delete" } }, { "regexErrors": { "variables": { "mheJAMJ": [ { "SqypaYxYZPg": { "JfILyxedHz": "do proident commodo", "NtnGPLKz": "pariatur eu occaecat magna amet", "JdwQdxgAi": "ad dolor", "EGtsa": "incididunt", "aYnelNMQNFv": "veniam aliquip pariatur et" } } ] }, "faml": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "cant", "severity": "warning" }, "_value": "h" }, "action": "create" }, "regularErrors": { "variables": { "EiOnNNszF": [ { "WI": { "tSIEB": "nostrud adipisicing eiusmod officia", "VPV": "anim mollit", "vlEnytYisu": "Duis labore sed dolor amet", "JErJFPl": "labore sint aute amet", "rVS": "eiusmod incididunt eu ex" } } ] }, "faml": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "cant", "severity": "warning" }, "_keys": [ "OSKsm", "hIkDd", "gxaxviFy" ], "_children": [ { "M": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "cant", "severity": "warning" }, "_value": "I" } } ] }, "action": "create" }, "deletionErrors": { "xpaths": [ "/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:interface/ios:Loopback[ios:name='0']" ], "action": "delete" } }, { "regexErrors": { "variables": { "VozR": [ { "IQExR": { "gbzTzEQvl": "aliquip dolore ad mollit cillum", "XtQEOzDdZHw": "eu dolore", "jYHQWZhI": "officia do dolore", "HtFahWmWbOk": "dolore deserunt", "j": "quis anim" } } ] }, "faml": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ios", "condition": "must", "severity": "notices" }, "_value": "I" }, "action": "create" }, "regularErrors": { "variables": { "gfngmnRW": [ { "NbAGzPNqi": { "NXmNNMzzgCz": "adipisicing", "NUlXjAPx": "elit minim in", "ldKH": "deserunt esse nisi", "gITLl": "ex consectetur deserunt sunt", "GPDuIENhzSu": "ipsum aute" } } ] }, "faml": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "must", "severity": "warning" }, "_keys": [ "j", "ahtfwRv", "mlQui", "qG" ], "_children": [ { "m": { "_attr": { "type": "list", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "must", "severity": "notices" }, "_value": "w" } } ] }, "action": "create" }, "deletionErrors": { "xpaths": [ "/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:hostname" ], "action": "delete" } }, { "regexErrors": { "variables": { "zyKh": [ { "wrcrVEpF": { "sxW": "aliquip", "oPCfdRPFuv": "eiusmod adipisicing minim eu", "ME": "in", "zCeiOTPq": "ad esse", "sNXZ": "laboris magna nisi ullamco" } } ] }, "faml": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "must", "severity": "warning" }, "_value": "A" }, "action": "create" }, "regularErrors": { "variables": { "T": [ { "NJyJGo": { "lOAmVNDYk": "mollit in", "ioFKR": "dolor ipsum id exercitation nisi", "sochYy": "voluptate", "PLXcCaH": "incididunt anim ex ut", "lJ": "dolor qui Ut" } } ] }, "faml": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "cant", "severity": "warning" }, "_keys": [ "NoxDAc", "B" ], "_children": [ { "G": { "_attr": { "type": "keyword", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "must", "severity": "notices" }, "_value": "q" } }, { "J": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/ncs", "prefix": "ncs", "condition": "cant", "severity": "error" } } }, { "v": { "_attr": { "type": "leaf", "ns": "http://tail-f.com/ns/config/1.0", "prefix": "ncs", "condition": "cant", "severity": "warning" } } } ] }, "action": "create" }, "deletionErrors": { "xpaths": [ "/ncs:devices/ncs:device[ncs:name='deviceName']/ncs:config/ios:hostname" ], "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" }, { "device": "device3", "config": "id in ullamco labore anim" }, { "device": "device1", "config": "sint eiusmod" } ]
{ "type": "array", "items": { "$ref": "deviceDryRun" }, "maxItems": 3 }