Labs / Automation

AutomationThe medal for finishing it

Road 13 of 33

Automation

Running the network from programs instead of by hand.

2 groups · 7 labs · builds on Protocols

Start this road

Network as code

Backups, APIs, scripts, Ansible and Terraform.

  1. 01 Config backups: every router's config in git Back up router configs into git, find a bad change, restore it.
  2. 02 Network APIs: drive a router with REST and JSON Read and change a router's routes through its REST API, with JSON and tokens.
  3. 03 Python for networks: one script, many routers Network automation in Python: one script drives four routers over SSH.
  4. 04 Ansible: every router from one set of files Push routes to three routers with Ansible, run it twice, and catch a hand-made change.
  5. 05 Terraform: a router's routes as code Put a router's routes on it with Terraform: plan, apply, catch a hand change, add a branch.

Models & controllers

NETCONF, YANG and an SDN controller.

  1. 01 NETCONF and YANG: a router configured as data Set up a router's new card over NETCONF: a draft, a commit, and one that undoes itself.
  2. 02 SDN: a controller that programs the switches An SDN controller programs two switches, takes a rule by API, then gets unplugged.

What its labs use

Concepts

Commands

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab