Network automation in practice lab 11 of 11

Capstone - bring a new site live from the source of truth

Bring Fenwick Rail's Bristol depot live the way the team now works: model the new IOS XE router and its links in the source of truth, extend a template for the site LAN, preview and deploy to three vendors, give the FortiGate the new site's objects from the same data with Ansible, extend the acceptance tests, prove compliance and idempotence, and tag the release.

Run this lab

It needs Standard: its 5 nodes are set to 6 vCPU and 13,824 MB in total. It is ready about 13 minutes after you start it. It starts already set up, with nothing to paste before the first task.

In your workspace: Shared, then Network Automation in Practice - multi-vendor professional guided labs, then 11 - Capstone - bring a new site live from the source of truth

Run it on Standard from £5 a day

  • About 13 min to be ready
  • About 150 min of tasks

The free demo isn’t offered for this lab: it is Lite size, with 6 vCPU and 8 GB, and this lab’s nodes need 6 vCPU and 13,824 MB together. Every lab plan includes every guided lab.

Level
Advanced
How you work
CLI-led
Nodes need
6 vCPU, 13,824 MB
Smallest plan
Standard

The scenario

Fenwick Rail's Bristol depot goes live today. Its router, xe1 (IOS XE), is racked and cabled to York (eos1) and Leeds (srx1), with only its management address set. The approved request is in requests/NEW-SITE-BRISTOL.md.

This is the team's first new site since the network moved to a source of truth, and the network manager wants it done properly: no device is configured by hand, every step is previewed, the data-centre firewall (fgt1) learns the new site from the same data, the tests cover what's new, and the result is tagged in git. Everything you need is in /root/lab, and everything in it has been used in earlier labs.

Start-up and waits. Click Start all. fgt1 is ready in about a minute and eos1 in about 3; srx1 takes about 5 and xe1 about 6. York and Leeds come up peering with each other, as they are today. Tasks 1 to 3 need no devices: do them while xe1 boots. Allow about 150 minutes for the whole lab; it is fine to stop part way, and git commit as you go. Measured on our servers: the whole lab was ready for its first task about 13 minutes after Start all, with every device booted.

Working across sittings. Your files in /root/lab stay when you stop and start devbox, and every device keeps what was deployed to it. A Wipe puts a node back to its start state, so commit and push nothing you can't afford to redo, and don't wipe devbox.

What you’ll practise

  • Turn a site request into source-of-truth data and let the links drive the configuration of every device
  • Extend a template and the tests for a new feature (a site LAN advertised into BGP)
  • Deploy to IOS XE, EOS and Junos with each device's own diff, and prove a second deploy is a no-op
  • Drive a FortiGate's objects from the same data with Ansible, and pass the idempotence gate
  • Prove the result with acceptance tests and a compliance report, then tag it in git

The tasks

  1. Model the site
  2. Extend the template
  3. Extend the tests
  4. Preview and deploy
  5. The firewall learns the site
  6. Prove it and tag it

The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.

Topology and devices

The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.

Topology of Capstone - bring a new site live from the source of truth5 nodes and 1 network, 8 links. Every link is listed as text below the diagram.devboxxe1eos1srx1fgt1Mgmteth0fxp0Gi2Ethernet3Gi1Ethernet2ge-0/0/1Gi3ge-0/0/2Management1port1
5 nodes and 1 network, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in Capstone - bring a new site live from the source of truth, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
devboxCloudLabBox code workstation (Docker)CloudLabBox’s own workstation image, with a browser code editor1 vCPU, 2,048 MB
xe1Cisco CSR 1000vcsr1000vng-universalk9.17.03.08a-serial1 vCPU, 4,096 MB
eos1Arista vEOSveos-4.33.1.1F1 vCPU, 2,048 MB
srx1Juniper vSRX NextGen templatevsrxng-24.4R1.92 vCPU, 3,584 MB
fgt1Fortinet FortiGatefortinet-FGT-v7.0.17.M-build06821 vCPU, 2,048 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder Network Automation in Practice - multi-vendor professional guided labs.

  3. Open 11 - Capstone - bring a new site live from the source of truth and start its nodes, then open Lab Tasks for the scenario and the steps.

The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.

More Network automation in practice labs

All Network automation in practice labs

Related labs in other courses

CloudLabBox is independent of Arista Networks, Cisco, Fortinet, Juniper Networks and Palo Alto Networks. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.