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

Task Name

DNA Center 

Get the current number of devices in DNA Center

Get Information on a device by device IP address

Description
Prerequisites

vCenter

CategoryWorkflow
ComponentsUCSD 6.6
User Inputs
Output

Instructions for Regular Workflow Use:

  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 .WFD 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 .WFDX file resides. Choose the .WFDX 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.

The workflows:

Screen Shot 2018-07-09 at 7.48.46 AM.png

The workflow:

Screen Shot 2018-07-09 at 7.51.17 AM.png

API call info:

     /api/system/v1/auth/token

Screen Shot 2018-07-09 at 7.51.51 AM.png

Screen Shot 2018-07-09 at 7.52.08 AM.png

Input:

Screen Shot 2018-07-09 at 7.53.13 AM.png

API task 2:

Screen Shot 2018-07-09 at 7.53.57 AM.png

Screen Shot 2018-07-09 at 7.54.05 AM.png

Screen Shot 2018-07-09 at 7.54.15 AM.png

The mapping from previous API task:

Screen Shot 2018-07-09 at 7.54.28 AM.png

Screen Shot 2018-07-09 at 7.54.34 AM.png

Workflow run:

Screen Shot 2018-07-09 at 7.56.11 AM.png

Device count in this case is 11 (11 devices are in DNA Center) :

Screen Shot 2018-07-09 at 7.56.21 AM.png

Workflow #2 Getting device information by IP address:

Workflow:

Screen Shot 2018-07-09 at 7.57.39 AM.png

/api/v1/network-device/ip-address/@{ipAddress}

Screen Shot 2018-07-09 at 7.58.00 AM.png

Screen Shot 2018-07-09 at 7.58.07 AM.png

Screen Shot 2018-07-09 at 7.58.16 AM.png

Workflow run:

Screen Shot 2018-07-09 at 7.58.32 AM.png

Screen Shot 2018-07-09 at 8.00.07 AM.png

Output:

Screen Shot 2018-07-09 at 8.00.21 AM.png

Workflows:

Screen Shot 2018-07-09 at 8.01.16 AM.png

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