Giter VIP home page Giter VIP logo

dnac-top5's Introduction

Top 5 API to get started with Cisco DNA Center for Network Engineers

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

You will need the requests[secure] python module.

pip install requests[secure]

You change the controller credentials either through environment variables or by editing the dnac_config.py file

01_network_device.py

This script will show all of the network devices in the inventory of Cisco DNA Center.

./01_network_device.py
./01_network_device.py 10.10.22.70

02_interface_device.py

This script shows all of the interfaces connected to a specific device.


./02_interface_device.py 10.10.22.70

03_device_license.py

Shows the software license information for a device.


./03_device_license.py 10.10.22.70

04_find_host.py

Locates a host by IP address or mac address. Can also be extended to user lookup.


./04_find_host.py --ip 10.10.22.114
./04_find_host.py --mac 00:1e:13:a5:b9:40

05_path_trace.py

Traces the path from host A to host B through the network

./05_path_trace.py --srcip 10.10.22.114 --dstip 10.10.22.98

dnac-top5's People

Contributors

aradford123 avatar agentlecisco avatar annegentle avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.