Python Network Programming Techniques: 50 real-world recipes to automate infrastructure networks and overcome networking challenges with Python

0
(0)

Python Network Programming Techniques: 50 real-world recipes to automate infrastructure networks and overcome networking challenges with Python
 

  • Author:Marcel Neidinger
  • Length: 340 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2021-10-08
  • ISBN-10: 1838646639
  • ISBN-13: 9781838646639
  • Sales Rank: #7758179 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Become well-versed with network programmability by solving the most commonly encountered problems using Python 3 and open-source packages

    Key Features

    • Explore different Python packages to automate your infrastructure
    • Leverage AWS APIs and the Python library Boto3 to administer your public cloud network efficiently
    • Get started with infrastructure automation by enhancing your network programming knowledge

    Book Description

    Network automation offers a powerful new way of changing your infrastructure network. Gone are the days of manually logging on to different devices to type the same configuration commands over and over again. With this book, you’ll find out how you can automate your network infrastructure using Python.

    You’ll get started on your network automation journey with a hands-on introduction to the network programming basics to complement your infrastructure knowledge. You’ll learn how to tackle different aspects of network automation using Python programming and a variety of open source libraries. In the book, you’ll learn everything from templating, testing, and deploying your configuration on a device-by-device basis to using high-level REST APIs to manage your cloud-based infrastructure. Finally, you’ll see how to automate network security with Cisco’s Firepower APIs.

    By the end of this Python network programming book, you’ll have not only gained a holistic overview of the different methods to automate the configuration and maintenance of network devices, but also learned how to automate simple to complex networking tasks and overcome common network programming challenges.

    What you will learn

    • Programmatically connect to network devices using SSH (secure shell) to execute commands
    • Create complex configuration templates using Python
    • Manage multi-vendor or multi-device environments using network controller APIs or unified interfaces
    • Use model-driven programmability to retrieve and change device configurations
    • Discover how to automate post modification network infrastructure tests
    • Automate your network security using Python and Firepower APIs

    Who this book is for

    This book is for network engineers who want to make the most of Python to automate their infrastructure. A basic understanding of Python programming and common networking principles is necessary.

    Table of Contents

    1. A Primer on Python 3
    2. Connecting to Network Devices via SSH Using Paramiko
    3. Building Configuration Templates Using Jinja2
    4. Configuring Network Devices Using Netmiko
    5. Model-Driven Programmability with NETCONF and ncclient
    6. Automating Complex Multi-Vendor Networks with NAPALM
    7. Automating Your Network Tests and Deployments with pyATS and Genie
    8. Configuring Devices Using RESTCONF and requests
    9. Consuming Controllers and High-Level Networking APIs with requests
    10. Incorporating Your Python Scripts into an Existing Workflow by Writing Custom Ansible Modules
    11. Automating AWS Cloud Networking Infrastructure Using the AWS Python SDK
    12. Automating Your Network Security Using Python and the Firepower APIs

    中文:

    书名:Python Network Programming Techniques: 50 real-world recipes to automate infrastructure networks and overcome networking challenges with Python

    通过使用Python3和开源包解决最常见的问题,精通网络可编程性

    Key Features

    • 探索不同的Python包以自动化您的基础架构
    • 利用AWS API和Python库Boto3高效管理您的公共云网络
    • 通过增强您的网络编程知识开始基础设施自动化

    Book Description

    网络自动化为改变您的基础设施网络提供了一种强大的新方法。手动登录不同设备反复键入相同配置命令的日子已经一去不复返了。通过这本书,您将了解如何使用Python自动化您的网络基础设施。

    您将通过对网络编程基础知识的实践介绍开始您的网络自动化之旅,以补充您的基础设施知识。您将学习如何使用Python编程和各种开源库处理网络自动化的不同方面。在这本书中,您将了解到从逐个设备地模板化、测试和部署您的配置到使用高级REST API来管理基于云的基础架构的方方面面。最后,您将了解如何使用思科的FirePOWER API实现网络安全自动化。

    读完这本《Python网络编程》一书,您不仅对自动化配置和维护网络设备的不同方法有了全面的了解,还学会了如何自动执行从简单到复杂的网络任务和克服常见的网络编程挑战。

    What you will learn

    • Programmatically connect to network devices using SSH (secure shell) to execute commands
    • 使用Python创建复杂的配置模板
    • 使用网络控制器API或统一界面管理多供应商或多设备环境
    • Use model-driven programmability to retrieve and change device configurations
    • 了解如何自动执行修改后的网络基础架构测试
    • Automate your network security using Python and Firepower APIs

    Who this book is for

    这本书是为想要充分利用Python来自动化其基础设施的网络工程师而写的。必须对Python编程和常见的网络原则有基本的了解。

    Table of Contents

    1. A Primer on Python 3
    2. 使用Paramiko通过SSH连接到网络设备
    3. Building Configuration Templates Using Jinja2
    4. Configuring Network Devices Using Netmiko
    5. 通过NETCONF和ncclient实现模型驱动的可编程性
    6. 使用凝固汽油弹实现复杂多供应商网络的自动化
    7. 使用pyATS和Genie自动执行网络测试和部署
    8. 使用RESTCONF和请求配置设备
    9. 通过请求使用控制器和高级网络API
    10. 通过编写自定义可解析模块将您的Python脚本整合到现有工作流中
    11. Automating AWS Cloud Networking Infrastructure Using the AWS Python SDK
    12. 使用Python和FirePOWER API实现网络安全自动化
  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册