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 'dell/os10' version '5.6.6' 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: dell/os10 ==> dut: -- Storage pool: default ==> dut: -- Image(vda): /var/lib/libvirt/images/ml-17_dut.img, ide, 50G ==> 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: vagrant 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 [INFO] Setting containerlab runtime to docker provider clab: executing flock -E 42 /tmp/netlab.lock containerlab deploy --reconfigure -t clab-augment.yml 15:56:16 INFO Containerlab started version=0.75.0 15:56:16 INFO Parsing & checking topology file=clab-augment.yml 15:56:16 INFO Removing directory path=/work/netlab_cicd/clab-ml-17 15:56:16 INFO Creating docker network name=nl_mgmt_17 IPv4 subnet=192.168.17.0/24 IPv6 subnet=fd00:df:1ab:17::/64 MTU=0 15:56:16 INFO Creating lab directory path=/work/netlab_cicd/clab-ml-17 15:56:17 INFO Creating container name=x1 15:56:17 INFO Created link: x1:eth1 ▪┄┄▪ virbr1:bni17n2i1 15:56:18 INFO Executed command node=x1 command="sleep 1" stdout="" 15:56:18 INFO Adding host entries path=/etc/hosts 15:56:18 INFO Adding SSH config for nodes path=/etc/ssh/ssh_config.d/clab-ml-17.conf 15:56:18 INFO containerlab version 🎉= │ A newer containerlab version (0.78.0) is available! │ Release notes: https://containerlab.dev/rn/0.78/ │ Run 'clab version upgrade' or see https://containerlab.dev/install/ for other installation options. ╭───────────────┬──────────────────────────────┬─────────┬───────────────────╮ │ Name │ Kind/Image │ State │ IPv4/6 Address │ ├───────────────┼──────────────────────────────┼─────────┼───────────────────┤ │ clab-ml-17-x1 │ linux │ running │ 192.168.17.102 │ │ │ quay.io/frrouting/frr:10.6.1 │ │ fd00:df:1ab:17::2 │ ╰───────────────┴──────────────────────────────┴─────────┴───────────────────╯ Deploying initial device configurations Creating Device configuration snippets [CREATED] dut: normalize,initial,ospf [CREATED] x1: initial,ospf Config Normalizing device configurations [WARNING]: Found variable using reserved name: hosts PLAY [Normalize device configurations] ***************************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [dut] TASK [Find configuration template for normalize] ******************************* ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "normalize configuration for dut\n=========================================\n!\ninterface ethernet1/1/1\n shutdown\n" } TASK [Deploy normalize configuration] ****************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/dellos10.yml for dut TASK [wait_for_connection] ***************************************************** skipping: [dut] TASK [dellos10_config: deploying normalize from /work/netlab_cicd/node_files/dut/normalize, save to startup=yes] *** changed: [dut] PLAY RECAP ********************************************************************* dut : ok=8 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Config Deploying device configurations [INFO] Executing initial configuration for node x1 [INFO] Executing ospf configuration for node x1 [INFO] Starting Ansible playbook to deploy the rest of the configurations [WARNING]: Found variable using reserved name: hosts PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut TASK [Figure out whether to deploy the module initial on current device] ******* ok: [dut] TASK [Find configuration template for initial] ********************************* ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "initial configuration for dut\n=========================================\nhostname dut\n!\nlldp enable\n!\n!\nip host x1 10.0.0.2\n!\n!\ndefault mtu 1532\n!\ninterface mgmt1/1/1\n no lldp transmit\n no lldp receive\n!\ninterface loopback0\n no shutdown\n ip address 10.0.0.1/32\n no ipv6 enable\n!\ninterface ethernet1/1/1\n no shutdown\n no switchport\n description \"dut -> x1\"\n ip address 10.1.0.1/30\n ip unreachables\n no ipv6 enable\n!\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/dellos10.yml for dut TASK [wait_for_connection] ***************************************************** skipping: [dut] TASK [dellos10_config: deploying initial from /work/netlab_cicd/node_files/dut/initial, save to startup=yes] *** changed: [dut] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut => (item=ospf) TASK [Figure out whether to deploy the module ospf on current device] ********** ok: [dut] TASK [Find configuration template for ospf] ************************************ ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for ospf] ******************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "ospf configuration for dut\n=========================================\n\nrouter ospf 1\n router-id 10.0.0.1\n\n\n\n timers lsa arrival 100\n timers spf 10 50 500\n timers throttle lsa all 100\n!\ninterface loopback0\n ip ospf 1 area 0.0.0.0\n ip ospf passive\n!\ninterface ethernet1/1/1\n! dut -> x1\n ip ospf 1 area 0.0.0.0\n ip ospf network point-to-point\n!\n\n" } TASK [Deploy ospf configuration] *********************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/dellos10.yml for dut TASK [wait_for_connection] ***************************************************** skipping: [dut] TASK [dellos10_config: deploying ospf from /work/netlab_cicd/node_files/dut/ospf, save to startup=yes] *** changed: [dut] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=16 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ x1 Script: initial,ospf OK: Lab devices configured 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" [WARNING]: Found variable using reserved name: hosts PLAY [Collect device configurations] ******************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Create '/work/netlab_cicd/saved' directory] ****************************** ok: [dut -> localhost] TASK [Find configuration collection script] ************************************ ok: [dut] TASK [Collect device configurations] ******************************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/fetch-config/dellos10.yml for dut TASK [dellemc.os10.os10_facts] ************************************************* ok: [dut] TASK [Copy collected configuration to '/work/netlab_cicd/saved' directory] ***** changed: [dut -> localhost] PLAY RECAP ********************************************************************* dut : ok=6 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 cwd: /work/netlab_cicd output: saved Checking virtualization provider installation OK: libvirt installed and working correctly OK: clab installed and working correctly Stopping clab nodes [INFO] Setting containerlab runtime to docker provider clab: executing flock -E 42 /tmp/netlab.lock containerlab destroy --cleanup -t clab-augment.yml 15:56:45 INFO Parsing & checking topology file=clab-augment.yml 15:56:45 INFO Parsing & checking topology file=clab-augment.yml 15:56:45 INFO Destroying lab name=ml-17 15:56:46 INFO Removed container name=clab-ml-17-x1 15:56:46 INFO Removing host entries path=/etc/hosts 15:56:46 INFO Removing SSH config path=/etc/ssh/ssh_config.d/clab-ml-17.conf Stopping libvirt nodes provider libvirt: executing flock -E 42 /tmp/netlab.lock vagrant destroy -f [fog][WARNING] Unrecognized arguments: libvirt_ip_command ==> dut: Removing domain... ==> dut: Deleting the machine folder