@itentialopensource/cisco-ios-upgrade
Version:
[Deprecated] Itential automation Artifact for cisco ios device upgrade
1,477 lines • 272 kB
JSON
{
"metadata": {
"name": "@itentialopensource/cisco-ios-upgrade",
"version": "0.4.6",
"description": "[Deprecated] Itential automation Artifact for cisco ios device upgrade",
"license": "Apache-2.0",
"repository": {
"type": "gitlab",
"hostname": "gitlab.com",
"path": "itentialopensource/pre-built-automations"
},
"keywords": [
"IAP",
"artifacts",
"Itential",
"Pronghorn",
"Network",
"Automation",
"MOP",
"NSO",
"Cisco-IOS",
"Ansible",
"device-upgrade"
],
"author": "Itential Artifacts",
"IAPDependencies": {
"@itential/app-json_forms": "",
"@itential/app-workflow_engine": "",
"@itential/app-mop": "",
"@itential/app-operations_manager": "",
"devices": {
"@itential/adapter-nso": "",
"@itential/adapter-automation_gateway": ""
}
},
"gitlabId": 12091757
},
"manifest": {
"bundleName": "Cisco IOS Device Upgrade Temporary",
"fingerprint": "5f5f72f60ae3b447cb004ed1",
"createdEpoch": "1600090870902",
"artifacts": [
{
"id": "Cisco IOS Upgrade",
"name": "Cisco IOS Upgrade",
"type": "automation",
"location": "/bundles/automations/Cisco IOS Upgrade.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Cisco IOS Upgrade",
"name": "Cisco IOS Upgrade",
"type": "workflow",
"location": "/bundles/workflows/Cisco IOS Upgrade.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Cisco IOS Upgrade - Ansible upgrade",
"name": "Cisco IOS Upgrade - Ansible upgrade",
"type": "workflow",
"location": "/bundles/workflows/Cisco IOS Upgrade - Ansible upgrade.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Cisco IOS Upgrade - NSO upgrade",
"name": "Cisco IOS Upgrade - NSO upgrade",
"type": "workflow",
"location": "/bundles/workflows/Cisco IOS Upgrade - NSO upgrade.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Cisco IOS Upgrade - Connection Health Check",
"name": "Cisco IOS Upgrade - Connection Health Check",
"type": "workflow",
"location": "/bundles/workflows/Cisco IOS Upgrade - Connection Health Check.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Cisco IOS Upgrade Form",
"name": "Cisco IOS Upgrade Form",
"type": "json-forms",
"location": "/bundles/json_forms/Cisco IOS Upgrade Form.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Cisco IOS Upgrade",
"name": "Cisco IOS Upgrade",
"type": "mop-template",
"location": "/bundles/mop_templates/Cisco IOS Upgrade.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Cisco IOS Upgrade State Checks",
"name": "Cisco IOS Upgrade State Checks",
"type": "mop-template",
"location": "/bundles/mop_templates/Cisco IOS Upgrade State Checks.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Cisco IOS Upgrade",
"name": "Cisco IOS Upgrade",
"type": "mop-analytic-template",
"location": "/bundles/mop_analytic_templates/Cisco IOS Upgrade.json",
"properties": {
"entryPoint": false
}
},
{
"id": "5f5efabcdc87324798b9fbf0",
"name": "iosUpgradeFormData",
"type": "transformation",
"location": "/bundles/transformations/iosUpgradeFormData.json",
"properties": {
"entryPoint": false
}
},
{
"id": "601d649812e46526a828dced",
"name": "incrementNumber",
"type": "transformation",
"location": "/bundles/transformations/incrementNumber.json",
"properties": {
"entryPoint": false
}
}
]
},
"bundles": [
{
"type": "automation",
"data": {
"_id": "617afa07f5b83701932b53f9",
"name": "Cisco IOS Upgrade",
"description": "",
"componentName": "Cisco IOS Upgrade",
"componentType": "workflows",
"gbac": {
"write": [],
"read": []
},
"created": "2021-10-28T19:29:11.584Z",
"createdBy": "zack.strulovitch@itential.com",
"lastUpdated": "2021-10-28T19:29:11.584Z",
"lastUpdatedBy": "zack.strulovitch@itential.com",
"triggers": [
{
"_id": "617afa07f5b83701932b53fa",
"created": "2021-10-28T19:29:11.620Z",
"createdBy": "zack.strulovitch@itential.com",
"lastUpdated": "2021-10-28T19:29:11.620Z",
"lastUpdatedBy": "zack.strulovitch@itential.com",
"name": "Manual Trigger",
"type": "manual",
"enabled": true,
"actionType": "automations",
"actionId": "617afa07f5b83701932b53f9",
"formId": "Cisco IOS Upgrade Form",
"formData": {
"healthcheckVariables": {
"numberOfRetries": 10,
"numberOfRetriesStability": 10,
"secondsBetweenRetry": 60
},
"mode": "Verbose",
"iosDeviceHostname": "csr1kv-zack-1635438126000",
"release": "csr1000v-universalk9.03.10.03.S.153-3.S3-ext.SPA.bin",
"flashMemory": "bootflash:"
}
}
]
}
},
{
"type": "workflow",
"data": {
"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"
},
"secondsBetween