@itentialopensource/arista-eos-upgrade-iag
Version:
[Deprecated] This Pre-built automation performs a standard software upgrade or downgrade on Arista EOS Switch.
1,474 lines (1,473 loc) • 197 kB
JSON
{
"metadata": {
"name": "@itentialopensource/arista-eos-upgrade-iag",
"version": "0.0.15-2023.1.2",
"description": "[Deprecated] This Pre-built automation performs a standard software upgrade or downgrade on Arista EOS Switch.",
"license": "Apache-2.0",
"repository": {
"type": "gitlab",
"hostname": "gitlab.com",
"path": "itentialopensource/pre-built-automations"
},
"keywords": [
"Itential",
"IAP",
"artifacts",
"Arista",
"EOS",
"Switch",
"Upgrade",
"Pre-built"
],
"author": "Itential Artifacts",
"IAPDependencies": {
"@itential/app-automation_catalog": "",
"@itential/app-json_forms": "",
"@itential/app-workflow_engine": "",
"@itential/app-template_builder": "",
"@itential/adapter-automation_gateway": "",
"@itential/app-mop": ""
},
"gitlabId": 32742255
},
"manifest": {
"bundleName": "Arista EOS Upgrade IAG",
"fingerprint": "61ddc92c31ad2f5e4fb0972f",
"createdEpoch": "1641924908103",
"artifacts": [
{
"id": "Arista EOS Upgrade - IAG",
"name": "Arista EOS Upgrade - IAG",
"type": "automation",
"location": "/bundles/automations/Arista EOS Upgrade - IAG.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Arista EOS Upgrade - IAG",
"name": "Arista EOS Upgrade - IAG",
"type": "workflow",
"location": "/bundles/workflows/Arista EOS Upgrade - IAG.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Command Template Runner",
"name": "Command Template Runner",
"type": "workflow",
"location": "/bundles/workflows/Command Template Runner.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Device-Connection-Health-Check",
"name": "Device-Connection-Health-Check",
"type": "workflow",
"location": "/bundles/workflows/Device-Connection-Health-Check.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Arista EOS Upgrade",
"name": "Arista EOS Upgrade",
"type": "json-forms",
"location": "/bundles/json_forms/Arista EOS Upgrade.json",
"properties": {
"entryPoint": false
}
},
{
"id": "arista_eos_show_boot-config",
"name": "arista_eos_show_boot-config",
"type": "template",
"location": "/bundles/templates/arista_eos_show_boot-config.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Arista EOS Upgrade",
"name": "Arista EOS Upgrade",
"type": "mop-template",
"location": "/bundles/mop_templates/Arista EOS Upgrade.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Arista EOS Upgrade Preparation",
"name": "Arista EOS Upgrade Preparation",
"type": "mop-template",
"location": "/bundles/mop_templates/Arista EOS Upgrade Preparation.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Arista EOS Upgrade Pre-Post Checks",
"name": "Arista EOS Upgrade Pre-Post Checks",
"type": "mop-template",
"location": "/bundles/mop_templates/Arista EOS Upgrade Pre-Post Checks.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Arista EOS Upgrade Write",
"name": "Arista EOS Upgrade Write",
"type": "mop-template",
"location": "/bundles/mop_templates/Arista EOS Upgrade Write.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Arista EOS Upgrade Verify",
"name": "Arista EOS Upgrade Verify",
"type": "mop-template",
"location": "/bundles/mop_templates/Arista EOS Upgrade Verify.json",
"properties": {
"entryPoint": false
}
},
{
"id": "Arista EOS Upgrade",
"name": "Arista EOS Upgrade",
"type": "mop-analytic-template",
"location": "/bundles/mop_analytic_templates/Arista EOS Upgrade.json",
"properties": {
"entryPoint": false
}
},
{
"id": "616db0c8b5b2e525505be400",
"name": "Arista_EOS_Upgrade_JST",
"type": "transformation",
"location": "/bundles/transformations/Arista_EOS_Upgrade_JST.json",
"properties": {
"entryPoint": false
}
},
{
"id": "6037fc47058d4a65713f3868",
"name": "incrementNumber",
"type": "transformation",
"location": "/bundles/transformations/incrementNumber.json",
"properties": {
"entryPoint": false
}
}
]
},
"bundles": [
{
"type": "automation",
"data": {
"_id": "646f9bcab6f65602005adf30",
"name": "Arista EOS Upgrade - IAG",
"description": "This Pre-built automation performs a standard software upgrade or downgrade on Arista EOS switch for IAG.",
"componentName": "Arista EOS Upgrade - IAG",
"componentType": "workflows",
"gbac": {
"write": [],
"read": []
},
"created": "2023-05-25T17:32:58.284Z",
"createdBy": "admin@pronghorn",
"lastUpdated": "2023-05-25T17:32:58.284Z",
"lastUpdatedBy": "admin@pronghorn",
"triggers": [
{
"_id": "646f9bcab6f65602005adf31",
"created": "2023-05-25T17:32:58.374Z",
"createdBy": "admin@pronghorn",
"lastUpdated": "2023-05-25T17:32:58.374Z",
"lastUpdatedBy": "admin@pronghorn",
"name": "Start Arista EOS Upgrade - IAG with Form",
"type": "manual",
"enabled": true,
"actionType": "automations",
"actionId": "646f9bcab6f65602005adf30",
"formId": null,
"formData": {
"zeroTouch": true,
"healthCheckVariables": {
"numberOfRetries": null
}
},
"formSchemaHash": null,
"migrationVersion": 1
}
]
}
},
{
"type": "workflow",
"data": {
"name": "Arista EOS Upgrade - IAG",
"type": "automation",
"tasks": {
"358": {
"name": "makeData",
"canvasName": "makeData",
"summary": "Make Boot Config Statement - Old Image",
"description": "Make Boot Config Statement - Old Image",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Tools",
"variables": {
"incoming": {
"input": "[{\"parents\":[],\"new\":\"boot system <!oldImageFile!>\"}]",
"outputType": "json",
"variables": "$var.2253.value"
},
"outgoing": {
"output": null
},
"error": "",
"decorators": []
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>makeData</span>"
}
],
"groups": [],
"actor": "job",
"x": 0.8022318660880348,
"y": 0.8176605504587156,
"scheduled": false,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 3,
"delay": 10000
}
},
"1436": {
"name": "evaluation",
"canvasName": "evaluation",
"summary": "Eval Current Boot File",
"description": "Eval Current Boot File",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"all_true_flag": true,
"evaluation_groups": [
{
"all_true_flag": true,
"evaluations": [
{
"query": "templateResults.commands_results[1].response",
"operand_1": {
"variable": "job_details",
"task": "49f4"
},
"operator": "!contains",
"operand_2": {
"variable": "imageFile",
"task": "f19e"
}
}
]
},
{
"all_true_flag": true,
"evaluations": [
{
"query": "templateResults.commands_results[1].response",
"operand_1": {
"variable": "job_details",
"task": "49f4"
},
"operator": "contains",
"operand_2": {
"variable": "boot system",
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>eval</span>uation"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Eval</span>uation Task"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>eval</span>uation"
}
],
"groups": [],
"x": 0.12151270923744575,
"y": 0.411697247706422
},
"2253": {
"name": "newVariable",
"canvasName": "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",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"name": "variables",
"value": "$var.f38f.merged_object"
},
"outgoing": {
"value": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>new</span><span class='highlight-string'>Var</span>iable"
},
{
"key": "description",
"highlightString": "Create a <span class='highlight-string'>new</span> <span class='highlight-string'>Job</span> <span class='highlight-string'>var</span>iable by Job ID and assign it a value."
},
{
"key": "summary",
"highlightString": "Create a <span class='highlight-string'>Job</span> <span class='highlight-string'>Var</span>iable"
}
],
"groups": [],
"x": -0.08196721311475409,
"y": 0.4105504587155963
},
"3233": {
"name": "applyTemplates",
"canvasName": "applyTemplates",
"summary": "Parse Old Image File",
"description": "Parse Old Image File",
"location": "Application",
"locationType": null,
"app": "TemplateBuilder",
"type": "automatic",
"displayName": "TemplateBuilder",
"variables": {
"incoming": {
"text": "$var.91b6.return_data",
"templates": [
"arista_eos_show_boot-config"
]
},
"outgoing": {
"parsed": null
},
"error": "",
"decorators": []
},
"deprecated": false,
"matched": [],
"groups": [],
"actor": "job",
"x": -0.25445473984319317,
"y": 0.4013761467889908,
"scheduled": false,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 3,
"delay": 10000
}
},
"4007": {
"name": "ViewData",
"canvasName": "ViewData",
"summary": "NSO - not compatible message",
"description": "NSO - not compatible message",
"location": "Application",
"app": "WorkFlowEngine",
"displayName": "Tools",
"type": "manual",
"variables": {
"incoming": {
"header": "Selected device is managed by NSO and not compatible with this Ansible workflow. ",
"message": "Kindly <b>Select New Device</b> or <b>Ignore</b> this error.",
"body": "",
"variables": {},
"btn_success": "Select New Device",
"btn_failure": "Ignore"
},
"outgoing": {},
"error": "",
"decorators": []
},
"view": "/workflow_engine/task/ViewData",
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>ViewData</span>"
}
],
"groups": [],
"x": -0.4397719173200285,
"y": 1.0275229357798166,
"scheduled": false
},
"8738": {
"name": "stub",
"canvasName": "stub",
"summary": "Exit Gracefully",
"description": "Exit Gracefully",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Tools",
"variables": {
"incoming": {
"type": "error",
"delay": "",
"response": ""
},
"outgoing": {
"response": null
},
"error": "",
"decorators": []
},
"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": "job",
"x": 0.2411655300681959,
"y": 1.723623853211009,
"scheduled": false
},
"workflow_start": {
"name": "workflow_start",
"groups": [],
"x": -0.9957234497505346,
"y": 0.36926605504587157
},
"workflow_end": {
"name": "workflow_end",
"groups": [],
"x": 2.2070675759454432,
"y": 0.393348623853211
},
"f19e": {
"name": "transformation",
"canvasName": "transformation",
"summary": "Process Form Data",
"description": "Process Form Data",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"tr_id": "616db0c8b5b2e525505be400",
"variableMap": {
"formData": "$var.job.formData"
},
"options": {
"extractOutput": false,
"validateIncoming": false,
"revertToDefaultValue": true
}
},
"outgoing": {
"zeroTouchMode": null,
"numberOfRetries": null,
"pingDelay": null,
"numberOfRetriesStability": null,
"deviceName": null,
"arrayedDevice": null,
"imageFile": null,
"md5": null
}
},
"deprecated": false,
"matched": [
{
"key": "description",
"highlightString": "Perform a JSON Transformation using the <span class='highlight-string'>JST</span> library."
}
],
"groups": [],
"x": -0.8731290092658589,
"y": 0.36811926605504586,
"task_name": "Arista_EOS_Upgrade_JST_Query",
"retrySettings": null
},
"c11d": {
"name": "ShowJsonForm",
"canvasName": "ShowJsonForm",
"summary": "Show Input Form",
"description": "Shows input form w/ most recent data.",
"location": "Application",
"app": "JsonForms",
"displayName": "JsonForms",
"type": "manual",
"variables": {
"incoming": {
"form_id": "Arista EOS Upgrade",
"instance_data": "$var.job.formData"
},
"outgoing": {
"export": "$var.job.formData"
},
"error": "",
"decorators": []
},
"view": "/json-forms/task/ShowJsonForm",
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>Show</span>Json<span class='highlight-string'>Form</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Show</span> Json <span class='highlight-string'>Form</span>"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Show</span> Json <span class='highlight-string'>Form</span>"
},
{
"key": "displayName",
"highlightString": "Json<span class='highlight-string'>Form</span>s"
}
],
"groups": [],
"x": -0.8745545260156807,
"y": 1.0080275229357798,
"scheduled": false
},
"f38f": {
"name": "merge",
"canvasName": "merge",
"summary": "Merge data",
"description": "Merge data",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"data_to_merge": [
{
"key": "job_id",
"value": {
"task": "job",
"variable": "_id"
}
},
{
"key": "adapter_id",
"value": {
"task": "2fab",
"variable": "return_data"
}
},
{
"key": "zeroTouchMode",
"value": {
"task": "f19e",
"variable": "zeroTouchMode"
}
},
{
"key": "numberOfRetries",
"value": {
"task": "f19e",
"variable": "numberOfRetries"
}
},
{
"key": "pingDelay",
"value": {
"task": "f19e",
"variable": "pingDelay"
}
},
{
"key": "numberOfRetriesStability",
"value": {
"task": "f19e",
"variable": "numberOfRetriesStability"
}
},
{
"key": "deviceName",
"value": {
"task": "f19e",
"variable": "deviceName"
}
},
{
"key": "arrayedDevice",
"value": {
"task": "f19e",
"variable": "arrayedDevice"
}
},
{
"key": "imageFile",
"value": {
"task": "f19e",
"variable": "imageFile"
}
},
{
"key": "md5",
"value": {
"task": "f19e",
"variable": "md5"
}
},
{
"key": "oldImageFile",
"value": {
"task": "job",
"variable": "oldImageFile",
"editable": true
}
}
]
},
"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": -0.1660727013542409,
"y": 0.4013761467889908
},
"320e": {
"name": "ViewData",
"canvasName": "ViewData",
"summary": "Device unreachable",
"description": "Device unreachable",
"location": "Application",
"app": "WorkFlowEngine",
"displayName": "Tools",
"type": "manual",
"variables": {
"incoming": {
"header": "Device is unreachable",
"message": "",
"body": "The selected device failed to return details, kindly verify connectivity to the device then press either <b>Try Again</b> to return to the user input form task, or <b>Abort</b> to end the workflow.",
"variables": {},
"btn_success": "Try Again",
"btn_failure": "Abort"
},
"outgoing": {},
"error": "",
"decorators": []
},
"view": "/workflow_engine/task/ViewData",
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>ViewDat</span>a"
}
],
"groups": [],
"x": -0.7412687099073414,
"y": 1.0091743119266054,
"scheduled": false
},
"a63e": {
"name": "getDevice",
"canvasName": "getDevice",
"summary": "Get Device Details",
"description": "Get Device Details",
"location": "Application",
"locationType": null,
"app": "ConfigurationManager",
"type": "automatic",
"displayName": "ConfigurationManager",
"variables": {
"incoming": {
"name": "$var.f19e.deviceName"
},
"outgoing": {
"device": null
},
"error": "",
"decorators": []
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>getDevice</span>"
}
],
"groups": [],
"actor": "job",
"x": -0.736992159657876,
"y": 0.3795871559633027,
"scheduled": false,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 3,
"delay": 10000
}
},
"2fab": {
"name": "query",
"canvasName": "query",
"summary": "adapterID",
"description": "adapterID",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"pass_on_null": false,
"query": "origin",
"obj": "$var.a63e.device"
},
"outgoing": {
"return_data": "$var.job.adapter_id"
},
"error": "",
"decorators": []
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>query</span>"
},
{
"key": "summary",
"highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
},
{
"key": "description",
"highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
}
],
"groups": [],
"x": -0.7426942266571632,
"y": 0.2603211009174312,
"scheduled": false,
"retrySettings": null
},
"266c": {
"name": "objectHasOwnProperty",
"canvasName": "objectHasOwnProperty",
"summary": "Check for NSO",
"description": "Check for NSO",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Object",
"variables": {
"incoming": {
"obj": "$var.a63e.device",
"prop": "ned"
},
"outgoing": {
"result": null
},
"error": "",
"decorators": []
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "object<span class='highlight-string'>HasOwnProperty</span>"
}
],
"groups": [],
"actor": "job",
"x": -0.5937277263007841,
"y": 0.38990825688073394,
"scheduled": false,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 3,
"delay": 10000
}
},
"49f4": {
"name": "childJob",
"canvasName": "childJob",
"summary": "Prepare switch",
"description": "Prepare switch",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"task": "",
"workflow": "Command Template Runner",
"variables": {
"templateName": {
"variable": "",
"task": "static",
"value": "Arista EOS Upgrade Preparation"
},
"templateVariables": {
"variable": "",
"task": "2253",
"value": "value"
},
"devices": {
"variable": "",
"task": "f19e",
"value": "arrayedDevice"
},
"failureType": {
"variable": "",
"task": "static",
"value": "terminate"
},
"zeroTouch": {
"variable": "",
"task": "f19e",
"value": "zeroTouchMode"
}
},
"data_array": "",
"transformation": "",
"loopType": ""
},
"outgoing": {
"job_details": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>child</span>Job"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Child</span> Job"
},
{
"key": "description",
"highlightString": "Runs a <span class='highlight-string'>child</span> job inside a workflow."
}
],
"groups": [],
"actor": "job",
"x": 0.040627227369921595,
"y": 0.40825688073394495,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 3,
"delay": 10000
}
},
"adf8": {
"name": "ViewData",
"canvasName": "ViewData",
"summary": "Error message boot already set to selected version",
"description": "Error message boot already set to selected version",
"location": "Application",
"app": "WorkFlowEngine",
"displayName": "Tools",
"type": "manual",
"variables": {
"incoming": {
"header": "Selected image file is already configured in the device startup boot system",
"message": "$var.5a3c.output",
"body": "",
"variables": {},
"btn_success": "Launch Form",
"btn_failure": "Abort"
},
"outgoing": {},
"error": "",
"decorators": []
},
"view": "/workflow_engine/task/ViewData",
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>ViewData</span>"
}
],
"groups": [],
"x": 0.11097334159950403,
"y": 1.0194954128440368,
"scheduled": false
},
"5a3c": {
"name": "makeData",
"canvasName": "makeData",
"summary": "Error boot already configured to file",
"description": "Error boot already configured to file",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Tools",
"variables": {
"incoming": {
"input": "Selected image file, <b><!imageFile!></b>, is already configured in the device startup boot system.<br>\n<br> Kindly choose to re-enter <b>Form</b> fields or <b>Abort</b> this workflow.",
"outputType": "string",
"variables": "$var.2253.value"
},
"outgoing": {
"output": null
},
"error": "",
"decorators": []
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>makeData</span>"
}
],
"groups": [],
"actor": "Pronghorn",
"x": 0.11593304401735896,
"y": 0.8371559633027523,
"scheduled": false,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 3,
"delay": 10000
}
},
"a193": {
"name": "evaluation",
"canvasName": "evaluation",
"summary": "Eval selected image file in device directory",
"description": "Eval selected image file in device directory",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"all_true_flag": true,
"evaluation_groups": [
{
"all_true_flag": true,
"evaluations": [
{
"query": "templateResults.commands_results[3].response",
"operand_1": {
"variable": "job_details",
"task": "49f4"
},
"operator": "contains",
"operand_2": {
"variable": "imageFile",
"task": "f19e"
}
}
]
},
{
"all_true_flag": true,
"evaluations": [
{
"query": "templateResults.commands_results[3].response",
"operand_1": {
"variable": "job_details",
"task": "49f4"
},
"operator": "!contains",
"operand_2": {
"variable": "No such file or directory",
"task": "static"
}
}
]
}
]
},
"outgoing": {
"return_value": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>eval</span>uation"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Eval</span>uation Task"
},
{
"key": "description",
"highlightString": "Run an <span class='highlight-string'>eval</span>uation"
}
],
"groups": [],
"x": 0.23868567885926845,
"y": 0.4059633027522936
},
"75cf": {
"name": "makeData",
"canvasName": "makeData",
"summary": "Error file not present on device",
"description": "Error file not present on device",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Tools",
"variables": {
"incoming": {
"input": "Selected image file <b><!imageFile!></b> is not in the device directory.<br>\n<br> Kindly choose to re-enter <b>Form</b> fields and select a different image file or <b>Abort</b> this workflow and retry after image file is downloaded to the device. The target image must be copied to the file system on the switch, typically onto the flash drive.",
"outputType": "string",
"variables": "$var.2253.value"
},
"outgoing": {
"output": null
},
"error": "",
"decorators": []
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>makeData</span>"
}
],
"groups": [],
"actor": "Pronghorn",
"x": 0.2486050836949783,
"y": 0.8371559633027523,
"scheduled": false,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 3,
"delay": 10000
}
},
"b509": {
"name": "ViewData",
"canvasName": "ViewData",
"summary": "Error message file missing",
"description": "Error message file missing from device directory",
"location": "Application",
"app": "WorkFlowEngine",
"displayName": "Tools",
"type": "manual",
"variables": {
"incoming": {
"header": "Selected image file missing from device directory",
"message": "$var.75cf.output",
"body": "",
"variables": {},
"btn_success": "Launch Form",
"btn_failure": "Abort"
},
"outgoing": {},
"error": "",
"decorators": []
},
"view": "/workflow_engine/task/ViewData",
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>ViewData</span>"
}
],
"groups": [],
"x": 0.2486050836949783,
"y": 1.0229357798165137,
"scheduled": false
},
"905d": {
"name": "childJob",
"canvasName": "childJob",
"summary": "Prechecks",
"description": "Prechecks",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"task": "",
"workflow": "Command Template Runner",
"variables": {
"templateName": {
"variable": "",
"task": "static",
"value": "Arista EOS Upgrade Pre-Post Checks"
},
"templateVariables": {
"variable": "",
"task": "2253",
"value": "value"
},
"devices": {
"variable": "",
"task": "f19e",
"value": "arrayedDevice"
},
"failureType": {
"variable": "",
"task": "static",
"value": "terminate"
},
"zeroTouch": {
"variable": "",
"task": "f19e",
"value": "zeroTouchMode"
}
},
"data_array": "",
"transformation": "",
"loopType": ""
},
"outgoing": {
"job_details": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>child</span>Job"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Child</span> Job"
},
{
"key": "description",
"highlightString": "Runs a <span class='highlight-string'>child</span> job inside a workflow."
}
],
"groups": [],
"actor": "job",
"x": 0.3558586484810911,
"y": 0.4151376146788991,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 3,
"delay": 10000
}
},
"e31e": {
"name": "childJob",
"canvasName": "childJob",
"summary": "Verify Upgrade",
"description": "Verify Upgrade",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"task": "",
"workflow": "Command Template Runner",
"variables": {
"templateName": {
"variable": "",
"task": "static",
"value": "Arista EOS Upgrade"
},
"templateVariables": {
"variable": "",
"task": "2253",
"value": "value"
},
"devices": {
"variable": "",
"task": "f19e",
"value": "arrayedDevice"
},
"failureType": {
"variable": "",
"task": "static",
"value": "terminate"
},
"zeroTouch": {
"variable": "",
"task": "f19e",
"value": "zeroTouchMode"
}
},
"data_array": "",
"transformation": "",
"loopType": ""
},
"outgoing": {
"job_details": null
}
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>child</span>Job"
},
{
"key": "summary",
"highlightString": "Run <span class='highlight-string'>Child</span> Job"
},
{
"key": "description",
"highlightString": "Runs a <span class='highlight-string'>child</span> job inside a workflow."
}
],
"groups": [],
"actor": "job",
"x": 0.9274643521388717,
"y": 0.4288990825688073,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 3,
"delay": 10000
}
},
"d39c": {
"name": "makeData",
"canvasName": "makeData",
"summary": "Make Boot Config Statement - New Image",
"description": "Make Boot Config Statement - New Image",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "automatic",
"displayName": "Tools",
"variables": {
"incoming": {
"input": "[{\"parents\":[],\"new\":\"boot system flash:/<!imageFile!>\"}]",
"outputType": "json",
"variables": "$var.2253.value"
},
"outgoing": {
"output": null
},
"error": "",
"decorators": []
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>makeData</span>"
}
],
"groups": [],
"actor": "job",
"x": 0.5189088654680719,
"y": 0.4323394495412844,
"scheduled": false,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 3,
"delay": 10000
}
},
"3ac": {
"name": "setConfig",
"canvasName": "setConfig",
"summary": "Set boot configuration",
"description": "Set boot configuration",
"location": "Adapter",
"locationType": "AutomationGateway",
"app": "AutomationGateway",
"type": "automatic",
"displayName": "AutomationGateway",
"variables": {
"incoming": {
"deviceName": "$var.f19e.deviceName",
"changes": "$var.d39c.output",
"adapter_id": "$var.job.adapter_id"
},
"outgoing": {
"result": null
},
"error": "",
"decorators": []
},
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>setConfig</span>"
}
],
"groups": [],
"actor": "job",
"x": 0.6776193428394296,
"y": 0.44036697247706424,
"scheduled": false,
"retrySettings": {
"state": [
"error"
],
"autoRetry": false,
"limit": 3,
"delay": 10000
}
},
"37b0": {
"name": "ViewData",
"canvasName": "ViewData",
"summary": "Confirm or Backout",
"description": "Confirm or Backout",
"location": "Application",
"app": "WorkFlowEngine",
"displayName": "Tools",
"type": "manual",
"variables": {
"incoming": {
"header": "Results",
"message": "The device boot configuration now points to the new image file selected. \n<code>scroll down for more text...</code>\nSelect <b>Continue</b> to save the new boot configuration and reload the device <b>OR</b> select <b>Backout</b> to rollback the changes and restore the initial configuration.\nYou may monitor device state during boot up process using a console.",
"body": "$var.3ac.result",
"variables": {},
"btn_success": "Continue",
"btn_failure": "Backout"
},
"outgoing": {},
"error": "",
"decorators": []
},
"view": "/workflow_engine/task/ViewData",
"deprecated": false,
"matched": [
{
"key": "canvasName",
"highlightString": "<span class='highlight-string'>ViewData</span>"
}
],
"groups": [],
"x": 0.8003719776813392,
"y": 0.4461009174311927,
"scheduled": false
},
"a4f4": {
"name": "childJob",
"canvasName": "childJob",
"summary": "Postchecks",
"description": "Postchecks",
"location": "Application",
"locationType": null,
"app": "WorkFlowEngine",
"type": "operation",
"displayName": "WorkFlowEngine",
"variables": {
"incoming": {
"task": "",
"workflow": "Command Template Runner",
"variables": {
"templateName": {
"variable": "",
"task": "static",
"value": "Arista EOS Upgrade Pre-Post Checks"
},
"templateVariables": {
"variable": "",
"task": "2253",
"value": "value"
},
"devices": {
"variable": "",
"task": "f19e",