Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Network Programming and Automation Essentials

You're reading from   Network Programming and Automation Essentials Get started in the realm of network automation using Python and Go

Arrow left icon
Product type Paperback
Published in Apr 2023
Publisher Packt
ISBN-13 9781803233666
Length 296 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Claus Töpke Claus Töpke
Author Profile Icon Claus Töpke
Claus Töpke
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Part 1: Foundations for Network Automation
2. Chapter 1: Network Basics for Development FREE CHAPTER 3. Chapter 2: Programmable Networks 4. Chapter 3: Accessing the Network 5. Chapter 4: Working with Network Configurations and Definitions 6. Part 2: Network Programming for Automation
7. Chapter 5: Dos and Don’ts for Network Programming 8. Chapter 6: Using Go and Python for Network Programming 9. Chapter 7: Error Handling and Logging 10. Chapter 8: Scaling Your Code 11. Part 3: Testing, Hands-On, and Going Forward
12. Chapter 9: Network Code Testing Framework 13. Chapter 10: Hands-On and Going Forward 14. Index 15. Other Books You May Enjoy

What this book covers

Chapter 1, Network Basics for Development, is focused on explaining the basics of computer networking and the jargon used. The idea is to build a good foundation to be built on throughout the book. If you are a network engineer or have experience in this field, you might want to skip it. If you are a software developer with little network experience, this chapter is for you. It will help you build a solid base of network jargon that will be useful when writing code for network automation.

Chapter 2, Programmable Networks, looks into several different technologies used today to create networks via software. Then we will examine the current standard technology, known as Software Defined Networks (SDNs).

Chapter 3, Accessing the Network, explores the most common methods and protocols for accessing network devices for our network automation. Since devices have multiple methods, we will aim to give you enough information so that you can choose the one that is most appropriate for your network automation code.

Chapter 4, Working with Network Configurations and Definitions, explores how to work with a network configuration and how to define it for effective use with network automation. We want to build scalable and future-proof solutions. The chapter answers why we need network definitions to help automation.

Chapter 5, Dos and Don’ts for Network Programming, focuses on the most important best coding practices for Python and Go related to network programming. Writing code for networks is exciting because when it fails, it is challenging, and when it works, it is rewarding. If you are an experienced programmer, it will be plain sailing, but if you are a newbie, it will be stormy. The chapter dives into some coding practices for Go and Python that will help you get through these storms more easily.

Chapter 6, Using Go and Python for Network Programming, looks at how Python and Go are powerful and useful for network programming, but depending on what the requirements are and the environment, one might be better suited than the other. We’ll also check the advantages and disadvantages of using Python and Go.

Chapter 7, Error Handling and Logging, explores how we report program execution events and how we handle errors. These two topics are not as easy as they seem, and they are, most of the time, implemented in systems poorly. The chapter investigates how and why we handle errors and then why and how we do event logging.

Chapter 8, Scaling Your Code, covers some techniques used today to scale your code up and down effectively, which will allow your solution to adapt easily to follow network growth, and, if necessary, easily scale down to save resources.

Chapter 9, Network Code Testing Framework, focuses on techniques to build a network testing framework that can be used for testing your network automation code. It also looks into advanced techniques that can be used to make your testing framework even more useful and reliable.

Chapter 10, Hands-On and Going Forward, explored building a network from scratch using the network automation skills we’ve learned and emulated routers. The finished emulated network will have enough components to experiment with several techniques described in the chapters of this book. And finally, there are a few remarks and some guidance for future studies and work.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime