Artículos relacionados a Practical Python for Network Operations: Hands-on Automate,...

Practical Python for Network Operations: Hands-on Automate, Administer and Validate Enterprise Networks using Python 3.14, NETCONF, Ansible, Nornir, gNMI and CI Pipelines - Tapa blanda

Windsor, Odette

 
9788117136010: Practical Python for Network Operations: Hands-on Automate, Administer and Validate Enterprise Networks using Python 3.14, NETCONF, Ansible, Nornir, gNMI and CI Pipelines

Sinopsis

In today's landscape, the success of enterprise networks hinges on proficiency in understanding how networks behave, and knowing how to optimise their performance at scale. Therefore, this book is written for professionals who already know the basics and want to learn about scaling up. Covering Python 3.14 as an everyday operations tool, this book is a must-read for network engineers, network and system administrators, network architects and enterprise architects. It teaches you to transform a basic reachability probe into a complete application which can audit routers, Linux hosts, cloud accounts, and Kubernetes clusters.

You will practically experience automating devices over SSH, NETCONF and RESTCONF; managing Linux networking through netlink, and switching from SNMP polling to gNMI streaming telemetry for monitoring. It covers everything from hardening firewalls, TLS and VPNs to building your own network API with FastAPI, managing configuration with NAPALM, Nornir, NetBox and Ansible, and validating every change in a CI pipeline with Batfish and pyATS before it reaches production. Each step is accompanied by a dry run and a rollback option, and every lab runs in containers on your own machine.


Key Learnings

  • Build your Python 3.14 tooling, and choosing between free-threaded and standard builds.
  • Automate multi-vendor devices using Netmiko and Scrapli.
  • Parse device output using TextFSM, TTP and Genie over Regex.
  • Apply safe changes using NETCONF candidate datastores, confirmed commits and automatic rollback.
  • Manage Linux interfaces, routes and namespaces using netlink with pyroute2.
  • Scale to hundreds of devices using asyncio TaskGroups, timeouts and semaphores.
  • Replace SNMP polling with gNMI streaming telemetry for Prometheus and OpenTelemetry.
  • Automate firewalls, TLS audits, WireGuard tunnels and CIS compliance checks.
  • Drive configuration from NetBox through Nornir, Jinja2, NAPALM and Ansible.
  • Validate changes in CI before production using Batfish, pyATS and Containerlab.

Table of Content

  1. Building Python 3.14 Network Toolkit
  2. Probing Networks with Raw Sockets
  3. Talking to HTTP, DNS and WebSocket Services
  4. Automating Network Devices over SSH
  5. Configuring Devices with NETCONF, RESTCONF and YANG
  6. Managing Linux Host Networking
  7. Scaling Fleet Operations with Concurrency
  8. Monitoring Networks with Streaming Telemetry
  9. Securing Networks and Automation Credentials
  10. Building and Consuming Network APIs
  11. Managing Configuration across the Fleet
  12. Running Network Changes with Ansible
  13. Testing and Shipping Network Changes with CI/CD
  14. Auditing Cloud and Kubernetes Networks

Target Audience

To read this book, you don't need to be a seasoned networking professional. All you need is a sense of curiosity, access to a terminal, and a willingness to let the computer handle the repetitive tasks.

"Sinopsis" puede pertenecer a otra edición de este libro.