Part 2: Architectural Building Blocks#

In Part 1, I introduced the NAF Framework with an intro to its seven building blocks. In this part, I will go deeper, one by one, explaining the exact boundaries and the different implementation options that should (hopefully) provide a clear reference for you to decide how to implement them.

The seven blocks map to the chapters of this part (except Intent, which I split in two, and the Collector and Observability, which share one chapter). Each one has clear responsibilities and boundaries that make it easy to connect them to build a capable solution to automate your network. The rest of the book, Parts 3, 4, and 5, develops how they work together to provide answers to most of the questions you may have.

To illustrate it, Part 2 introduces an example of a campus network that runs through the seven chapters: 800 switches, three vendors, and a team automating them. Most of the chapters’ examples remain agnostic to tools, because this architecture works with any tool, any vendor, and any scenario.

Chapter 4 introduces network intent: how to model the data the Source of Truth holds (with different abstraction levels), and how to validate the data using schemas. This data drives the whole architecture, so it must be clean and valid to build on a solid foundation.

Chapter 5 covers the Source of Truth as a system: how it persists the Intent data, how the consumers interact with it, and how to organize data from multiple data sources that should behave consistently.

Chapter 6 is about the Executor: how the automation engine takes the abstract Intent from the SoT and adapts it to the different devices to change the state of the network accordingly.

Chapter 7 goes into the Collector and Observability stack together: how observed data flows from network devices into a queryable persistence layer that exposes the actual state of the network and feeds back to the Orchestrator the information it needs to make its decisions.

Chapter 8 turns to the Orchestrator: how multi-step workflows coordinate network automation tasks from the different blocks of the architecture, accounting for failures and providing safety mechanisms and an audit trail.

Chapter 9 explains the Presentation layer: what the system exposes to human operators and other external systems, making the whole architecture usable.

Chapter 10 focuses on the Network: how it shapes the rest of the architecture through concrete programmable interfaces and abstraction strategies, and how simulation environments make it possible to validate the network automation before touching production.

💬 Found something to improve? Send feedback for this chapter