Monday, September 11, 2017

Book review of "Mastering Python Networking"

Last month I had a change to get a hold of the book “MasteringPython Networking” by Eric Chou from Packt Publishing

I worked as a software developer for a networking company writing value-added firmware on top of the hardware based switching and routing engine. With in-depth knowledge and experience I still find this book very useful for me.

Below is the table of content and brief summary of the book that I got from the Packt Publishing site:

Table of Content
  1. Review of TCP/IP Protocol Suite and Python Language
  2. Low-Level Network Device Interactions
  3. API and Intent-Driven Networking
  4. The Python Automation Framework - Ansible Basics
  5. The Python Automation Framework - Ansible Advance Topic
  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. OpenFlow Basics
  11.  Advanced OpenFlow Topics
  12. OpenStack, OpenDaylight, and NFV
  13. Hybrid SDN

What You Will Learn
  • Review all the fundamentals of Python and the TCP/IP suite
  • Use Python to execute commands when the device does not support the API or programmatic interaction with the device
  • Implement automation techniques by integrating Python with Cisco, Juniper, and Arista eAPI
  • Integrate Ansible using Python to control Cisco, Juniper, and Arista networks
  • Achieve network security with Python
  • Build Flask-based web-service APIs with Python
  • Construct a Python-based migration plan from a legacy to scalable SDN-based network.
This book is written in a very logical manner covering from the basics to the more advanced topics. Integrating networking and Python automation into one and to show the reader how to build a lab environment to try out what is covered in the book. This hands-on adds value to this book because it is not just theory.  We engineers like to get our feet wet and try things out ourselves.

This book is pretty comprehensive as it covers automaton of networking device from Cisco, Juniper and Arista Network. The 3 main areas are:

Automation with Python/Ansible
Two chapters were dedicated to this topic and again it cover the basics of Ansible and them move on the more advanced topic of using programming techniques to make Ansible more powerful and useful in automating the network. It also covered Ansible vault and to show how we can write customized modules.

Network Security with Python
Security is also an essential element that a network engineer has to deal with. One chapter of this book is dedicated to talk about different tools that can be used to automate some day to day task for network security including packet sniffing, port scanning, searching syslog and to automate writing Access Control List (ACLs) with Ansible.  This chapter also introduces the tool PythonScapy.

Network Monitoring with Python
Two chapters were dedicated for network monitoring. It first introduced the various Python based tools for network monitoring and then moving on to the more detail description of Graphviz on how we can better visualize the network, how to parse Netflow with Python and the use of AWS based Elasticsearch for ELK stack.

Python is a powerful and easy to use framework for web based applications. In this book one chapter is used to describe how to build a Network Web Services with Python and some reader may find this useful.

The last 4 chapters of this book were about the near matured technology – SDN. Emphasis are put in talking about Open vSwitch/OpenFlow and then this book touched on briefly the SDN ecosystem such as OpenStack and OpenDayLight with instruction on how to try out OpenStack Newtron 

This book ended with a chapter on moving forward with a hybrid SDN mixing the legacy network with the newer technology of SDN.

Overall, I highly recommend this book for all network engineers and to a certain degree software developers who want to get into the field of networking.


  1. this article help us to learn fundamental knowledge about python.
    Digital Marketing Company in India

  2. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with
    excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us.

    SEO Company in India

  3. Very nice post.really I apperciate your blog.Thanks for sharing.keep sharing more blogs.


  4. Very knowledgeable information abut POS software, i like this. Please Visit:

    cloud pos
    point of sales softwares
    pos app

  5. This comment has been removed by the author.

  6. The information on this blog is very useful and very interesting. If anyone needs to know about these just check at Devops Online Course

  7. This comment has been removed by the author.

  8. Really, these quotes are the holistic approach towards mindfulness. In fact, all of your posts are. Proudly saying I’m getting fruitfulness out of it what you write and share. Thank you so much to both of you.
    Fleet Management Software
    Human Resources Management Software
    Logistics Software
    Manufacturing ERP

  9. is an online platform that allows people to find offers and the greatest deals in and around OMR. It is the directory of the business in and around omr. It helps internet users to surf the required deals and offers.

    Offers in Chennai

  10. Thanks for providing wonderful information with us, keep share content on Devops Online Training Bangalore

  11. I read this blog it's really fantastic keep update more content on Devops Online Training Hyderabad

  12. Pictures Online is one firm at the forefront of document storage technologies. It is now possible to have every one your significant paper documentation and uploaded to Cloud Document Storage so you can get rid of your paper versions and free up that space in your office.

  13. This comment has been removed by the author.

  14. Thanks for this informative post to help people who wants become masters in python training in Hyderabad

  15. Usually the blog you posted is very useful to us thanks for posting this blog. Please contact us for Oracle R12 Financials Training in Hyderabad details in our Erptree Training Institute

  16. Thanks for sharing informative blog. Few Things You Should Know visit here :
    Cloud Dial
    Telecommunication solutions


  17. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.

    python Training in Bangalore | python Training in Bangalore

  18. Thank you for sharing your article with us and it is very useful for us. This site is a very informative blog and I feel very lucky for finding this site and keep share your articles and keep going on. Click Here: Python Online Training || Python Online Course

  19. JavaScript is the most widely deployed language in the world
    Javascript Interview Questions

  20. Amazing Article ! I have bookmarked this article page as i received good information from this. All the best for the upcoming articles. I will be waiting for your new articles. Thank You ! Kindly Visit Us @ Coimbatore Travels | Ooty Travels | Coimbatore Airport Taxi | Coimbatore taxi | Coimbatore Taxi


  21. well! Thanks for providing a good stuff, nice Article
    DevOps Online Training

  22. Thanks a lot for sharing this such a informative blog It really help a lot to improve my knowledge and skillsData Science Online Training

  23. is a leading online learning platform that helps anyone learn business, software, technology and creative skills to achieve personal and professional goals. Through individual, corporate, academic and government subscriptions, members have access to the video library of engaging, top-quality courses taught by recognized industry experts.
    data science online training
    uipath online training
    python online training

  24. Woah this blog is wonderful i like studying your posts. Keep up the great work! You understand, lots of persons are hunting around for this info, you could help them greatly.

    DevOps Training in Bangalore

    DevOps Training in Bangalore

    DevOps Training in Bangalore

    DevOps Training in Marathahalli

    DevOps Training in Pune

    DevOps Online Training-gangboard

  25. Really very happy to say,your post is very interesting to read.I never stop myself to say something about it.You’re doing a great job.Keep it up.python programming Training, courses,Classes,Institute in Mumbai

  26. Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.
    iphone display replacement | iphone service center in chennai | Mobile service center in chennai | Authorized iphone service center in Chennai | iphone service center in chennai

  27. Its a wonderful post and very helpful, thanks for all this information. You are including better information.
    Python Training in Gurgaon

  28. Nice post, very useful blogs with very useful information, thank you for sharing this post android app development india

  29. I believe that the list of common grammar mistakes is much longer. You mentioned only a few that almost every second person does. You need probably write more article or maybe even two to cover all such common mistakes.

  30. Good Post. I like your blog. Thanks for Sharing
    Python Course in Noida

  31. Nice Blog thanks for sharing....Go to this site and read the interesting thing that you must need to know.Cloud Security

  32. This comment has been removed by the author.

  33. Good blog very knowledgable and understandable
    Sanjary Kids is one of the best play school and preschool in Hyderabad,India. The motto of the Sanjary kids is to provide good atmosphere to the kids.Sanjary kids provides programs like Play group,Nursery,Junior KG,Serior KG,and provides Teacher Training Program.We have the both indoor and outdoor activities for your children.We build a strong value foundation for your child on Psychology and Personality development.
    Preschool in hyderabad

  34. Nice blog post
    Sanjary Academy is the best Piping Design institute in Hyderabad, Telangana. It is the best Piping design Course in India and we have offer professional Engineering Courses like Piping design Course, QA/QC Course, document controller course, Pressure Vessel Design Course, Welding Inspector Course, Quality Management Course and Safety Officer Course.
    Piping Design Course in Hyderabad ­

  35. Computer programming works on some ethics and algorithms which a programmer must know before start programming officially. In the learning stage, everyone does mistakes and it should be corrected by his mentor or tutor at the learning period. One should focus on the logics which are used in coding. To learn programming in Indore from the Best Programming Institute visit Universal Informatics.

  36. thanks for sharing this wonderful blog. This was very informative and easy to learn. thanks for spending your valuable time and producing this great output.
    AWS Cloud Migration Services
    Cloud Migration Services
    Azure Cloud Migration Services
    Cloud Migration tool
    Database Migration Services
    Cloud Migration Services
    VMware Cloud Migration Services


  37. Really it is very useful for us..... the information that you have shared is really useful for everyone. If someone wants to know about Taxi Service App and Health Management Software I think this is the right place for you.
    Car Rental Application | Taxi Software | Health and Safety software

  38. pasarqq
    lipoqq Togel Hongkong , Togel Singapura , Togel Sydney dan masih banyak lagi yg lain nya . Dan juga para pemain togel online

  39. Good blog information provided by the author

    Pressure Vessel Design Course is one of the courses offered by Sanjary Academy in Hyderabad. We have offer professional Engineering Course like Piping Design Course,QA / QC Course,document Controller course,pressure Vessel Design Course,Welding Inspector Course, Quality Management Course, #Safety officer course.
    Document Controller course
    Pressure Vessel Design Course
    Welding Inspector Course
    Safety officer course
    Quality Management Course
    Quality Management Course in India

  40. Very nice! It is a pity that such things are so far away and I can not participate in them :( Recently I am more and more interested in this topic - in my company we use the services and help of the company in this area. It makes work easier and streamlines many things with us. Great thing!

  41. Jadi berapa banyak yang Anda bertaruh untuk mendapatkan seseorang off imbang siram mereka di poker? Yah, pertama memahami bahwa ketika seseorang memiliki menarik flush setelah kegagalan, mereka memiliki sekitar kesempatan 36% untuk membuat tangan mereka dengan sungai. Hal ini karena ada 9 berlian lebih banyak di dek

  42. Wonderful blog for AWS which I have seen and it's absolutely great stuff on AWS Topics. Thanks for such a cool blog about AWS topics. Very good explanation on AWS concepts we do AWS Training in Chennai.
    AWS Training Institutes in Chennai | Best AWS Training in Chennai

  43. Thanks for sharing such a great blog Keep posting.. 
    Machine Learning Training in Delhi

  44. The Blog Content is very informative and helpful. Please share more content. Thanks.
    Python Training in Gurgaon
    Python Institute in Gurgaon
    Python Course in Gurgaon.Python Training in Bangalore

  45. Your topic is very nice and helpful to us … Thank you for the information you wrote.

    Learn Hadoop Training from the Industry Experts we bridge the gap between the need of the industry. Bangalore Training Academy provide the Best Hadoop Training in Bangalore with 100% Placement Assistance. Book a Free Demo Today.
    Big Data Analytics Training in Bangalore
    Tableau Training in Bangalore
    Data Science Training in Bangalore
    Workday Training in Bangalore

  46. As reported by Stanford Medical, It is in fact the one and ONLY reason women in this country live 10 years longer and weigh on average 42 pounds lighter than we do.

    (By the way, it has NOTHING to do with genetics or some secret diet and absolutely EVERYTHING around "HOW" they are eating.)

    BTW, I said "HOW", not "what"...

    Click on this link to see if this short test can help you decipher your true weight loss potential

  47. Hi, your article was of great help. I loved the way you shared the information, thanks.
    Amazing article, I highly appreciate your efforts, it was highly helpful. Thank you.
    CISSP Certification,IT Training

  48. I am working on the same platform so what you said is extremely agreed and would help for more folks to learn good information from this blog
    aws training in hyderabad

  49. Literally amazing, this is a too awesome blog and which you have written in this blog, each and every word is also great. Nice dear!! Thanks to sharing this with us! Thanks a lot!!!!!!!!!
    France VPS

  50. Sophisticated describe the information. The information is real true. I am happy to go through your page. Keep Writing…
    Dubai VPS Hosting

  51. If you know more information about destinpropertyexpert then click the blue line.

  52. You finished certain solid focuses there. I did a pursuit regarding the matter and discovered almost all people will concur with your blog.


  53. Especially superb!!! Exactly when I search for this I found this webpage at the top of every single online diary in web crawler.
    360DigiTMG data analytics course

  54. This is a great motivational article. In fact, I am happy with your good work. They publish very supportive data, really. Continue. Continue blogging. Hope you explore your next post

    360DigiTMG data science training

  55. I looked at some very important and to maintain the length of the strength you are looking for on your website
    data science course noida

  56. I think I have never seen such blogs ever before that has complete things with all details which I want. So kindly update this ever for us.
    Best Institute for Data Science in Hyderabad

  57. Thanks for sharing this informative content , Great work
    Leanpitch provides online training in Devops Online Training during this lockdown period everyone can use it wisely.
    Devops Online Training

  58. This comment has been removed by the author.

  59. Obviously, this blog is excellent. I like the given information. you have explained very well "Book review of "Mastering Python Networking"
    If you want to get any more information related to hosting, then you can get information about Onlive Server USA VPS hosting.

  60. Especially superb!! this is informatic about the Book review of "Mastering Python Networking". I like your article. Onlive Server gets you best ever features of USA VPS Server Hosting. If you want to know about Server Hosting or interested in best USA VPS Hosting you can ask us for more details and services.

  61. I am really thanks to you what an article on the Book review of "Mastering Python Networking". It's good information for everyone and also shared with our friends. Our Onlive Server consists of wonderful plans of hosting services USA VPS Hosting.


  62. Consequently, that's a bit of both. There's much to be said in the matter of taking a Keto Advanced Fat Burner class at an online university. Here one can benefit from Keto Advanced Fat Burner conveniences. I believe that Keto Advanced Fat Burner makes perfect sense as natural progression.

    Keto Advanced Fat Burner

  63. After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article.
    data science training

  64. Join now for the intense Python Training in Hyderabad program at AI Patasala to become an early leader in this trending platform.
    Python Course

  65. Great article..I am looking so forward to your blogcomment and
    I love your page on your post.. That is so pretty
    wordpress Casino
    ufa88kh.blogspot Casino
    youtube Casino
    របៀបស្លត់អនឡាញ SLOT ONLINE

  66. Excellent blog since I have visited is really awesome. The important thing is that in this blog content written clearly and understandable. The content of information is very informative. We are also providing the best services click on below links to visit our website.
    Oracle Fusion HCM Training
    Workday Training
    Okta Training
    Palo Alto Training
    Adobe Analytics Training

  67. very interesting to read. keep up the good work AWS Training in Chennai

  68. I am really very happy to visit your blog, you shared informative with us through your article. This true information about Security services.
    If you want to know about Server hosting, i can help you USA Dedicated Server. Visit my link.

  69. Thanks for your blog. This is very nice article. Very Impressive. This helps me a lot. Thanks for sharing your thoughts Braided Rugs Online

  70. Thank you for taking the time to publish this information very useful!
    full stack developer course with placement

  71. I would like to take this opportunity to thank the author for his incredible work. I believe Customer relationship management is essential for every business to create a loyal customer base. keep doing it. all the best
    crm software for small business

  72. Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine.
    full stack development course

  73. It is perfect chance to make a couple of game plans for the future and the opportunity has arrived to be sprightly. I've scrutinized this post and if I may I have the option to need to suggest you some interesting things or recommendations. Perhaps you could create next articles insinuating this article. I have to examine more things about it!

  74. 360DigiTMG, the top-rated organisation among the most prestigious industries around the world, is an educational destination for those looking to pursue their dreams around the globe. The company is changing careers of many people through constant improvement, 360DigiTMG provides an outstanding learning experience and distinguishes itself from the pack. 360DigiTMG is a prominent global presence by offering world-class training. Its main office is in India and subsidiaries across Malaysia, USA, East Asia, Australia, Uk, Netherlands, and the Middle East.

  75. Fantastic information! Thanks for sharing!
    Pakistani Drama Website

  76. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
    balaji night pannel chart, country bazar pannel chart, shridevi main pannel chart.

  77. Wohh I love it, I mean this blog is just awesome. I personally love this informative article… Keep Posting such information… Keep Going! Cheap VPS Hosting

  78. Everything was mentioned in your essay. Thank you for the information; it's good and valuable.Singapore VPS Server

  79. We appreciate you sharing your ideas and expertise on this subject. This is incredibly useful and educational because it gave me more context from which to develop thoughts and solutions for my strategy. More updates from you would be great, I promise.Dubai VPS Server

  80. Nice article
    really thanks for sharing information
    good informative that's a good course to take for technical
    "I just wanted to take a moment to express my gratitude for the amazing service I received from your company. From start to finish, the entire experience was seamless and professional.

    The customer service representative who assisted me was knowledgeable, friendly, and went above and beyond to answer all of my questions and concerns. The product I purchased was of excellent quality and exceeded my expectations.

    I appreciate the attention to detail and the level of care that your company puts into every aspect of the customer experience. It is clear that you value your customers and take pride in delivering exceptional products and services.

    I will definitely be recommending your company to my friends and family, and I look forward to doing business with you again in the future. Thank you for everything!"

    Digital Marketing Course in Hyderabad


  81. This is a really inspiring piece. Actually, I am pleased with your excellent work. Actually, they publish a lot of data that is supportive. Continue. Keep writing blogs. I hope you research your upcoming post.
    USA Dedicated Serve/a>

  82. Excellent Blog! The "Cloud Security Threat" is well-explained there. With a virtual server, you are free to host and manage as many websites and domains as you like under one account. In online commerce, webserver hosting is crucial. if the best piques your curiosity.UK Dedicated Server

  83. Excellent Article I enjoy reading your posts because of how well you write, how valuable they are to all of us, and how I never get bored doing it. sweden Dedicated Server

  84. Your words are so uplifting and encouraging. Thank you for spreading positivity.
    Embedded Linux Training In Hyderabad

  85. Bid4Papers can Write My Term Paper. However, it is important to note that you should always be careful when using online writing services. Make sure that you check out the reviews and ratings of the service before you agree to use them. You should also let them know exactly what you expect from them and what you need done. Additionally, make sure that they are able to provide you with the term paper in a timely manner and that they can meet all of your requirements.

  86. I enjoy reading your article. Thank you for providing us with such useful information on cloud server hosting. I also use dedicated server hosting, and after I did, I saw a significant improvement in my website.France Dedicated Server

  87. Wonderful blog.Thank you for the excellent and insightful blog. The cloud basis accounts for unmatched adaptability. If you wish to start a new blog, you have a fantastic chance to do so on the brand-new subject of server hosting. You ought to speak about the fantastic hosting options that the France Dedicated Server provides for users.
    Please Visit For More Information France Dedicated Server

  88. Excellent details regarding dedicated server plans. We appreciate you sharing this knowledge. The ideal solution for a company website is a dedicated server. Increased website traffic is what that is. In France, my business also offers affordable Dedicated Server options. Please visit France Dedicated Server

  89. With a dedicated server, you can access safe, dependable, and completely flexible hosting services, and you can improve the performance of your online endeavours by making better attempts to build safety, which is undoubtedly a component of it. France Dedicated Server

  90. Yes, this is a blog that is too excellent, and each and every word that you have written in it is fantastic. really nice! Much obliged for sharing this with us! Thank you very much!!!!!France Dedicated Server

  91. Good laboratory practice (GLP) is a set of principles that ensures the quality and integrity of data generated in non-clinical health and environmental safety studies. GLP applies to studies conducted on chemicals, pharmaceuticals, and other products that can have an impact on human health or the environment.< a herf="">whitehall training

  92. nice article

    thanks for sharing with us

  93. This is good web site and very useful blog so i really like it https.//

  94. Thank you so much, for sharing your knowledge. This is very informative about Data Science Courses In Dehradun : Digiperform

  95. I think this is a great website and blog that is truly helpful.
    Auto Auction Shipping