Writing Cisco PnP server in Python part 1 – Network programmability stream 42

Опубликовано: 17 Июнь 2026
на канале: dmfigol live
1,476
13

The recording of the network programmability stream which occurred on 2018/03/03

On this stream I was writing Cisco Network PnP server in Python, which allows to do zero-touch provisioning for many Cisco enterprise platforms. Unfortunately, my laptop crashed in the middle of the stream and I didn't record the second part. We've managed to get to the point, where I can upload configs to the devices based on the serial number.
The code for this project is available here: https://github.com/dmfigol/cisco-pnp-...

Timecode:
0:00 – Introduction
1:35 – Top of mind this week
30:20 – What is Cisco Network PnP protocol, understanding how it works
40:30 – Setting up DHCP server for PnP in my lab
59:10 – Preparing the project and writing Python Flask hello world

Resources:
Nornir: https://nornir.readthedocs.org
RESTCONF RFC8040: https://tools.ietf.org/html/rfc8040
OpenConfig LLDP YANG: https://github.com/openconfig/public/...


Please note that this content is stream-first and it is slow-paced by design. I recommend increasing playback speed in the player settings.

Don't miss my upcoming streams at   / dmfigol  
The code is on my GitHub: https://github.com/dmfigol/network-pr...

Twitter:   / dmfigol  
Blog: https://dmfigol.me

Background music (royalty-free):
https://www.pretzel.rocks/