@itentialopensource/cisco-ios-upgrade
Version:
[Deprecated] Itential automation Artifact for cisco ios device upgrade
1,753 lines • 82.1 kB
JSON
{
"name": "Cisco IOS Upgrade",
"tasks": {
"535": {
"name": "runAnalyticsTemplate",
"canvasName": "runAnalyticsTemplate",
"summary": "Run an Analytics Template",
"description": "Run an Analytic Template.",
"location": "Application",
"locationType": null,
"app": "MOP",
"displayName": "MOP",
"type": "automatic",
"variables": {
"incoming": {
"pre": "$var.job.pre",
"post": "$var.fd87.mop_template_results",
"analytic_template_name": "Cisco IOS Upgrade",
"variables": "$var.job.variables"
},
"outgoing": {
"analytic_template_results": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "run<span class='highlight-string'>Anal</span>yticsTemplate"
},
{
"key": "summary",
"highlightString": "Run an <span class='highlight-string'>Anal</span>ytics Template"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>Anal</span>ytic Template."
}
],
"groups": [],
"actor": "Pronghorn",
"x": 0.778039215686275,
"y": -0.0413105413105413,
"scheduled": false
},
"928": {
"name": "runAnalyticsTemplate",
"canvasName": "runAnalyticsTemplate",
"summary": "Run an Analytics Template",
"description": "Run an Analytic Template.",
"location": "Application",
"locationType": null,
"app": "MOP",
"displayName": "MOP",
"type": "automatic",
"variables": {
"incoming": {
"pre": "$var.job.pre",
"post": "$var.9b94.mop_template_results",
"analytic_template_name": "Cisco IOS Upgrade",
"variables": "$var.job.variables"
},
"outgoing": {
"analytic_template_results": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "run<span class='highlight-string'>Anal</span>yticsTemplate"
},
{
"key": "summary",
"highlightString": "Run an <span class='highlight-string'>Anal</span>ytics Template"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>Anal</span>ytic Template."
}
],
"groups": [],
"actor": "Pronghorn",
"x": 2.60392156862745,
"y": 0.00997150997150997,
"scheduled": false
},
"1121": {
"canvasName": "evaluation",
"location": "Application",
"locationType": null,
"name": "evaluation",
"summary": "is verbose",
"description": "",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"all_true_flag": false,
"evaluation_groups": [
{
"all_true_flag": false,
"evaluations": [
{
"query": "",
"operand_1": {
"variable": "mode",
"task": "1cbe"
},
"operator": "==",
"operand_2": {
"variable": "Verbose",
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"groups": [],
"x": -1.764514024788,
"y": -0.123847167325428
},
"1615": {
"name": "push",
"canvasName": "push",
"summary": "Push Item to Array",
"description": "Push item to a job variable array",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"job_variable": "deviceArray",
"item_to_push": "$var.1cbe.deviceString"
},
"outgoing": {
"job_variable_value": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>push</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Push</span> Item to Array"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Push</span> item to a job variable array"
}
],
"groups": [],
"x": -3.067954220314735,
"y": -0.1469387755102041
},
"1774": {
"canvasName": "evaluation",
"location": "Application",
"locationType": null,
"name": "evaluation",
"summary": "Check for different version",
"description": "Eval pre check for true",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"all_true_flag": false,
"evaluation_groups": [
{
"all_true_flag": false,
"evaluations": [
{
"query": "result",
"operand_1": {
"variable": "mop_template_results",
"task": "5233"
},
"operator": "==",
"operand_2": {
"variable": true,
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"groups": [],
"x": -1.38160469667319,
"y": -0.115942028985507
},
"2096": {
"name": "childJob",
"summary": "Ansible",
"description": "Run Ansible device upgrade tasks",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"task": "",
"workflow": "Cisco IOS Upgrade - Ansible upgrade",
"variables": {
"mode": {
"variable": "",
"task": "1cbe",
"value": "mode"
},
"deviceString": {
"variable": "",
"task": "1cbe",
"value": "deviceString"
},
"numberOfRetries": {
"variable": "",
"task": "1cbe",
"editable": false,
"value": "numberOfRetries"
},
"numberOfRetriesStability": {
"variable": "",
"task": "1cbe",
"value": "numberOfRetriesStability"
},
"secondsBetweenRetry": {
"variable": "",
"task": "1cbe",
"value": "secondsBetweenRetry"
},
"parent_id": {
"variable": "",
"task": "job",
"value": "_id"
},
"deviceArray": {
"variable": "",
"task": "job",
"value": "deviceArray"
},
"adapter_id": {
"variable": "",
"task": "job",
"value": "adapter_id"
},
"variables": {
"variable": "",
"task": "job",
"value": "variables"
}
}
},
"outgoing": {
"job_details": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>child</span>Job"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Child</span> Job"
},
{
"key": "description",
"highlightString": "Run a <span class='highlight-string'>child</span> Job inside a Workflow"
}
],
"groups": [],
"actor": "job",
"x": -0.547925608011445,
"y": -0.24709302325581395
},
"3408": {
"canvasName": "evaluation",
"location": "Application",
"locationType": null,
"name": "evaluation",
"summary": "Ansible outcome",
"description": "",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"all_true_flag": false,
"evaluation_groups": [
{
"all_true_flag": false,
"evaluations": [
{
"query": ".outcome",
"operand_1": {
"variable": "job_details",
"task": "2096"
},
"operator": "==",
"operand_2": {
"variable": "success",
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>eval</span>uation"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Eval</span>uation"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>eval</span>uation"
}
],
"groups": [],
"x": -0.343724364232978,
"y": -0.147625160462131
},
"3476": {
"name": "GetBootFlash",
"summary": "Get Boot Flash",
"description": "Get the boot flash image",
"location": "Application",
"app": "MOP",
"displayName": "MOP",
"type": "automatic",
"variables": {
"incoming": {
"device": "$var.1cbe.deviceString"
},
"outgoing": {
"imageName": "$var.job.origImageName"
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "Get<span class='highlight-string'>Boot</span>Flash"
},
{
"key": "summary",
"highlightString": "MOP Get <span class='highlight-string'>Boot</span> Flash"
},
{
"key": "description",
"highlightString": "Get the <span class='highlight-string'>boot</span> flash image"
}
],
"groups": [],
"actor": "Pronghorn",
"x": -0.994257588187039,
"y": -0.10397946084724,
"scheduled": false
},
"3773": {
"canvasName": "evaluation",
"location": "Application",
"locationType": null,
"name": "evaluation",
"summary": "NSO outcome",
"description": "",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"all_true_flag": false,
"evaluation_groups": [
{
"all_true_flag": false,
"evaluations": [
{
"query": ".outcome",
"operand_1": {
"variable": "job_details",
"task": "fde5"
},
"operator": "==",
"operand_2": {
"variable": "success",
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>eval</span>uation"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Eval</span>uation"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>eval</span>uation"
}
],
"groups": [],
"x": -0.332028701891716,
"y": 0.00395256916996047
},
"3805": {
"name": "ViewData",
"canvasName": "ViewData",
"summary": "New Bin file not on device",
"description": "View data in a pretty format",
"location": "Application",
"app": "WorkFlowEngine",
"displayName": "Tools",
"type": "manual",
"variables": {
"incoming": {
"header": "New Bin file not on device",
"message": "New Bin file not on the device.<br>Please either select to go <b>BACK</b> to form (to select different version or retry after file was downloaded), or <b>END</b> to terminate this workflow.",
"body": "",
"btn_success": "BACK",
"btn_failure": "END"
},
"outgoing": {},
"error": ""
},
"view": "/workflow_engine/task/ViewData",
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>ViewData</span>"
}
],
"groups": [],
"x": -1.990063233965673,
"y": 0.51931330472103,
"scheduled": false
},
"4502": {
"name": "ViewData",
"canvasName": "ViewData",
"summary": "Ready to Upgrade",
"description": "View data in a pretty format",
"location": "Application",
"app": "WorkFlowEngine",
"displayName": "Tools",
"type": "manual",
"variables": {
"incoming": {
"header": "Ready to Upgrade",
"message": "The workflow is ready to upgrade the device software.<br>Please make sure to monitor the device via console during the following step.<br>Press <b>ABORT</b> to cancel this process, or <b>UPGRADE</b> to continue with the software upgrading process.",
"body": "",
"btn_success": "UPGRADE",
"btn_failure": "ABORT"
},
"outgoing": {},
"error": ""
},
"view": "/workflow_engine/task/ViewData",
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>ViewData</span>"
}
],
"groups": [],
"x": -1.2133072407045,
"y": 0.324110671936759,
"scheduled": false
},
"5233": {
"name": "RunCommandTemplate",
"summary": "Run Pre Checks",
"description": "Run Pre Checks",
"location": "Application",
"app": "MOP",
"displayName": "MOP",
"type": "automatic",
"variables": {
"incoming": {
"template": "Cisco IOS Upgrade",
"variables": "$var.job.variables",
"devices": "$var.job.deviceArray"
},
"outgoing": {
"mop_template_results": "$var.job.pre"
},
"error": ""
},
"deprecated": false,
"groups": [],
"actor": "Pronghorn",
"x": -1.61709067188519,
"y": -0.127799736495389,
"scheduled": false
},
"5418": {
"name": "RunCommandTemplate",
"summary": "Verify Current State",
"description": "Verify Different Version",
"location": "Application",
"app": "MOP",
"displayName": "MOP",
"type": "automatic",
"variables": {
"incoming": {
"template": "Cisco IOS Upgrade State Checks",
"variables": "$var.job.variables",
"devices": "$var.job.deviceArray"
},
"outgoing": {
"mop_template_results": null
},
"error": ""
},
"deprecated": false,
"groups": [],
"actor": "Pronghorn",
"x": -2.1233660130718954,
"y": -0.12229102167182662,
"scheduled": false
},
"8232": {
"name": "stub",
"canvasName": "stub",
"summary": "EXIT Route",
"description": "Create a stub for an automated task",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "Tools",
"type": "automatic",
"variables": {
"incoming": {
"type": "success",
"delay": "",
"response": ""
},
"outgoing": {
"response": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>stub</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Stub</span>"
},
{
"key": "description",
"highlightString": "Create a <span class='highlight-string'>stub</span> for an automated task"
}
],
"groups": [],
"actor": "Pronghorn",
"x": -0.324200913242009,
"y": 0.490118577075099,
"scheduled": false
},
"8485": {
"name": "childJob",
"summary": "NSO Rollback",
"description": "Run NSO device upgrade tasks",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"task": "",
"workflow": "Cisco IOS Upgrade - NSO upgrade",
"variables": {
"deviceString": {
"variable": "",
"task": "1cbe",
"value": "deviceString"
},
"numberOfRetries": {
"variable": "",
"task": "1cbe",
"value": "numberOfRetries"
},
"numberOfRetriesStability": {
"variable": "",
"task": "1cbe",
"value": "numberOfRetriesStability"
},
"secondsBetweenRetry": {
"variable": "",
"task": "1cbe",
"value": "secondsBetweenRetry"
},
"variables": {
"variable": "",
"task": "job",
"value": "variables"
},
"deviceArray": {
"variable": "",
"task": "job",
"value": "deviceArray"
},
"adapter_id": {
"variable": "",
"task": "job",
"value": "adapter_id"
},
"mode": {
"variable": "",
"task": "1cbe",
"value": "mode"
}
}
},
"outgoing": {
"job_details": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>child</span>Job"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Child</span> Job"
},
{
"key": "description",
"highlightString": "Run a <span class='highlight-string'>child</span> Job inside a Workflow"
}
],
"groups": [],
"actor": "job",
"x": 1.79294117647059,
"y": 0.168091168091168
},
"8923": {
"canvasName": "evaluation",
"location": "Application",
"locationType": null,
"name": "evaluation",
"summary": "Check for different version",
"description": "Eval pre check for true",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"all_true_flag": true,
"evaluation_groups": [
{
"all_true_flag": true,
"evaluations": [
{
"query": "commands_results[2].result",
"operand_1": {
"variable": "mop_template_results",
"task": "5418"
},
"operator": "==",
"operand_2": {
"variable": true,
"task": "static"
}
},
{
"query": "commands_results[0].result",
"operand_1": {
"variable": "mop_template_results",
"task": "5418"
},
"operator": "==",
"operand_2": {
"variable": true,
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"groups": [],
"x": -1.8590785907859078,
"y": -0.12160228898426323
},
"workflow_start": {
"name": "workflow_start",
"groups": [],
"x": -3.6062091503267975,
"y": -0.14040114613180515
},
"workflow_end": {
"name": "workflow_end",
"groups": [],
"x": 3.16705882352941,
"y": 0.00427350427350427
},
"4e3f": {
"name": "getDevice",
"summary": "Get Device's Details",
"description": "Get detailed information for a specific device",
"app": "ConfigurationManager",
"displayName": "ConfigurationManager",
"location": "Application",
"type": "automatic",
"variables": {
"incoming": {
"name": "$var.1cbe.deviceString"
},
"outgoing": {
"device": null
},
"error": ""
},
"deprecated": false,
"groups": [],
"actor": "Pronghorn",
"x": -2.6101573676680974,
"y": -0.1401360544217687,
"scheduled": false
},
"6f17": {
"name": "newVariable",
"summary": "Create a Job Variable",
"description": "Create a new Job variable by Job ID and assign it a value.",
"location": "Application",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"name": "variables",
"value": "$var.7f66.merged_object"
},
"outgoing": {
"value": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>new</span>Variable"
},
{
"key": "description",
"highlightString": "Create a <span class='highlight-string'>new</span> Job variable by Job ID and assign it a value."
}
],
"groups": [],
"x": -2.773247496423462,
"y": -0.14421768707482993
},
"7b2b": {
"canvasName": "evaluation",
"location": "Application",
"locationType": null,
"name": "evaluation",
"summary": "Check for pre-downloaded file",
"description": "expected to be false = file is already downloaded",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"all_true_flag": false,
"evaluation_groups": [
{
"all_true_flag": false,
"evaluations": [
{
"query": "commands_results[1].result",
"operand_1": {
"variable": "mop_template_results",
"task": "5418"
},
"operator": "==",
"operand_2": {
"variable": true,
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"groups": [],
"x": -1.981029810298103,
"y": -0.11874105865522175
},
"510d": {
"name": "viewTemplateResults",
"summary": "Review Pre-Checks",
"description": "",
"location": "Application",
"app": "MOP",
"displayName": "MOP",
"type": "manual",
"variables": {
"incoming": {
"mop_template_results": "$var.5233.mop_template_results"
},
"outgoing": {},
"error": ""
},
"view": "/mop/task/viewTemplateResults",
"deprecated": false,
"groups": [],
"x": -1.48140900195695,
"y": -0.434782608695652,
"scheduled": false
},
"fd87": {
"name": "RunCommandTemplate",
"summary": "Run Post Checks",
"description": "Run Post Checks",
"location": "Application",
"app": "MOP",
"displayName": "MOP",
"type": "automatic",
"variables": {
"incoming": {
"template": "Cisco IOS Upgrade",
"variables": "$var.job.variables",
"devices": "$var.job.deviceArray"
},
"outgoing": {
"mop_template_results": null
},
"error": ""
},
"deprecated": false,
"groups": [],
"actor": "Pronghorn",
"x": -0.109926168990976,
"y": -0.061617458279846,
"scheduled": false
},
"2e2e": {
"name": "runTemplatesDiff",
"summary": "MOP Diff Config",
"description": "MOP Diff Config",
"location": "Application",
"app": "MOP",
"displayName": "MOP",
"type": "manual",
"variables": {
"incoming": {
"pre": "$var.5233.mop_template_results",
"post": "$var.fd87.mop_template_results"
},
"outgoing": {},
"error": ""
},
"view": "/mop/task/runTemplatesDiff",
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "runTemplates<span class='highlight-string'>Diff</span>"
},
{
"key": "summary",
"highlightString": "MOP <span class='highlight-string'>Diff</span> Config"
},
{
"key": "description",
"highlightString": "MOP <span class='highlight-string'>Diff</span> Config"
}
],
"groups": [],
"x": 0.581960784313725,
"y": -0.0427350427350427,
"scheduled": false
},
"f847": {
"canvasName": "evaluation",
"location": "Application",
"locationType": null,
"name": "evaluation",
"summary": "Orchestrator",
"description": "Orchestrator",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"all_true_flag": false,
"evaluation_groups": [
{
"all_true_flag": false,
"evaluations": [
{
"query": "",
"operand_1": {
"variable": "isNSO",
"task": "job"
},
"operator": "==",
"operand_2": {
"variable": true,
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>eval</span>uation"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Eval</span>uation"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>eval</span>uation"
}
],
"groups": [],
"x": -0.813781788351107,
"y": -0.0872913992297818
},
"4a79": {
"canvasName": "evaluation",
"location": "Application",
"locationType": null,
"name": "evaluation",
"summary": "Orchestrator check",
"description": "Orchestrator",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"all_true_flag": false,
"evaluation_groups": [
{
"all_true_flag": false,
"evaluations": [
{
"query": "",
"operand_1": {
"variable": "isNSO",
"task": "job"
},
"operator": "==",
"operand_2": {
"variable": true,
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>eval</span>uation"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Eval</span>uation"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>eval</span>uation"
}
],
"groups": [],
"x": 1.78117647058824,
"y": -0.00997150997150997
},
"c463": {
"name": "objectHasOwnProperty",
"summary": "Determines whether an object has a property.",
"description": "Returns a boolean indicating whether the object has the specified property as its own property (as opposed to inheriting it).",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "Object",
"type": "automatic",
"variables": {
"incoming": {
"obj": "$var.4e3f.device",
"prop": "ned"
},
"outgoing": {
"result": "$var.job.isNSO"
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>has</span>OwnProperty"
},
{
"key": "summary",
"highlightString": "Determines whether an object <span class='highlight-string'>has</span> a property."
},
{
"key": "description",
"highlightString": "Returns a boolean indicating whether the object <span class='highlight-string'>has</span> the specified property as its own property (as opposed to inheriting it)."
}
],
"groups": [],
"actor": "Pronghorn",
"x": -2.3340486409155936,
"y": -0.12380952380952381,
"scheduled": false,
"canvasName": "hasOwnProperty"
},
"fde5": {
"name": "childJob",
"summary": "NSO",
"description": "Run NSO device upgrade tasks",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"task": "",
"workflow": "Cisco IOS Upgrade - NSO upgrade",
"variables": {
"deviceString": {
"variable": "",
"task": "1cbe",
"value": "deviceString"
},
"numberOfRetries": {
"variable": "",
"task": "1cbe",
"value": "numberOfRetries"
},
"numberOfRetriesStability": {
"variable": "",
"task": "1cbe",
"value": "numberOfRetriesStability"
},
"secondsBetweenRetry": {
"variable": "",
"task": "1cbe",
"value": "secondsBetweenRetry"
},
"variables": {
"variable": "",
"task": "job",
"value": "variables"
},
"deviceArray": {
"variable": "",
"task": "job",
"value": "deviceArray"
},
"adapter_id": {
"variable": "",
"task": "job",
"value": "adapter_id"
},
"mode": {
"variable": "",
"task": "1cbe",
"value": "mode"
}
}
},
"outgoing": {
"job_details": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>child</span>Job"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Child</span> Job"
},
{
"key": "description",
"highlightString": "Run a <span class='highlight-string'>child</span> Job inside a Workflow"
}
],
"groups": [],
"actor": "job",
"x": -0.5367647058823529,
"y": 0.06346749226006192
},
"dae7": {
"canvasName": "query",
"location": "Application",
"locationType": null,
"name": "query",
"summary": "Get adapter ID",
"description": "Get adapter ID",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "origin",
"obj": "$var.4e3f.device"
},
"outgoing": {
"return_data": "$var.job.adapter_id"
},
"error": ""
},
"deprecated": false,
"groups": [],
"x": -2.484263233190272,
"y": -0.12108843537414966,
"scheduled": false
},
"4bdd": {
"canvasName": "evaluation",
"location": "Application",
"locationType": null,
"name": "evaluation",
"summary": "NSO rollback outcome",
"description": "",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"all_true_flag": false,
"evaluation_groups": [
{
"all_true_flag": false,
"evaluations": [
{
"query": ".outcome",
"operand_1": {
"variable": "job_details",
"task": "8485"
},
"operator": "==",
"operand_2": {
"variable": "success",
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>eval</span>uation"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Eval</span>uation"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>eval</span>uation"
}
],
"groups": [],
"x": 1.96705882352941,
"y": 0.13960113960114
},
"ad62": {
"name": "childJob",
"summary": "Ansible Rollback",
"description": "run Ansible device rollback tasks",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"task": "",
"workflow": "Cisco IOS Upgrade - Ansible upgrade",
"variables": {
"mode": {
"variable": "",
"task": "1cbe",
"value": "mode"
},
"deviceString": {
"variable": "",
"task": "1cbe",
"value": "deviceString"
},
"numberOfRetries": {
"variable": "",
"task": "1cbe",
"value": "numberOfRetries"
},
"numberOfRetriesStability": {
"variable": "",
"task": "1cbe",
"value": "numberOfRetriesStability"
},
"secondsBetweenRetry": {
"variable": "",
"task": "1cbe",
"value": "secondsBetweenRetry"
},
"parent_id": {
"variable": "",
"task": "job",
"value": "_id"
},
"deviceArray": {
"variable": "",
"task": "job",
"value": "deviceArray"
},
"adapter_id": {
"variable": "",
"task": "job",
"value": "adapter_id"
},
"variables": {
"variable": "",
"task": "job",
"value": "variables"
}
}
},
"outgoing": {
"job_details": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>child</span>Job"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Child</span> Job"
},
{
"key": "description",
"highlightString": "Run a <span class='highlight-string'>child</span> Job inside a Workflow"
}
],
"groups": [],
"actor": "job",
"x": 1.79686274509804,
"y": -0.16951566951567
},
"28c9": {
"canvasName": "evaluation",
"location": "Application",
"locationType": null,
"name": "evaluation",
"summary": "Ansible rollback outcome",
"description": "",
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"all_true_flag": false,
"evaluation_groups": [
{
"all_true_flag": false,
"evaluations": [
{
"query": ".outcome",
"operand_1": {
"variable": "job_details",
"task": "ad62"
},
"operator": "==",
"operand_2": {
"variable": "success",
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>eval</span>uation"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Eval</span>uation"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>eval</span>uation"
}
],
"groups": [],
"x": 1.97254901960784,
"y": -0.115384615384615
},
"9b94": {
"name": "RunCommandTemplate",
"summary": "Run Rollback Post Checks",
"description": "Run Rollback Post Checks",
"location": "Application",
"locationType": null,
"app": "MOP",
"displayName": "Command Templates",
"type": "automatic",
"variables": {
"incoming": {
"template": "Cisco IOS Upgrade",
"variables": "$var.job.variables",
"devices": "$var.job.deviceArray"
},
"outgoing": {
"mop_template_results": null
},
"error": ""
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>Run</span><span class='highlight-string'>Command</span><span class='highlight-string'>Tem</span>plate"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Run</span> <span class='highlight-string'>Command</span> <span class='highlight-string'>Tem</span>plate"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Run</span> a <span class='highlight-string'>Command</span> <span class='highlight-string'>Tem</span>plate against devices."
}
],
"groups": [],
"actor": "Pronghorn",
"x": 2.25411764705882,
"y": 0.00142450142450142,
"scheduled": false
},
"86c7": {
"name": "viewTemplateResults",
"summary": "Review Post-Checks",
"description": "Review Post-Checks",
"location": "Application",
"app": "MOP",
"displayName": "Command Templates",
"type": "manual",
"variables": {
"incoming": {
"mop_template_results": "$var.9b94.mop_template_results"
},
"outgoing": {},
"error": ""
},
"view": "/mop/task/viewTemplateResults",
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>view</span><span class='highlight-string'>Template</span>Results"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>View</span> MOP <span class='highlight-string'>Template</span> Results"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>View</span> MOP <span class='highlight-string'>Template</span> Results"
}
],
"groups": [],
"x": 2.42980392156863,
"y": 0.00997150997150997,
"scheduled": false
},
"a2d0": {
"name": "runTemplatesDiff",
"summary": "Diff Pre/Post Config",
"description": "",
"location": "Application",
"app": "MOP",
"displayName": "Command Templates",
"type": "manual",
"variables": {
"incoming": {
"pre": "$var.job.pre",
"post": "$var.9b94.mop_template_results"
},
"outgoing": {},
"error": ""
},
"view": "/mop/task/runTemplatesDiff",
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "runTemplates<span class='highlight-string'>Diff</span>"
},
{
"key": "summary",
"highlightString": "MOP <span class='highlight-string'>Diff</span> Config"
},
{
"key": "description",
"highlightString": "MOP <span class='highlight-string'>Diff</span> Config"
}
],
"groups": [],
"x": 2.9356862745098,
"y": 0.00427350427350427,
"scheduled": false
},
"c1d0": {
"name": "modify",
"summary": "Update Image Name",
"description": "Modify data",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"object_to_update": "$var.job.variables",
"query": "version",
"new_value": "$var.3476.imageName"
},
"outgoing": {
"updated_object": "$var.job.variables"
},
"error": ""
},
"deprecated": false,
"matched": [],
"groups": [],
"x": 1.47058823529412,
"y": -0.0056980056980057,
"scheduled": false
},
"fa87": {
"name": "newVariable",
"summary": "Create a Job Variable",
"description": "Create a new Job variable by Job ID and assign it a value.",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"name": "outcome",
"value": "error"
},
"outgoing": {
"value": null
}
},
"deprecated": false,
"matched": [
{
"key": "name",
"highlightString": "<span class='highlight-string'>new</span>Variable"
},
{
"key": "description",
"highlightString": "Create a <span class='highlight-string'>new</span> <span class='highlight-string'>Job</span> variable by Job ID and assign it a value."
},
{
"key": "summary",
"highlightString": "Create a <span class='highlight-string'>Job</span> Variable"
}
],
"groups": [],
"x": 1.97803921568627,
"y": 0.574074074074074
},
"7f66": {
"name": "merge",
"canvasName": "merge",
"summary": "Merge Data",
"description": "Merge data into a single object",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"displayName": "WorkFlowEngine",
"type": "operation",
"variables": {
"incoming": {
"data_to_merge": [
{
"key": "version",
"value": {
"task": "1cbe",
"variable": "fileName"
}
},
{
"key": "job_id",
"value": {
"task": "job",
"variable": "_id"
}
},
{
"key": "device",
"value": {
"task": "1cbe",
"variable": "deviceString"
}
},
{
"key": "mode",
"value": {
"task": "1cbe",
"variable": "mode"
}
},
{
"key": "flashMemory",
"value": {
"task": "1cbe",
"variable": "flashMemory"
}
}
]
},
"outgoing": {
"merged_object": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>merge</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Merge</span> Data"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Merge</span> data into a single object"
}
],
"groups": [],
"x": -2.917024320457797,
"y": -0.1306122448979592
},
"2a66": {
"name": "ShowJsonForm",
"canvasName": "ShowJsonForm",
"summary": "Show Json Form",
"description": "Show Json Form",
"location": "Application",
"app": "JsonForms",
"displayName": "JsonForms",
"type": "manual",
"variables": {
"incoming": {
"form_id": "Cisco IOS Upgrade Form",
"instance_data": "$var.job.formData"
},
"outgoing": {
"export": "$var.job.formData"
},
"error": ""
},
"view": "/json-forms/task/ShowJsonForm",
"deprecated": false,
"matched": [
{
"key": "displayName",
"highlightString": "<span class='highlight-string'>Json</span>Forms"
},
{
"key": "canvasName",
"highlightString": "Show<span class='highlight-string'>Json</span>Form"
},
{
"key": "summary",
"highlightString": "Show <span class='highlight-string'>Json</span> Form"
},
{
"key": "description",
"highlightString": "Show <span class='highlight-string'>Json</span> Form"
}
],
"groups": [],
"x": -3.3902439024390243,
"y": 0.5350500715307582,
"scheduled": false
},
"bd42": {
"name": "ViewData",
"canvasName": "ViewData",
"summary": "Device unreachable",
"description": "View data in a pretty format",
"location": "Application",
"app": "WorkFlowEngine",
"displayName": "Tools",
"type": "manual",
"variables": {
"incoming": {
"header": "Device is unreachable",
"message": "Device is unreachable<br> Please choose to either re-enter <b>Form</b> fields or <b>Abort</b> this workflow.",
"body": "",
"btn_success": "Go To Form",
"btn_failure": "Abort"
},
"outgoing": {},
"error": ""
},
"view": "/workflow_engine/task/ViewData",
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>ViewData</span>"
}
],
"groups": [],
"x": -2.3486901535682025,
"y": 0.5278969957081545,
"scheduled": false
},
"77a": {
"name": "ViewData",
"canvasName": "ViewData",
"summary": "Device already on selected version",
"description": "View data in a pretty format",
"location": "Application",
"app": "WorkFlowEngine",
"displayName": "Tools",
"type": "manual",
"variables": {
"incoming": {
"header": "Device already on selected version",
"message": "$var.a833.output",
"body": "",
"btn_success": "FORM",
"btn_failure": "ABORT"
},
"outgoing": {},
"error": ""
},
"view": "/workflow_engine/task/ViewData",
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>ViewData</span>"
}
],
"groups": [],
"x": -1.862691960252936,
"y": 0.7839771101573677,
"sche