Cisco Systems vendor logo

Vendor

Cisco Systems

Product

NX-OS

OS Versions:

^3.227.0+2023.1.33

Method

IAG

Category

Data Center

Project Type

Workflow Project


View Repository
Workflow

Cisco NX-OS Device - Example Use Cases - Managed by CLI in IAG

Overview

This Pre-Built Automation bundle contains several example use cases that are applicable when the Itential Automation Platform is integrated with Cisco NX-OS using the device CLI. Because every environment is different, these use cases are fully functioning examples that can be easily modified to operate in your specific environment. These workflows have been written with modularity in mind to make them easy to understand and simple to modify to suit your needs.

Workflows

NameOverview
Software Upgrade - NX-OSThis example use case automates the procedure of upgrading the software on a Cisco NX-OS network device.

For further technical details on how to install and use this Workflow Project, please click the Technical Documentation tab.

Table of Contents

Getting Started

This section is helpful for deployments as it provides you with pertinent information on prerequisites and properties.

Helpful Background Information

Workflows often include logic that varies from business to business. As a result, we often find that our Workflow Projects are more useful as modular components that can be incorporated into a larger process. In addition, they often can add value as a learning tool on how we integrate with other systems and how we do things within the Itential Automation Platform.

While these can be utilized, you may find more value in using them as a starting point to build around.

Prerequisites

Itential Workflow Projects are built and tested on particular versions of IAP. In addition, Workflow Projects are often dependent on external systems and as such, these Workflow Projects will have dependencies on these other systems. This version of Cisco - NX-OS - IAG has been tested with:

  • IAP 2023.2

External Dependencies

NameOS VersionAPI Version
Itential Automation Gateway (IAG)^3.227.0+2023.1.33

Adapters

NameVersionConfiguration Notes
adapter-automation_gateway4.29.0-2023.1.12.0

How to Install

To install the Workflow Project:

  • Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Supported IAP Versions section in order to install the Example Project.
  • Import the Example Project in Admin Essentials.

Testing

Cypress is generally used to test all Itential Example Projects. While Cypress is an opensource tool, at Itential we have internal libraries that have been built around Cypress to allow us to test with a deployed IAP.

When certifying our Example Projects for a release of IAP we run these tests against the particular version of IAP and create a release branch in GitLab. If you do not see the Example Project available in your version of IAP please contact Itential.

While Itential tests this Example Project and its capabilities, it is often the case the customer environments offer their own unique circumstances. Therefore, it is our recommendation that you deploy this Example Project into a development/testing environment in which you can test the Example Project.

Using this Workflow Project

Workflow Projects contain 1 or more workflows. Each of these workflows have different inputs and outputs.

Software Upgrade - NX-OS

This example use case automates the procedure of upgrading the software on a Cisco NX-OS network device.

Capabilities include:

  • Verify current software version and check if the image file used for upgrade is on the device
  • Run pre-check commands
  • Execute the installation of the new software
  • Perform device connection test after software installation
  • Verify the new NX-OS image is now active on the device after reload
  • Run post-check commands
  • Optionally show the difference between the pre-check and post-check results

Entry Point IAP Component

The primary IAP component to run Software Upgrade - NX-OS is listed below:

IAP Component NameIAP Component Type
Software Upgrade - NX-OSWorkflow

Inputs

The following table lists the inputs for Software Upgrade - NX-OS:

NameTypeRequiredDescriptionExample Value
deviceNamestringyesName of the device in IAG to upgrade
CiscoNXOS
suppressFailureMessagebooleanyesWhether or not to suppress all manual tasks on failure event occurring
false
suppressSuccessMessagebooleanyesWhether or not to suppress all manual tasks on success event occurring
false
versionstringyesFirmware image used to upgrade
nxos.9.2.2.bin
flashMemorystringyesOnboard flash memory storage
bootflash:

Outputs

There are no outputs for Software Upgrade - NX-OS.

Query Output

There are no query output examples for Software Upgrade - NX-OS.

Example Inputs and Outputs

Example 1

Input:

{
  "version": "nxos.9.2.2.bin",
  "flashMemory": "bootflash:",
  "suppressSuccessMessage": true,
  "suppressFailureMessage": true,
  "deviceName": "CiscoNXOS"
} 

Output:

{} 

API Links

No API Links provided.


Additional Information

Support

Please use your Itential Customer Success account if you need support when using this Workflow Project.