cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
886
Views
0
Helpful
0
Comments
Orf Gelbrich
Cisco Employee
Cisco Employee

 

Task Name

UCSD - DNAC automation of downloading patches and patching DNA Center 

Description

 

Prerequisites

Validated on UCSD 6.6

Category

Workflow Task

Components

 

User Inputs

 

Output

Result of operation

 

 

Installation

  1. Download the attached .ZIP file below to your computer. *Remember the location of the saved file on your computer.
  2. Unzip the file on your computer. Should end up with a .WFDX file.
  3. Log in to UCS Director as a user that has "system-admin" privileges.
  4. Navigate to "Policies-->Orchestration" and click on "Import".
  5. Click "Browse" and navigate to the location on your computer where the .WFD file resides. Choose the .WFD file and click "Open".
  6. Click "Upload" and then "OK" once the file upload is completed. Then click "Next".
  7. Click the "Select" button next to "Import Workflows". Click the "Check All" button to check all checkboxes and then the "Select" button.
  8. Click "Submit".
  9. A new folder should appear in "Policies-->Orchestration" that contains the imported workflow. You will now need to update the included tasks with information about the specific environment.

 

This example will create the following on a DNA Center Appliance via UCS Director workflow:

 

1)       Find out how many updates DNAC appliance needs

            a) Find all new available Packages

            b) Find the installed packages on DNAC

            c) Compare the two and generate a payload for down stream consumption

2)       Download all needed packages

3) .     Wait for admin approval

4)       Install all downloaded packages.

 

The workflow will automate this download all screen: 

 

Screen Shot 2018-09-17 at 11.57.32 AM.png

The workflow will automate this update all screen: 

 

Screen Shot 2018-09-17 at 6.41.53 PM.png

 The result will be: 

 

Screen Shot 2018-09-17 at 10.08.01 PM.png

 

 

Here is the UCS Director workflow (version 2) : 

 

 

workflow_906 (1).png

 

FYI: 

  Version two has the DNAC IP hardcoded in the tasks (Needs to be made global variable)

  All the generic API tasks also have the id and password hardcoded (same as point above).

  The compare 19 custom task needs to be cleaned up (has old and new code in it)

 The system application API needs to be established (currently still needs to be done by hand) 

But I wanted to push this example out quickly in case resources are tight patching DNAC every week by hand. 

 

 

This workflow should run scheduled out of UCSD once a day. 

 

 

 

 

 

 

 

 

 

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links