{"id":20589339,"url":"https://github.com/ciscodevnet/dnac-top5","last_synced_at":"2025-04-14T22:06:13.546Z","repository":{"id":80629955,"uuid":"136671155","full_name":"CiscoDevNet/DNAC-Top5","owner":"CiscoDevNet","description":"Simple scripts to get started with Cisco DNA Center API.","archived":false,"fork":false,"pushed_at":"2019-11-12T13:26:16.000Z","size":14,"stargazers_count":27,"open_issues_count":0,"forks_count":26,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-14T22:05:58.795Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CiscoDevNet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-06-08T22:23:54.000Z","updated_at":"2025-03-25T14:05:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f5a8e69-bbcf-45e5-a627-1cdcf5afbb0e","html_url":"https://github.com/CiscoDevNet/DNAC-Top5","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2FDNAC-Top5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2FDNAC-Top5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2FDNAC-Top5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2FDNAC-Top5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CiscoDevNet","download_url":"https://codeload.github.com/CiscoDevNet/DNAC-Top5/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968834,"owners_count":21191160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T07:28:53.143Z","updated_at":"2025-04-14T22:06:13.502Z","avatar_url":"https://github.com/CiscoDevNet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Top 5 API to get started with Cisco DNA Center for Network Engineers\n\nThis repository contains a few simple scripts to get started with Cisco DNA Center API.\n\nYou will need the requests[secure] python module.\n\n```buildoutcfg\npip install requests[secure]\n```\n\nYou change the controller credentials either through environment variables or by editing the dnac_config.py file\n## 01_network_device.py\nThis script will show all of the network devices in the inventory of Cisco DNA Center.\n```buildoutcfg\n./01_network_device.py\n./01_network_device.py 10.10.22.70\n\n```\n## 02_interface_device.py\nThis script shows all of the interfaces connected to a specific device.\n```buildoutcfg\n\n./02_interface_device.py 10.10.22.70\n\n```\n## 03_device_license.py\nShows the software license information for a device.\n```buildoutcfg\n\n./03_device_license.py 10.10.22.70\n\n```\n## 04_find_host.py\nLocates a host by IP address or mac address. Can also be extended to user lookup.\n```buildoutcfg\n\n./04_find_host.py --ip 10.10.22.114\n./04_find_host.py --mac 00:1e:13:a5:b9:40\n```\n## 05_path_trace.py\nTraces the path from host A to host B through the network\n```buildoutcfg\n./05_path_trace.py --srcip 10.10.22.114 --dstip 10.10.22.98\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciscodevnet%2Fdnac-top5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fciscodevnet%2Fdnac-top5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciscodevnet%2Fdnac-top5/lists"}