4

The Python Automation Framework – Ansible

The previous two chapters incrementally introduced different ways to interact with network devices. In Chapter 2, Low-Level Network Device Interactions, we discussed the Pexpect and Paramiko libraries, which manage an interactive session to control interactions. In Chapter 3, APIs and Intent-Driven Networking, we started to think of our network in terms of API and intent. We looked at various APIs that contain a well-defined command structure and provide a structured way of getting feedback from the device. As we moved from Chapter 2, Low-Level Network Device Interactions, to Chapter 3, APIs and Intent-Driven Networking, we began to think about our intent for the network. We gradually began to express ...

Get Mastering Python Networking - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.