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

Using network definitions to aid automation

The previous section explored the configuration stages and how we can rely on them to build a better network deployment pipeline. On the other hand, we have not covered another issue with the router configuration, which is related to router software versions and router vendors.

Using a router configuration as a source of truth has advantages if your network will not update, grow, or change vendors. If your network is not intended to change, you might not need a definition at all. However, as the majority of the network will need to upgrade or grow, it is important to think about getting away from vendor-specific solutions and create vendor-agnostic definitions of your network.

A router vendor has different configuration defaults, which means some configuration lines might not be necessary with one vendor but be required with the other vendor. For network automation, we want to avoid traps like that and have a network source of truth...