Creating Device configuration snippets [CREATED] r1: initial,ospf [CREATED] r2: initial,ospf [CREATED] r3: initial,ospf [CREATED] r4: initial,ospf [CREATED] h1: initial,routing [CREATED] h2: initial,routing [CREATED] h3: initial,routing [CREATED] h4: initial,routing Config Deploying device configurations [INFO] Executing initial configuration for node r3 [INFO] Executing initial configuration for node r4 [INFO] Executing initial configuration for node h3 (namespace clab- ml-17-h3) [INFO] Executing initial configuration for node h4 (namespace clab- ml-17-h4) [INFO] Executing routing configuration for node h3 (namespace clab- ml-17-h3) [INFO] Executing routing configuration for node h4 (namespace clab- ml-17-h4) [INFO] Executing ospf configuration for node r3 [INFO] Executing ospf configuration for node r4 [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: [r1] ok: [r2] ok: [h1] ok: [h2] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1, r2, h1, h2 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [r1] ok: [r2] ok: [h1] ok: [h2] TASK [Find configuration template for normalize] ******************************* ok: [r1] ok: [r2] ok: [h1] ok: [h2] TASK [fail] ******************************************************************** skipping: [r1] skipping: [r2] skipping: [h1] skipping: [h2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [r1] ok: [r2] ok: [h1] ok: [h2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r1] skipping: [r2] skipping: [h1] skipping: [h2] TASK [Deploy normalize configuration] ****************************************** skipping: [r1] skipping: [r2] skipping: [h1] skipping: [h2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1, r2, h1, h2 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [r1] ok: [r2] ok: [h1] ok: [h2] TASK [Find configuration template for initial] ********************************* ok: [r1] ok: [r2] ok: [h1] ok: [h2] TASK [fail] ******************************************************************** skipping: [r1] skipping: [r2] skipping: [h1] skipping: [h2] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [r1] ok: [r2] ok: [h1] ok: [h2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r1] skipping: [r2] skipping: [h1] skipping: [h2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/frr.yml for r1, r2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/linux.yml for h1, h2 TASK [template] **************************************************************** changed: [r2] changed: [r1] TASK [set_fact] **************************************************************** ok: [r1] ok: [r2] TASK [run /tmp/config.sh to deploy initial config from /work/netlab_cicd/node_files/r1/initial] *** changed: [r2] changed: [r1] TASK [run vtysh to import initial config from /work/netlab_cicd/node_files/r1/initial] *** skipping: [r1] skipping: [r2] TASK [template] **************************************************************** changed: [h1] changed: [h2] TASK [Execute /tmp/config.sh to deploy initial config from /work/netlab_cicd/node_files/h1/initial] *** changed: [h1] changed: [h2] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [r1] ok: [r2] ok: [h1] ok: [h2] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1, r2, h1, h2 => (item=routing) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for r1, r2, h1, h2 => (item=ospf) TASK [Figure out whether to deploy the module routing on current device] ******* ok: [r1] ok: [r2] ok: [h1] ok: [h2] TASK [Find configuration template for routing] ********************************* skipping: [r1] skipping: [r2] ok: [h1] ok: [h2] TASK [fail] ******************************************************************** skipping: [r1] skipping: [r2] skipping: [h1] skipping: [h2] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [r1] skipping: [r2] ok: [h1] ok: [h2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r1] skipping: [r2] skipping: [h1] skipping: [h2] TASK [Deploy routing configuration] ******************************************** skipping: [r1] skipping: [r2] included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/linux.yml for h1, h2 TASK [template] **************************************************************** changed: [h1] changed: [h2] TASK [Execute /tmp/config.sh to deploy routing config from /work/netlab_cicd/node_files/h1/routing] *** changed: [h1] changed: [h2] TASK [Figure out whether to deploy the module ospf on current device] ********** ok: [r1] ok: [r2] ok: [h1] ok: [h2] TASK [Find configuration template for ospf] ************************************ skipping: [h1] ok: [r1] ok: [r2] skipping: [h2] TASK [fail] ******************************************************************** skipping: [r1] skipping: [r2] skipping: [h1] skipping: [h2] TASK [Find configuration deployment deploy_script for ospf] ******************** skipping: [h1] skipping: [h2] ok: [r1] ok: [r2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r1] skipping: [h1] skipping: [r2] skipping: [h2] TASK [Deploy ospf configuration] *********************************************** skipping: [h1] skipping: [h2] included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/frr.yml for r1, r2 TASK [template] **************************************************************** changed: [r1] changed: [r2] TASK [set_fact] **************************************************************** ok: [r1] ok: [r2] TASK [run /tmp/config.sh to deploy ospf config from /work/netlab_cicd/node_files/r1/ospf] *** skipping: [r1] skipping: [r2] TASK [run vtysh to import ospf config from /work/netlab_cicd/node_files/r1/ospf] *** changed: [r1] changed: [r2] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* h1 : ok=22 changed=4 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 h2 : ok=22 changed=4 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 r1 : ok=24 changed=4 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 r2 : ok=24 changed=4 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ r3 Script: initial,ospf r4 Script: initial,ospf h3 Script: initial,routing h4 Script: initial,routing This simple libvirt + clab integration test checks stub networks and P2P links