@itentialopensource/arista-eos-upgrade-iag
Version:
[Deprecated] This Pre-built automation performs a standard software upgrade or downgrade on Arista EOS Switch.
294 lines (293 loc) • 9.05 kB
JSON
{
"id": "61df2fe35278885ed5812f68",
"created": "2022-01-12T19:43:05.513Z",
"createdBy": "zack.strulovitch@itential.com",
"lastUpdated": "2022-01-12T19:47:31.812Z",
"lastUpdatedBy": "zack.strulovitch@itential.com",
"name": "Arista EOS Upgrade",
"description": "User input form for Arista EOS Upgrade",
"struct": {
"type": "array",
"items": [
{
"nodeId": "cecd8402-4b5d-4497-998b-dc8f26944b75",
"type": "string",
"title": "EOS Device",
"description": "",
"placeholder": "Select a device",
"required": true,
"enum": [],
"binding": true,
"rel": "collection",
"targetPointer": "/enum",
"method": "POST",
"base": "/configuration_manager",
"href": "/devices",
"body": {
"options": {
"limit": 2000,
"start": 0,
"sort": [
{
"name": -1,
"address": 1,
"port": -1
}
],
"order": "ascending"
}
},
"sourceKeyPointer": "/name",
"transformation": "",
"sourcePointer": "/list"
},
{
"nodeId": "21a7b79f-7e61-4bc4-9460-1dbbd703824f",
"type": "string",
"title": "Image file",
"description": "Files must be already located on the device prior to the start of this workflow.",
"placeholder": "fileName.swi",
"required": true,
"enum": [
{
"id": "91ae98e9-ceb1-456e-9eda-8e7fb25ae8c2",
"label": "vEOS64-lab-4.26.2F.swi",
"value": "vEOS64-lab-4.26.2F.swi"
},
{
"id": "9c04c56d-339a-4cc8-8e14-94e9f7ef26dc",
"label": "vEOS64-lab-4.25.5.1M.swi",
"value": "vEOS64-lab-4.25.5.1M.swi"
}
],
"binding": false,
"rel": "collection",
"targetPointer": "/enum",
"method": null,
"base": null,
"href": null,
"sourcePointer": null,
"sourceKeyPointer": null
},
{
"nodeId": "bb5bb46a-6494-4f37-90e6-751f7adefcae",
"type": "string",
"title": "MD5 checksum",
"description": "*Optional. The MD5 checksum is available from the EOS download page of the Arista website.",
"placeholder": "(Optional) Enter the MD5 checksum value.",
"required": false,
"readOnly": false,
"binding": false,
"rel": "item",
"targetPointer": "/default"
},
{
"nodeId": "61fbf9f8-ffd7-41bd-b80d-efdfe8617d13",
"type": "boolean",
"title": "Zero Touch",
"description": "Check “Zero Touch” to run sunny day path end to end with no manual tasks. Leave unchecked to run automation in Verbose mode to view MOP template results and all error logging.",
"default": true,
"enum": [
{
"id": "b7444382-e4ba-423f-af61-6a7d6ff1376e",
"value": true
},
{
"id": "a1209b4d-5c14-4b27-ac53-8f55c46dab27",
"value": false
}
]
},
{
"nodeId": "f1d62ead-1f46-4d49-aafe-7fcc4f51f70f",
"type": "object",
"description": "",
"items": [
{
"nodeId": "4f78a073-7d8f-48d4-9f78-a3e98c4984d2",
"type": "number",
"widget": "updown",
"title": "Ping Delay",
"description": "Number of seconds to wait before trying to establish a connection with the device after a failed ping. *Minimum required 60 seconds",
"placeholder": "Enter number of seconds (min. 60)",
"required": true,
"minimum": 60
},
{
"nodeId": "f941edf2-406d-4e77-958f-dc87675425fc",
"type": "number",
"widget": "updown",
"title": "Number of Retries",
"description": "Maximum number of times to reattempt pings for a successful connection with the device before concluding failure.",
"placeholder": "Enter a number",
"required": true,
"minimum": 1
},
{
"nodeId": "89d6aa73-859a-4bc9-b3bf-0a210a59d6da",
"type": "number",
"widget": "updown",
"title": "Number of Retries Stability",
"description": "The number requirement for consecutive successful pings (to validate interface stability).",
"placeholder": "Enter a number",
"required": true,
"minimum": 1
}
],
"title": "Health Check Variables"
}
]
},
"schema": {
"title": "Arista EOS Upgrade",
"description": "User input form for Arista EOS Upgrade",
"type": "object",
"required": [
"eosDevice",
"imageFile"
],
"properties": {
"eosDevice": {
"type": "string",
"title": "EOS Device",
"description": "",
"enum": []
},
"imageFile": {
"type": "string",
"title": "Image file",
"description": "Files must be already located on the device prior to the start of this workflow.",
"enum": [
"vEOS64-lab-4.26.2F.swi",
"vEOS64-lab-4.25.5.1M.swi"
]
},
"md5Checksum": {
"type": "string",
"title": "MD5 checksum",
"description": "*Optional. The MD5 checksum is available from the EOS download page of the Arista website."
},
"zeroTouch": {
"type": "boolean",
"title": "Zero Touch",
"description": "Check “Zero Touch” to run sunny day path end to end with no manual tasks. Leave unchecked to run automation in Verbose mode to view MOP template results and all error logging.",
"default": true,
"enum": [
true,
false
]
},
"healthCheckVariables": {
"type": "object",
"title": "Health Check Variables",
"description": "",
"required": [
"pingDelay",
"numberOfRetries",
"numberOfRetriesStability"
],
"properties": {
"pingDelay": {
"type": "number",
"title": "Ping Delay",
"description": "Number of seconds to wait before trying to establish a connection with the device after a failed ping. *Minimum required 60 seconds",
"minimum": 60
},
"numberOfRetries": {
"type": "number",
"title": "Number of Retries",
"description": "Maximum number of times to reattempt pings for a successful connection with the device before concluding failure.",
"minimum": 1
},
"numberOfRetriesStability": {
"type": "number",
"title": "Number of Retries Stability",
"description": "The number requirement for consecutive successful pings (to validate interface stability).",
"minimum": 1
}
}
}
}
},
"uiSchema": {
"eosDevice": {
"ui:placeholder": "Select a device"
},
"imageFile": {
"ui:placeholder": "fileName.swi"
},
"md5Checksum": {
"ui:placeholder": "(Optional) Enter the MD5 checksum value."
},
"healthCheckVariables": {
"ui:collapseByDefault": false,
"items": {
"pingDelay": {
"ui:placeholder": "Enter number of seconds (min. 60)",
"ui:widget": "updown"
},
"numberOfRetries": {
"ui:placeholder": "Enter a number",
"ui:widget": "updown"
},
"numberOfRetriesStability": {
"ui:placeholder": "Enter a number",
"ui:widget": "updown"
}
}
}
},
"bindingSchema": {
"properties": {
"eosDevice": {
"binding:method": "POST",
"binding:link": {
"$ref": "/links",
"rel": "collection"
},
"binding:body": {
"options": {
"limit": 2000,
"start": 0,
"sort": [
{
"name": -1,
"address": 1,
"port": -1
}
],
"order": "ascending"
}
},
"binding:target": {
"propertyPointer": "/enum"
},
"binding:hyperSchema": {
"type": "object",
"base": "/configuration_manager",
"links": [
{
"rel": "collection",
"href": "/devices",
"targetMediaType": "application/json",
"targetSchema": {
"$ref": "#"
}
}
]
},
"binding:source": {
"propertyPointer": "/list",
"keyPointer": "/name"
}
},
"healthCheckVariables": {
"properties": {}
}
}
},
"validationSchema": {
"healthCheckVariables": {}
},
"version": "2020.1"
}