UNPKG

@itentialopensource/arista-eos-upgrade-iag

Version:

[Deprecated] This Pre-built automation performs a standard software upgrade or downgrade on Arista EOS Switch.

414 lines 7.89 kB
{ "_id": "616db0c8b5b2e525505be400", "name": "Arista_EOS_Upgrade_JST", "description": "", "incoming": [ { "$id": "formData", "type": "object", "properties": { "zeroTouch": { "type": "boolean", "examples": [ true, false ] }, "healthCheckVariables": { "type": "object", "properties": { "numberOfRetries": { "type": "integer", "examples": [ 9 ] }, "pingDelay": { "type": "integer", "examples": [ 90 ] }, "numberOfRetriesStability": { "type": "integer", "examples": [ 9 ] } }, "required": [ "numberOfRetriesStability", "pingDelay", "numberOfRetries" ] }, "eosDevice": { "type": "string", "examples": [ "kay_dsup1063-1634912322000" ] }, "imageFile": { "type": "string", "examples": [ "vEOS64-lab-4%2E26%2E2F%2Eswi" ] }, "md5Checksum": { "type": "string", "examples": [ "f1bea7e3a8aae11a0fafd485028c16e1" ] } }, "required": [ "healthCheckVariables", "zeroTouch", "eosDevice", "imageFile" ] } ], "outgoing": [ { "$id": "zeroTouchMode", "type": "string" }, { "$id": "numberOfRetries", "type": "string" }, { "$id": "pingDelay", "type": "string" }, { "$id": "numberOfRetriesStability", "type": "string" }, { "$id": "deviceName", "type": "string" }, { "$id": "arrayedDevice", "type": "array", "items": { "type": "string", "examples": [ "Kay" ] } }, { "$id": "imageFile", "type": "string" }, { "$id": "md5", "type": "string" } ], "steps": [ { "id": 6, "type": "declaration", "library": "Array", "method": "new Array", "args": [ null ], "view": { "row": 4, "col": 1 }, "polymorphIndex": 0, "summary": "turns device string into array for command task" }, { "id": 7, "type": "assign", "from": { "location": "declaration", "name": 6, "ptr": "/return" }, "to": { "location": "outgoing", "name": "arrayedDevice", "ptr": "" } }, { "id": 9, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/eosDevice" }, "to": { "location": "outgoing", "name": "deviceName", "ptr": "" } }, { "id": 11, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/imageFile" }, "to": { "location": "outgoing", "name": "imageFile", "ptr": "" } }, { "id": 13, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/eosDevice" }, "to": { "location": "declaration", "name": 6, "ptr": "/args/0/value" } }, { "id": 14, "type": "method", "library": "Boolean", "method": "toString", "args": [ null ], "view": { "row": 1, "col": 4 } }, { "id": 15, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/zeroTouch" }, "to": { "location": "method", "name": 14, "ptr": "/args/0/value" } }, { "id": 16, "type": "assign", "from": { "location": "method", "name": 14, "ptr": "/return" }, "to": { "location": "outgoing", "name": "zeroTouchMode", "ptr": "" } }, { "id": 17, "type": "method", "library": "Number", "method": "toString", "args": [ null, null ], "view": { "row": 1, "col": 1 } }, { "id": 18, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/healthCheckVariables/numberOfRetries" }, "to": { "location": "method", "name": 17, "ptr": "/args/0/value" } }, { "id": 19, "type": "assign", "from": { "location": "method", "name": 17, "ptr": "/return" }, "to": { "location": "outgoing", "name": "numberOfRetries", "ptr": "" } }, { "id": 20, "type": "method", "library": "Number", "method": "toString", "args": [ null, null ], "view": { "row": 2, "col": 1 } }, { "id": 21, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/healthCheckVariables/pingDelay" }, "to": { "location": "method", "name": 20, "ptr": "/args/0/value" } }, { "id": 22, "type": "assign", "from": { "location": "method", "name": 20, "ptr": "/return" }, "to": { "location": "outgoing", "name": "pingDelay", "ptr": "" } }, { "id": 23, "type": "method", "library": "Number", "method": "toString", "args": [ null, null ], "view": { "row": 3, "col": 1 } }, { "id": 24, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/healthCheckVariables/numberOfRetriesStability" }, "to": { "location": "method", "name": 23, "ptr": "/args/0/value" } }, { "id": 25, "type": "assign", "from": { "location": "method", "name": 23, "ptr": "/return" }, "to": { "location": "outgoing", "name": "numberOfRetriesStability", "ptr": "" } }, { "id": 27, "type": "method", "library": "Object", "method": "optional chaining", "args": [ null, "md5Checksum" ], "view": { "row": 3, "col": 2 } }, { "id": 28, "type": "assign", "from": { "location": "method", "name": 27, "ptr": "/return" }, "to": { "location": "outgoing", "name": "md5", "ptr": "" } }, { "id": 29, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "" }, "to": { "location": "method", "name": 27, "ptr": "/args/0/value" } } ], "functions": [], "comments": [], "view": { "col": 4, "row": 6 }, "created": "2021-10-18T17:37:12.621Z", "createdBy": { "_id": "6159ec0261e36e1c85ec2353", "provenance": "Itential-Okta", "username": "kay.wolfe@itential.com" }, "lastUpdated": "2022-01-10T19:13:30.008Z", "lastUpdatedBy": { "_id": "6159ec0261e36e1c85ec2353", "provenance": "Itential-Okta", "username": "kay.wolfe@itential.com" }, "version": "3.17.7-2021.1.7", "tags": [] }