Giter Site home page Giter Site logo

mastering-python-networking-fourth-edition's Introduction

Mastering-Python-Networking-Fourth-Edition

This is the code repository for Mastering Python Networking Fourth Edition, published by Packt.

Utilize Python packages and frameworks for network automation,monitoring, cloud, and management

About the book

The new edition is revised and updated with Python 3.10 along with new chapters on AsyncIO and Docker containers. The book will provide examples and guidance to manage your network, improve reliability, and simplify your task. The fourth edition also includes network context examples of Ansible, Flask, Elasticsearch, Git, GitLab and more.

What you will learn

  • Use Python to interact with network devices
  • Understand Docker as a tool that you can use for the development and deployment
  • Use Python and various other tools to obtain information from the network
  • Learn how to use ELK for network data analysis
  • Utilize Flask and construct high-level API to interact with in-house applications
  • Discover the new AsyncIO feature and its concepts in Python 3
  • Explore Test-Driven Development concepts and use PyTest to drive code test coverage
  • Understand how GitLab can be used with DevOps practices in networking

Table of Contents

Chapters

  1. Review of TCP/IP Protocol Suite and Python
  2. Low-Level Network Device Interactions
  3. APIs and Intent-Driven Networking
  4. The Python Automation Framework – Ansible
  5. Docker Containers for Network Engineers
  6. Network Security with Python
  7. Network Monitoring with Python – Part 1
  8. Network Monitoring with Python – Part 2
  9. Building Network Web Services with Python
  10. Introduction to Async IO
  11. AWS Cloud Networking
  12. Azure Cloud Networking
  13. Network Data Analysis with Elastic Stack
  14. Working with Git
  15. Continuous Integration with GitLab
  16. Test-Driven Development for Networks

If you feel this book is for you, get your copy today! Coding

Following is what you need for this book:

To get the most out of this book, some basic hands-on network operation knowledge and Python knowledge is recommended. Most of the chapters can be read in any order, except for Chapter 4 and Chapter 5, which introduce base technologies that will be used later in the book. Besides the basic software and hardware tools introduced at the beginning of the book, new tools relevant to each of the chapters will be introduced in the respective chapters. It is highly recommended to follow and practice the examples shown in your network lab.

Important Information

Refer to the Errata for corrections of typos and other mistakes and improvements like refactoring code.

Know more on the Discord server Coding

You can get more engaged on the discord server for more latest updates and discussions in the community at Discord link as text here

Download a free PDF Coding

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost. Simply click on the link to claim your free PDF. https://packt.link/free-ebook/9781803234618 Coding

We also provide a PDF file that has color images of the screenshots/diagrams used in this book at "https://packt.link/D2Ttl" Coding

Get to Know the Author

Eric Chou is a seasoned technologist with over 20 years of experience. He has worked on some of the largest networks in the industry while working at Amazon, Azure, and other Fortune 500 companies. Eric is passionate about network automation, Python, DevOps, and helping companies build better security postures. In addition to being the author of Mastering Python Networking (Packt), he is the author or co-author of other top-selling books and highly-rated online classes. Eric is the primary inventor or co-inventor for three U.S. patents in IP telephony and networking. He shares his deep interest in technology through his books, classes, blog, and contributes to some of the popular Python open source projects.

mastering-python-networking-fourth-edition's People

Contributors

ericchou1 avatar grana2codes avatar namratakpackt avatar packt-itservice avatar srishhty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mastering-python-networking-fourth-edition's Issues

Does anyone care about or maintain this repository?

The topology labs don't build because the yaml files are wrong, I've taken the time to correct them as much as I could and submitted a pull request over a month ago which has been ignored. This is frankly unacceptable for a book that was published only just this year. If the intention is that readers/students follow along with the lab, then the repository should be maintained. I can't recommend this book to anyone in the current state of this repository if the CML lab doesn't even build.

Work with latest CML version

The latest CML release replaced NX-OS (nxosv) image with NX-OS9000 (nxosv9000), more information here. Thank you GRana2codes for submitting the PR. However, after merge a error was reported by a user:

"
ERROR:

Failed: Error importing topology file: Node n4 lax-cor-r1 interface i1 Interface #1 label Ethernet2/1 is not valid for node definiton nxosv9000: defined interface label is Ethernet1/1; Node n4 lax-cor-r1 interface i2 Interface #2 label Ethernet2/2 is not valid for node definiton nxosv9000: defined interface label is Ethernet1/2; Node n4 lax-cor-r1 interface i3 Interface #3 label Ethernet2/3 is not valid for node definiton nxosv9000: defined interface label is Ethernet1/3; Node n5 nyc-cor-r1 interface i1 Interface #1 label Ethernet2/1 is not valid for node definiton nxosv9000: defined interface label is Ethernet1/1; Node n5 nyc-cor-r1 interface i2 Interface #2 label Ethernet2/2 is not valid for node definiton nxosv9000: defined interface label is Ethernet1/2; Node n5 nyc-cor-r1 interface i3 Interface #3 label Ethernet2/3 is not valid for node definiton nxosv9000: defined interface label is Ethernet1/3.
"

I am going to revert the merge for now and created this issue to track progress.

Workaround for now: please use this topology file for import but update the node definition to use nxosv9000 image if you are using brand new CML 2.6, as nxosv is no longer included in the new refplat ISO image. If you want to use the old nxosv image, you can still download it. If you have have migrated to CML 2.6 from an ealier version, this is not applicable to you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.