Network automation in practice lab 1 of 11
First look - two vendors from one script
A quick start on this course's workstation: open the browser code editor, read an Arista switch and a FortiGate through their APIs into one inventory table, then give the FortiGate an address object with a script that is safe to run twice, and see the result in the FortiGate's own web interface.
Run this lab
It needs Lite: its 3 nodes are set to 3 vCPU and 6,144 MB in total. It is ready about 6 minutes after you start it. It starts already set up, with nothing to paste before the first task. It fits the free demo too.
In your workspace: Shared, then Network Automation in Practice - multi-vendor professional guided labs, then 01 - First look - two vendors from one script
Try it free for 30 minutesRun it on Lite from £3 a day
- About 6 min to be ready
- About 25 min of tasks
- The free demo’s 30 min cover the start and about 24 min of the tasks
- Level
- Intermediate
- How you work
- CLI-led
- Nodes need
- 3 vCPU, 6,144 MB
- Smallest plan
- Lite
The scenario
You've joined Fenwick Rail's network automation team. The network has several vendors, and the team drives them all from one workstation, devbox, through each device's API. Your first job is small: a table of what's on the network, and one firewall object the monitoring team asked for, made the way the team makes every change: safe to run again.
Start-up and waits. Click Start all. devbox is ready in seconds and fgt1 in about a minute; eos1's API answers after about 3 minutes. Each device boots with its management address, the
netopslogin and its API switched on. Open the code editor (Task 1) while they boot. Measured on our servers: the whole lab was ready for its first task about 6 minutes after Start all, with every device booted.
What you’ll practise
- Work in the browser code editor and its terminal on devbox
- Read structured data from Arista eAPI and the FortiOS REST API
- Write an idempotent change: read, compare, then create, update or leave alone
- Check the result in the device's own GUI
The tasks
- Open your workstation
- One table from two APIs
- A change that is safe to run twice
- See it in the GUI
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) - eos1
Management1to Mgmt (network) - fgt1
port1to Mgmt (network)
| 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 |
| eos1 | Arista vEOS | veos-4.33.1.1F | 1 vCPU, 2,048 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
01 - First look - two vendors from one scriptand 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
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.