@itentialopensource/arista-eos-upgrade-iag
Version:
[Deprecated] This Pre-built automation performs a standard software upgrade or downgrade on Arista EOS Switch.
92 lines • 2.9 kB
JSON
{
"tags": [],
"name": "Arista EOS Upgrade",
"passRule": true,
"prepostCommands": [
{
"preRawCommand": "show ver | include Software image version:",
"postRawCommand": "show ver | include Software image version:",
"passRule": true,
"rules": [
{
"type": "!matches",
"preRegex": "Software image version:\\s.+",
"postRegex": "Software image version:\\s.+",
"evaluator": "!=",
"severity": "info",
"preRegexNumberOfLinesMatched": 1,
"preRegexFirstMatchGroups": [
"Software image version: 4.26.2F"
],
"postRegexNumberOfLinesMatched": 1,
"postRegexFirstMatchGroups": [
"Software image version: 4.26.2F"
],
"flags": {
"case": false,
"multiline": false,
"global": false
}
}
],
"preCommandResHTML": "Test a command or the template to get results here",
"postCommandResHTML": "Test a command or the template to get results here",
"preCommandValue": "show ver | include Software image version:",
"postCommandValue": "show ver | include Software image version:",
"preCommandRes": "Software image version: 4.26.2F",
"postCommandRes": "Software image version: 4.26.2F"
},
{
"preRawCommand": "show clock",
"postRawCommand": "show clock",
"passRule": true,
"rules": [
{
"type": "!matches",
"preRegex": "",
"postRegex": "",
"evaluator": "=",
"severity": "error"
}
],
"preCommandResHTML": "Test a command or the template to get results here",
"postCommandResHTML": "Test a command or the template to get results here"
},
{
"preRawCommand": "show running-config",
"postRawCommand": "show running-config",
"passRule": true,
"rules": [
{
"type": "!matches",
"preRegex": "",
"postRegex": "",
"evaluator": "=",
"severity": "info"
}
],
"preCommandResHTML": "Test a command or the template to get results here",
"postCommandResHTML": "Test a command or the template to get results here"
},
{
"preRawCommand": "show ntp status",
"postRawCommand": "show ntp status",
"passRule": true,
"rules": [
{
"type": "matches",
"preRegex": "",
"postRegex": "",
"evaluator": "=",
"severity": "error"
}
],
"preCommandResHTML": "Test a command or the template to get results here",
"postCommandResHTML": "Test a command or the template to get results here"
}
],
"created": 1634222635697,
"createdBy": "kay.wolfe@itential.com",
"lastUpdated": 1641860806916,
"lastUpdatedBy": "kay.wolfe@itential.com"
}