Skip to content

Simple scripts to get started with Cisco DNA Center API

License

Notifications You must be signed in to change notification settings

bosaktrent/DNAC-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Cisco DNA Center Automation scripts

published

This repository contains some simple scripts to get started with Cisco DNA Center API.

To get started you'll need to install the required modules and edit the default controller credentials shown below.

The credentials can be found in if __name__ == '__main__':

    ip = "sandboxdnac.cisco.com"            # DNA Center cluser ip address
    username="devnetuser"                   # DNA Center username
    password="Cisco123!"                    # DNA Center password

DeviceListToExcel.py

This script gets a list of network devices from Cisco DNA Center and presents them in an Excel spreadsheet. The default filename is Device_List.xls and will be saved in the same location as DeviceListToExcel.py.

Requirements

To run this script, run the command: python3 DeviceListToExcel.py

Questions/Discussion

If you find an issue, please raise an issue within the issues section.


Trent Bosak
Cisco Technical Sales Engineer Intern

About

Simple scripts to get started with Cisco DNA Center API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages