Using transformed lab topology from snapshot file netlab.snapshot.pickle Checking virtualization provider installation OK: libvirt installed and working correctly OK: clab installed and working correctly Starting libvirt nodes creating libvirt management network nl_mgmt_17 provider libvirt: executing flock -E 42 /tmp/netlab.lock vagrant up --provider libvirt Bringing machine 'dut' up with 'libvirt' provider... ==> dut: Checking if box 'aruba/cx' version '10.15' is up to date... [fog][WARNING] Unrecognized arguments: libvirt_ip_command ==> dut: Creating image (snapshot of base box volume). ==> dut: Creating domain with the following settings... ==> dut: -- Name: ml-17_dut ==> dut: -- Description: Source: /work/netlab_cicd/Vagrantfile ==> dut: -- Domain type: kvm ==> dut: -- Cpus: 2 ==> dut: -- Feature: acpi ==> dut: -- Feature: apic ==> dut: -- Feature: pae ==> dut: -- Clock offset: utc ==> dut: -- Memory: 4096M ==> dut: -- Management MAC: ca:fe:00:01:00:00 ==> dut: -- Base box: aruba/cx ==> dut: -- Storage pool: default ==> dut: -- Image(vda): /var/lib/libvirt/images/ml-17_dut.img, virtio, 11G ==> dut: -- Disk driver opts: cache='default' ==> dut: -- Graphics Type: vnc ==> dut: -- Video Type: cirrus ==> dut: -- Video VRAM: 16384 ==> dut: -- Video 3D accel: false ==> dut: -- Keymap: en-us ==> dut: -- TPM Backend: passthrough ==> dut: -- INPUT: type=mouse, bus=ps2 ==> dut: Creating shared folders metadata... ==> dut: Starting domain. ==> dut: Domain launching with graphics connection settings... ==> dut: -- Graphics Port: 5900 ==> dut: -- Graphics IP: 127.0.0.1 ==> dut: -- Graphics Password: Not defined ==> dut: -- Graphics Websocket: 5700 ==> dut: Waiting for domain to get an IP address... ==> dut: Waiting for machine to boot. This may take a few minutes... dut: SSH address: 192.168.17.101:22 dut: SSH username: netlab dut: SSH auth method: private key ==> dut: Machine booted and ready! Starting clab nodes Recreating clab-augment.yml configuration file for clab provider Created provider configuration file: clab-augment.yml provider clab: executing flock -E 42 /tmp/netlab.lock sudo -E containerlab deploy --reconfigure -t clab-augment.yml 16:27:44 INFO Containerlab started version=0.75.0 16:27:44 INFO Parsing & checking topology file=clab-augment.yml 16:27:44 INFO Removing directory path=/work/netlab_cicd/clab-ml-17 16:27:44 INFO Creating docker network name=nl_mgmt_17 IPv4 subnet=192.168.17.0/24 IPv6 subnet="" MTU=0 16:27:44 INFO Creating lab directory path=/work/netlab_cicd/clab-ml-17 16:27:45 INFO Creating container name=x1 16:27:45 INFO Created link: x1:eth1 ▪┄┄▪ virbr2:bni17n2i1 16:27:46 INFO Executed command node=x1 command="sleep 1" stdout="" 16:27:46 INFO Adding host entries path=/etc/hosts 16:27:46 INFO Adding SSH config for nodes path=/etc/ssh/ssh_config.d/clab-ml-17.conf ╭───────────────┬──────────────────────────────┬─────────┬────────────────╮ │ Name │ Kind/Image │ State │ IPv4/6 Address │ ├───────────────┼──────────────────────────────┼─────────┼────────────────┤ │ clab-ml-17-x1 │ linux │ running │ 192.168.17.102 │ │ │ quay.io/frrouting/frr:10.6.1 │ │ N/A │ ╰───────────────┴──────────────────────────────┴─────────┴────────────────╯ Reloading saved initial device configurations [INFO] Lab devices are ready to be configured initial: [INFO] Lab devices do not need the configuration normalization step [WARNING]: Found variable using reserved name: hosts PLAY [Reload saved device configurations] ************************************** TASK [Did we get the configuration directory name?] **************************** skipping: [dut] TASK [Set variables that cannot be set with VARS] ****************************** ok: [x1] ok: [dut] TASK [Remember the original deployment path(s)] ******************************** ok: [x1] ok: [dut] TASK [Do initial device configuration if needed] ******************************* skipping: [dut] included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for x1 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [x1] TASK [Find configuration template for initial] ********************************* skipping: [x1] TASK [fail] ******************************************************************** skipping: [x1] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [x1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x1] TASK [Deploy initial configuration] ******************************************** skipping: [x1] TASK [Deploy saved configuration files] **************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-custom-config.yml for dut, x1 TASK [Find configuration template] ********************************************* ok: [x1] ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Check is the configuration template is a file] *************************** ok: [dut -> localhost] ok: [x1 -> localhost] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Process template /work/netlab_cicd/node_files/dut/saved.cfg for dut] ***** skipping: [x1] skipping: [dut] TASK [debug] ******************************************************************* skipping: [dut] skipping: [x1] TASK [debug] ******************************************************************* skipping: [dut] skipping: [x1] TASK [Find custom configuration deployment script] ***************************** ok: [x1] ok: [dut] TASK [Run the configuration deployment script] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/arubacx.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/frr.yml for x1 TASK [tempfile] **************************************************************** changed: [dut -> localhost] TASK [template] **************************************************************** changed: [dut -> localhost] TASK [aoscx_config: deploying saved from /work/netlab_cicd/node_files/dut/saved.cfg] *** changed: [dut] TASK [file] ******************************************************************** changed: [dut -> localhost] TASK [template] **************************************************************** changed: [x1] TASK [set_fact] **************************************************************** ok: [x1] TASK [run /tmp/config.sh to deploy saved config from /work/netlab_cicd/node_files/x1/saved.cfg] *** skipping: [x1] TASK [run vtysh to import saved config from /work/netlab_cicd/node_files/x1/saved.cfg] *** changed: [x1] PLAY RECAP ********************************************************************* dut : ok=11 changed=4 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 x1 : ok=12 changed=2 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 [CREATED] dut: initial,saved [CREATED] x1: initial,saved OK: Saved configurations reloaded Creating Device configuration snippets [CREATED] x1: initial,ospf Config Deploying device configurations [INFO] Executing initial configuration for node x1 [INFO] Executing ospf configuration for node x1 Results of configuration script deployments ================================================================================ x1 Script: initial,ospf This topology tests the "start lab with configuration reload" functionality. You should: * Start the lab with "netlab up" * Save the configuration with "netlab collect -o saved" * Stop the lab with "netlab down" * Restart the lab with "netlab up --snapshot --reload-config saved" * Validate the results with "netlab validate"