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

Looking into the language runtime

After writing your code and saving it, you are going to run it somewhere in your network. Go and Python have different ways to combine your source code and all imported libraries before running. Which one suits you more? Are there any relevant differences that are important to know? We’ll discuss that in this section.

What are compiled and interpreted languages?

After writing your code, some computer languages need to be compiled to run on your machine, though some don’t as they are interpreted line by line as it runs.

The languages that are compiled have to have a compiler that translates the source code into a series of bits and bytes that can run on the CPU architecture of your computer; it also has to link all static and dynamic system libraries. For instance, a computer with an Apple M1 processor will have a different compiler than an Apple with an Intel x86 processor. The result after the compilation is a binary program...