Itential vendor logo

Vendor

Itential

Product

Itential Automation Platform

Project Type

Workflow Project


View Repository
Workflow

Arista EOS Upgrade IAG

Overview

The Arista EOS Upgrade IAG Pre-built enables Network Engineers to save hours of manual CLI entry with an automation that executes the standard procedure to upgrade or downgrade network switches. This Pre-built contains the Arista EOS Upgrade - IAG workflow using IAP. It is supported by the Device Connection Health Check and Command Template Runner workflows.

The Arista EOS Upgrade - IAG workflow requires that the desired binary *.swi image file is already downloaded locally on the destination device's bootflash. The file integrity can be verified at the terminal using md5 before launching this Pre-built or selected as an optional verification step within the Arista EOS Upgrade input form (operator must input expected checksum, available from Arista EOS download page). At the end of the workflow, the user will be presented with a comprehensive report that lists the pre/post-checks differences. This solution is a programmtic execution of the procdure described on Arista's website here and consists of the following:

Click to expand
  • Main - Workflow (Arista EOS Upgrade - IAG)
  • Performs device prechecks.
  • Verifies device is on a different version than the requested one.
  • Verifies the desired file is present in device flash directory.
  • Optional verification of file integrity using md5 checksum.
  • Performs device commands.
    • Backup the running-config locally on flash drive dynamically naming it by job_ID.
    • Saves interfaces status to job runtime log.
    • Performs command to update the boot-config file to point to the new EOS image.
    • Performs the write command to direct the switch to load the newer image version upon the next reboot.
    • Issues the reload command to the device.
  • Waits for device to become available after reboot.
  • Confirms reliable connectivity via ping consistency with the Device Health Checks child workflow.
  • Performs postchecks to verify the device functionality running the new version.
  • Saves the new running-configurations to job runtime log and locally on flash drive dynamically name if by job_ID.
  • Shows a Pre-Post-Checks difference report.
  • Performs a back-out, if requested and returns the Start-Up Boot-Config file to the precheck state.
  • Error handling to Terminate —> Retry or Skip —> Retry
  • Command Template Runner child jobs will run the commands against the switch for:

    • Prechecks
    • Preparation
    • Upgrade
    • Write
    • Verification
    • Reload
    • Postchecks
  • Operations Manager Automation with a JSON-Form:

    • Select Zero-Touch (unselected runs automation in verbose mode automatically).
    • Requires user to select the destination device to run the automation against.
    • Requires user to select software version to point the boot-configuration to (file names are hard coded in JSON form).
    • Allows user the option to include, or not, an md5 checksum integrity validation of the image file.
    • Requires user to select Ping delay, Ping retries, and Ping consistency variables for the Device Health Check child job.

Estimated Run Time: 5 m 34s

How to Install

To install the Pre-built:

  • Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Requirements section in order to install the Pre-built.
  • The Pre-built can be installed from within App-Admin_Essential. Simply search for the name of your desired Pre-built and click the install button.