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
- 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 commitas 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/labstay 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
- Model the site
- Extend the template
- Extend the tests
- Preview and deploy
- The firewall learns the site
- 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.
Every link, as text
- devbox
eth0to Mgmt (network) - xe1
Gi1to Mgmt (network) - eos1
Management1to Mgmt (network) - srx1
fxp0to Mgmt (network) - fgt1
port1to Mgmt (network) - xe1
Gi2to eos1Ethernet3 - xe1
Gi3to srx1ge-0/0/2 - eos1
Ethernet2to srx1ge-0/0/1
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| devbox | CloudLabBox code workstation (Docker) | CloudLabBox’s own workstation image, with a browser code editor | 1 vCPU, 2,048 MB |
| xe1 | Cisco CSR 1000v | csr1000vng-universalk9.17.03.08a-serial | 1 vCPU, 4,096 MB |
| eos1 | Arista vEOS | veos-4.33.1.1F | 1 vCPU, 2,048 MB |
| srx1 | Juniper vSRX NextGen template | vsrxng-24.4R1.9 | 2 vCPU, 3,584 MB |
| fgt1 | Fortinet FortiGate | fortinet-FGT-v7.0.17.M-build0682 | 1 vCPU, 2,048 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
Network Automation in Practice - multi-vendor professional guided labs.Open
11 - Capstone - bring a new site live from the source of truthand 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.