{"id":20593741,"url":"https://github.com/robertcsapo/cisco-pnp-ztp-guestshell","last_synced_at":"2025-06-28T02:36:28.391Z","repository":{"id":56187393,"uuid":"128519696","full_name":"robertcsapo/cisco-pnp-ztp-guestshell","owner":"robertcsapo","description":"Cisco Zero Touch Protocol (ZTP) with Python Scripts","archived":false,"fork":false,"pushed_at":"2020-11-21T19:49:28.000Z","size":16,"stargazers_count":18,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T11:04:34.069Z","etag":null,"topics":["cisco","flask","guestshell","ios-xe","pnp","provision","python","ztp"],"latest_commit_sha":null,"homepage":"https://developer.cisco.com/site/network-plug-n-play/","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/robertcsapo.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}},"created_at":"2018-04-07T10:54:36.000Z","updated_at":"2025-03-25T14:05:10.000Z","dependencies_parsed_at":"2022-08-15T14:20:25.051Z","dependency_job_id":null,"html_url":"https://github.com/robertcsapo/cisco-pnp-ztp-guestshell","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/robertcsapo%2Fcisco-pnp-ztp-guestshell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertcsapo%2Fcisco-pnp-ztp-guestshell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertcsapo%2Fcisco-pnp-ztp-guestshell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertcsapo%2Fcisco-pnp-ztp-guestshell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertcsapo","download_url":"https://codeload.github.com/robertcsapo/cisco-pnp-ztp-guestshell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975316,"owners_count":21192208,"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":["cisco","flask","guestshell","ios-xe","pnp","provision","python","ztp"],"created_at":"2024-11-16T07:49:36.133Z","updated_at":"2025-04-14T23:01:20.569Z","avatar_url":"https://github.com/robertcsapo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cisco ZTP Underlay provision script\n\n## Requirements\n* Hosted Python Flask server with ZTP scripts  \n-- main.py - main service for http  \n-- ztp.py - python bootstrap config through GuestShell  \n-- provision.py - function to wait for ZTP.  \n-- ztpcli.py - post script config  \n\n## Installation\n* Python 3.6+\n  * Download Source Code\n```\ngit clone -b https://github.com/robertcsapo/cisco-pnp-ztp-guestshell.git\n```\n  * Install python modules and start application\n```\ncd cisco-pnp-ztp-guestshell\npip install -r requirements.txt\npython main.py\n```\n  * Application running\n```\nServing Flask app \"main\" (lazy loading)\nEnvironment: production\n  WARNING: This is a development server. Do not use it in a production deployment.\n  Use a production WSGI server instead.\nDebug mode: off\nRunning on http://0.0.0.0:8000/ (Press CTRL+C to quit)\n```\n\n## Supported on Cisco IOS-XE 16.6+\n## How to Configure the DHCP pool (on IOS-XE)\n```\nDevice\u003e enable\nDevice# configure terminal\nDevice(config)# ip dhcp pool pnp_device_pool\nDevice(config-dhcp)# network 10.1.1.0 255.255.255.0\nDevice(config-dhcp)# default-router 10.1.1.1\nDevice(config-dhcp)# option 67 ascii http://198.51.100.1/http.py\nDevice(config-dhcp)# end\n```\n### For more examples\n\nCisco IOS-XE 17.2  \nhttps://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/172/b_172_programmability_cg/zero_touch_provisioning.html  \nCisco IOS-XE 16.6  \nhttps://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg/zero_touch_provisioning.html  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertcsapo%2Fcisco-pnp-ztp-guestshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertcsapo%2Fcisco-pnp-ztp-guestshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertcsapo%2Fcisco-pnp-ztp-guestshell/lists"}