Skip to Content
Python Network Programming Techniques
book

Python Network Programming Techniques

by Marcel Neidinger
October 2021
Intermediate to advanced
340 pages
6h 51m
English
Packt Publishing
Content preview from Python Network Programming Techniques

Chapter 8: Configuring Devices Using RESTCONF and requests

In Chapter 5, Model-Driven Programmability with NETCONF and ncclient, we already saw how you can use Yet Another Next Generation (YANG) modules to model a network device's configuration and then use the network configuration (NETCONF) protocol to either retrieve or change the configuration of your device. The aim of NETCONF was to provide a unified interface for these operations. However, one major drawback of NETCONF is its rather unmodern reliance on Extensible Markup Language (XML) as the language of choice for describing the data as well as the operations you want to carry out. To solve this, the Internet Engineering Task Force (IETF) came up with the concept of REpresentational ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Python Networking - Second Edition

Learning Python Networking - Second Edition

José Manuel Ortega, Dr. M. O. Faruque Sarker, Sam Washington
Python Network Programming Cookbook - Second Edition

Python Network Programming Cookbook - Second Edition

Pradeeban Kathiravelu, Dr. M. O. Faruque Sarker

Publisher Resources

ISBN: 9781838646639Supplemental Content