Book Image

Network Programming and Automation Essentials

By : Claus Töpke
Book Image

Network Programming and Automation Essentials

By: Claus Töpke

Overview of this book

Network programming and automation, unlike traditional networking, is a modern-day skill that helps in configuring, managing, and operating networks and network devices. This book will guide you with important information, helping you set up and start working with network programming and automation. With Network Programming and Automation Essentials, you’ll learn the basics of networking in brief. You’ll explore the network programming and automation ecosystem, learn about the leading programmable interfaces, and go through the protocols, tools, techniques, and technologies associated with network programming. You’ll also master network automation using Python and Go with hands-on labs and real network emulation in this comprehensive guide. By the end of this book, you’ll be well equipped to program and automate networks efficiently.
Table of Contents (16 chapters)
1
Part 1: Foundations for Network Automation
6
Part 2: Network Programming for Automation
11
Part 3: Testing, Hands-On, and Going Forward

Network Code Testing Framework

One important aspect when developing code is to add testing; we discussed and reviewed some code test strategies in Chapter 5, Do’s and Don’ts for Network Programming. But we have not investigated techniques that are unique to network automation, such as building a network testing environment where we can do some real testing with our network automation code.

This chapter will focus on techniques for building a network testing framework that can be used for testing your network automation code. We are also going to look into advanced techniques that can be added to make your testing framework even more useful and reliable.

Here are the topics we are going to cover in this chapter:

  • Using software for testing
  • Using device emulation
  • Connecting devices for testing
  • Using advanced testing techniques

By the end of this chapter, you should have enough information to build and use a testing framework that will add...