{"id":16162947,"url":"https://github.com/eiddor/dna-center-automation-development","last_synced_at":"2026-07-03T15:04:52.328Z","repository":{"id":225888170,"uuid":"482875746","full_name":"eiddor/dna-center-automation-development","owner":"eiddor","description":"Cisco DNA Center automation (WIP)","archived":false,"fork":false,"pushed_at":"2024-04-09T15:39:56.000Z","size":44,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T04:24:26.409Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/eiddor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-18T14:24:56.000Z","updated_at":"2023-09-16T13:28:35.000Z","dependencies_parsed_at":"2024-11-02T08:32:35.063Z","dependency_job_id":null,"html_url":"https://github.com/eiddor/dna-center-automation-development","commit_stats":null,"previous_names":["eiddor/dna-center-automation-development"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eiddor/dna-center-automation-development","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiddor%2Fdna-center-automation-development","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiddor%2Fdna-center-automation-development/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiddor%2Fdna-center-automation-development/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiddor%2Fdna-center-automation-development/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eiddor","download_url":"https://codeload.github.com/eiddor/dna-center-automation-development/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiddor%2Fdna-center-automation-development/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35090457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-10T02:33:58.076Z","updated_at":"2026-07-03T15:04:52.281Z","avatar_url":"https://github.com/eiddor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cisco ~~DNA~~ Catalyst Center Basic Automation\nI've created this repo to help me setup a basic config on Cisco Catalyst Center for my lab environment.\n\nIt's similar to this: https://github.com/eiddor/ise-automation-python\n\nOriginal repo is here: https://github.com/cisco-en-programmability/dnacenter_fabric_operations\n\nThis repo uses Cisco Catalyst Center REST APIs to:\n\n- create a new area, buildings, and floors\n- populate network settings\n- create new Global pool, Reserve subpools and LAN pools for LAN Automation and SDA Transit\n\n\n**Cisco Products \u0026 Services:**\n\n- Cisco Catalyst Center\n\n**Tools \u0026 Frameworks:**\n\n- Python virtual environment to run the application\n- Cisco DNA Center Python SDK\n\n**Usage**\n\n- Create a new Python virtual environment, and activate it - https://docs.python.org/3.9/library/venv.html\n\n\n- Install the Python libraries from the \"requirements.txt\" file -\n    - (venv) dnacenter_fabric_operations % pip3 install -r requirements.txt\n\n\n- Create your \"environment.env\" file:\n\n```\n# Cisco DNA Center\nDNAC_URL = 'DNA Center URL/IP address'\nDNAC_USER = 'username'\nDNAC_PASS = 'password'\n```\n\n- Sample \"fabric_operations.yml\"\n\n```\narea_info:\n  name: OR\n  hierarchy: Global\n\nbuilding_info:\n  name: BEAV\n  address: 1600 Northeast Compton Drive, Beaverton, Oregon 97006, United States\n  lat: 45.532297\n  long: -122.881111\n\nfloor_info:\n  name: Main\n  number: 1\n  rf_model: Cubes And Walled Offices\n  width: 100\n  length: 50\n  height: 10\n\nnetwork_settings:\n  dns_server: 171.70.168.183\n  dhcp_server: 10.93.141.1\n  ntp_server: 171.68.38.66\n  syslog_server: 10.93.141.37\n  aaa_server: 10.93.141.38\n\ndevices_info:\n  device_ips: [10.93.141.20, 10.93.141.28, 10.93.141.17]\n  device_roles: [control-plane, border, edge]\n\nfabric_info:\n  name: Main\n\nip_pool:\n  name: Global_Fabric_Pool\n  type: Generic\n  subnet: 10.200.0.0/20\n  gateway: 10.200.1.1\n  dhcp_server: 10.93.141.46\n  dns_server: 10.93.141.46\n  address_family: IPv4\n\nip_sub_pool:\n  name: BEAV_Fabric_Subpool\n  type: Generic\n  subnet: 10.200.1.0/24\n  gateway: 10.200.1.1\n  dhcp_server: 10.93.141.46\n  dns_server: 10.93.141.46\n  address_family: IPv4\n\nip_transit_pool:\n  name: BEAV_Transit_Pool\n  type: Generic\n  subnet: 10.200.2.0/24\n  gateway: 10.200.2.1\n  dhcp_server: 10.93.141.46\n  address_family: IPv4\n\nl3_vn:\n  name: Servers\n\ncontrol_plane_devices:\n  ip: [10.93.141.20]\n\nborder_devices:\n  ip: [10.93.141.28]\n  routing_protocol: BGP\n  internal_bgp_as: 65001\n  external_bgp_as: 65002\n  external_interface: TenGigabitEthernet1/1/1\n  transit_network: IP_Transit\n  transit_vlan: 602\n\nedge_devices:\n  ip: [10.93.141.17]\n\nauth_profile:\n  name: No Authentication\n\n```\n\n- Create using the Cisco DNA Center UI an IP transit network (if not already existing). \nIn the provided \"fabric_operations.yml\" file the name of the IP transit network is \"IP_Transit\" \n\n\n- The command to run the SDA-as-Code app:\n\n    - (venv) dnacenter_fabric_operations % python3 create_fabric_site.py\n\n\n-------\n\n\n**License**\n\nThis project is licensed to you under the terms of the [Cisco Sample Code License](./LICENSE).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feiddor%2Fdna-center-automation-development","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feiddor%2Fdna-center-automation-development","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feiddor%2Fdna-center-automation-development/lists"}