Warning in ansible: You're using Ansible version 12.x or higher; netlab might not work correctly ... Ansible core version 2.19 introduced breaking changes in templates and playbooks ... We tested netlab core with Ansible version 12.x but not every device template ... You might want to downgrade Ansible to version 11.10 or lower. ... Use 'netlab install ansible' on Ubuntu to do that ... Finally, please open a GitHub issue if you experience errors/crashes ... Set defaults.ansible.warnings.ver12 to False to hide this warning [INFO] Checking for updates in configuration templates [INFO] Creating configuration snippets [CREATED] dut: normalize,initial,routing,vrf [CREATED] x1: initial,routing [CREATED] x2: initial,routing [CREATED] x3: initial,routing [INFO] Executing initial configuration for node x1 (namespace clab- ml_17-x1) [INFO] Executing routing configuration for node x1 (namespace clab- ml_17-x1) [INFO] Executing initial configuration for node x2 (namespace clab- ml_17-x2) [INFO] Executing routing configuration for node x2 (namespace clab- ml_17-x2) [INFO] Executing initial configuration for node x3 (namespace clab- ml_17-x3) [INFO] Executing routing configuration for node x3 (namespace clab- ml_17-x3) [INFO] Starting Ansible playbook to deploy the rest of the configurations [WARNING]: Could not match supplied host pattern, ignoring: unprovisioned [WARNING]: Found variable using reserved name 'hosts'. Origin: /work/netlab_cicd/group_vars/all/topology.yml:177:1 175 prefix: 32 176 ipv6: 2001:db8:4::/48 177 hosts: ^ column 1 PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [x1] ok: [x2] ok: [x3] ok: [dut] TASK [Generic readiness tests] ************************************************* skipping: [x1] skipping: [x2] skipping: [x3] included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/ssh.yml for dut => (item=ssh) TASK [Check if 'sshpass' is installed] ***************************************** ok: [dut -> localhost] TASK [Check for 'timeout' command] ********************************************* ok: [dut -> localhost] TASK [Execute local ssh command to check ssh readiness] ************************ ok: [dut -> localhost] TASK [Confirm dut SSH server works] ******************************************** ok: [dut] => { "msg": "Node dut is ready." } TASK [Find device readiness script] ******************************************** ok: [x1] ok: [x2] ok: [x3] ok: [dut] TASK [Wait for device to become ready] ***************************************** skipping: [dut] skipping: [x1] skipping: [x2] skipping: [x3] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x3 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 Ethernet0/1\n shutdown\n!\ninterface Ethernet0/2\n shutdown\n!\ninterface Ethernet0/3\n shutdown\n" } TASK [Deploy normalize configuration] ****************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/ios.yml for dut TASK [ios_config: deploying normalize from /work/netlab_cicd/node_files/dut/normalize] *** [WARNING]: To ensure idempotency and correct diff the input configuration lines should be similar to how they appear if present in the running configuration on device including the indentation changed: [dut] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [x1] TASK [Find configuration template for normalize] ******************************* ok: [x1] TASK [fail] ******************************************************************** skipping: [x1] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [x1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x1] TASK [Deploy normalize configuration] ****************************************** skipping: [x1] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [x2] TASK [Find configuration template for normalize] ******************************* ok: [x2] TASK [fail] ******************************************************************** skipping: [x2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [x2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x2] TASK [Deploy normalize configuration] ****************************************** skipping: [x2] TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [x3] TASK [Find configuration template for normalize] ******************************* ok: [x3] TASK [fail] ******************************************************************** skipping: [x3] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [x3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x3] TASK [Deploy normalize configuration] ****************************************** skipping: [x3] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x1 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x3 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!\nno ip domain lookup\nlogging buffered 256000\n\n!\nlldp run\n!\nip host dut-red 172.16.0.1\nip host dut-blue 172.16.1.1\nip host x1 172.16.0.2 172.16.41.2\nip host x2 172.16.1.3 172.16.42.3\nip host x3 172.16.2.4 172.16.40.4\n!\nip routing\n!\nipv6 unicast-routing\n!\nvrf definition red\n rd 65000:1\n route-target import 65000:1\n route-target export 65000:1\n!\n address-family ipv4\n exit-address-family\n!\n address-family ipv6\n exit-address-family\n!\nvrf definition blue\n rd 65000:2\n route-target import 65000:2\n route-target export 65000:2\n!\n address-family ipv4\n exit-address-family\n!\n address-family ipv6\n exit-address-family\n!\n\n!\n!\ninterface Loopback0\n ip address 10.0.0.1 255.255.255.255\n ipv6 address 2001:DB8:1:1::1/64\n!\ninterface Ethernet0/0\n no lldp transmit\n no lldp receive\n!\ninterface Ethernet0/1\n no switchport\n vrf forwarding red\n description dut -> x1 [stub]\n ip mtu 1500\n ipv6 mtu 1500\n ip address 172.16.0.1 255.255.255.0\n ipv6 nd ra interval 5\n ipv6 address 2001:DB8:2::1/64\n mac-address caf0.0001.0001\n no shutdown\n!\ninterface Ethernet0/2\n no switchport\n vrf forwarding blue\n description dut -> x2 [stub]\n ip mtu 1500\n ipv6 mtu 1500\n ip address 172.16.1.1 255.255.255.0\n ipv6 nd ra interval 5\n ipv6 address 2001:DB8:2:1::1/64\n mac-address caf0.0001.0002\n no shutdown\n!\ninterface Ethernet0/3\n no switchport\n description dut -> x3 [stub]\n ip mtu 1500\n ipv6 mtu 1500\n ip address 172.16.2.1 255.255.255.0\n ipv6 nd ra interval 5\n ipv6 address 2001:DB8:2:2::1/64\n mac-address caf0.0001.0003\n no shutdown\n!\n!\nline vty 0 4\n exec-timeout 0 0 \n!\nno banner exec\nno banner login\nno banner incoming\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/ios.yml for dut TASK [ios_config: deploying initial from /work/netlab_cicd/node_files/dut/initial] *** changed: [dut] 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 [Figure out whether to deploy the module initial on current device] ******* ok: [x2] TASK [Find configuration template for initial] ********************************* skipping: [x2] TASK [fail] ******************************************************************** skipping: [x2] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [x2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x2] TASK [Deploy initial configuration] ******************************************** skipping: [x2] TASK [Figure out whether to deploy the module initial on current device] ******* ok: [x3] TASK [Find configuration template for initial] ********************************* skipping: [x3] TASK [fail] ******************************************************************** skipping: [x3] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [x3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x3] TASK [Deploy initial configuration] ******************************************** skipping: [x3] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [x1] ok: [x2] ok: [x3] ok: [dut] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut => (item=routing) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut => (item=vrf) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x1 => (item=routing) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x1 => (item=vrf) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x2 => (item=routing) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x2 => (item=vrf) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x3 => (item=routing) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x3 => (item=vrf) TASK [Figure out whether to deploy the module routing on current device] ******* ok: [dut] TASK [Find configuration template for routing] ********************************* ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for routing] ***************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "routing configuration for dut\n=========================================\n!\n!\n! Static routes\n!\nip route vrf blue 172.16.41.0 255.255.255.0 Ethernet0/1 172.16.0.2\nipv6 route vrf blue 3fff:cafe:0:1::/64 Ethernet0/1 2001:db8:2::2 nexthop-vrf red\nip route vrf red 172.16.42.0 255.255.255.0 Ethernet0/2 172.16.1.3\nipv6 route vrf red 3fff:cafe:0:2::/64 Ethernet0/2 2001:db8:2:1::3 nexthop-vrf blue\nip route 172.16.42.0 255.255.255.0 Ethernet0/2 172.16.1.3\nipv6 route 3fff:cafe:0:2::/64 Ethernet0/2 2001:db8:2:1::3 nexthop-vrf blue\nip route vrf blue 172.16.40.0 255.255.255.0 Ethernet0/3 172.16.2.4 global\nipv6 route vrf blue 3fff:cafe::/64 Ethernet0/3 2001:db8:2:2::4 nexthop-vrf default\n" } TASK [Deploy routing configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/ios.yml for dut TASK [ios_config: deploying routing from /work/netlab_cicd/node_files/dut/routing] *** changed: [dut] TASK [Figure out whether to deploy the module vrf on current device] *********** ok: [dut] TASK [Find configuration template for vrf] ************************************* ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for vrf] ********************* ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "vrf configuration for dut\n=========================================\n" } TASK [Deploy vrf configuration] ************************************************ included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/ios.yml for dut TASK [ios_config: deploying vrf from /work/netlab_cicd/node_files/dut/vrf] ***** ok: [dut] TASK [Figure out whether to deploy the module routing on current device] ******* ok: [x1] TASK [Find configuration template for routing] ********************************* skipping: [x1] TASK [fail] ******************************************************************** skipping: [x1] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [x1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x1] TASK [Deploy routing configuration] ******************************************** skipping: [x1] TASK [Figure out whether to deploy the module vrf on current device] *********** ok: [x1] TASK [Find configuration template for vrf] ************************************* skipping: [x1] TASK [fail] ******************************************************************** skipping: [x1] TASK [Find configuration deployment deploy_script for vrf] ********************* skipping: [x1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x1] TASK [Deploy vrf configuration] ************************************************ skipping: [x1] TASK [Figure out whether to deploy the module routing on current device] ******* ok: [x2] TASK [Find configuration template for routing] ********************************* skipping: [x2] TASK [fail] ******************************************************************** skipping: [x2] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [x2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x2] TASK [Deploy routing configuration] ******************************************** skipping: [x2] TASK [Figure out whether to deploy the module vrf on current device] *********** ok: [x2] TASK [Find configuration template for vrf] ************************************* skipping: [x2] TASK [fail] ******************************************************************** skipping: [x2] TASK [Find configuration deployment deploy_script for vrf] ********************* skipping: [x2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x2] TASK [Deploy vrf configuration] ************************************************ skipping: [x2] TASK [Figure out whether to deploy the module routing on current device] ******* ok: [x3] TASK [Find configuration template for routing] ********************************* skipping: [x3] TASK [fail] ******************************************************************** skipping: [x3] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [x3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x3] TASK [Deploy routing configuration] ******************************************** skipping: [x3] TASK [Figure out whether to deploy the module vrf on current device] *********** ok: [x3] TASK [Find configuration template for vrf] ************************************* skipping: [x3] TASK [fail] ******************************************************************** skipping: [x3] TASK [Find configuration deployment deploy_script for vrf] ********************* skipping: [x3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [x3] TASK [Deploy vrf configuration] ************************************************ skipping: [x3] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=36 changed=3 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 x1 : ok=13 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 x2 : ok=13 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 x3 : ok=13 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Warning: The following warnings were generated during the 'netlab initial' processing Warning: ansible: You're using Ansible version 12.x or higher; netlab might not work correctly Results of configuration script deployments ================================================================================ x1 OK: 2 x2 OK: 2 x3 OK: 2 Use this topology to test inter- VRF IPv4 and IPv6 static routes. DUT has to have static routes for loopback addresses of X1 and X2.