[INFO] Executing initial configuration for node h1 (namespace clab- ml_17-h1) [INFO] Executing routing configuration for node h1 (namespace clab- ml_17-h1) [INFO] Executing initial configuration for node h2 (namespace clab- ml_17-h2) [INFO] Executing routing configuration for node h2 (namespace clab- ml_17-h2) [INFO] Executing initial configuration for node srv (namespace clab- ml_17-srv) [INFO] Executing routing configuration for node srv (namespace clab- ml_17-srv) [INFO] Starting Ansible playbook to deploy the rest of the configurations /home/pipi/.local/lib/python3.10/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from cryptography.hazmat.primitives.ciphers.algorithms in 48.0.0. "cipher": algorithms.TripleDES, /home/pipi/.local/lib/python3.10/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from cryptography.hazmat.primitives.ciphers.algorithms in 48.0.0. "class": algorithms.TripleDES, [WARNING]: Could not match supplied host pattern, ignoring: unprovisioned [WARNING]: Found variable using reserved name: hosts PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [h1] ok: [h2] ok: [srv] ok: [dut] TASK [Generic readiness tests] ************************************************* skipping: [h1] skipping: [h2] skipping: [srv] skipping: [dut] TASK [Find device readiness script] ******************************************** ok: [h1] ok: [h2] ok: [srv] ok: [dut] TASK [Wait for device to become ready] ***************************************** skipping: [h1] skipping: [h2] skipping: [srv] included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/cumulus_nvue.yml for dut TASK [Wait for nvued to start] ************************************************* ok: [dut] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h1, h2, srv, dut TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [h1] ok: [h2] ok: [srv] ok: [dut] TASK [Find configuration template for normalize] ******************************* ok: [h1] ok: [h2] ok: [srv] ok: [dut] TASK [fail] ******************************************************************** skipping: [h1] skipping: [h2] skipping: [srv] skipping: [dut] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [h1] ok: [h2] ok: [srv] ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] skipping: [h2] skipping: [srv] skipping: [dut] TASK [Deploy normalize configuration] ****************************************** skipping: [h1] skipping: [h2] skipping: [srv] skipping: [dut] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h1, h2, srv, dut TASK [Figure out whether to deploy the module initial on current device] ******* ok: [h1] ok: [h2] ok: [srv] ok: [dut] TASK [Find configuration template for initial] ********************************* skipping: [h1] skipping: [h2] skipping: [srv] ok: [dut] TASK [fail] ******************************************************************** skipping: [h1] skipping: [h2] skipping: [srv] skipping: [dut] TASK [Find configuration deployment deploy_script for initial] ***************** skipping: [h1] skipping: [h2] skipping: [srv] ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] skipping: [h2] skipping: [srv] ok: [dut] => { "msg": "initial configuration for dut\n=========================================\n\n- set:\n system:\n hostname: dut\n global:\n system-mac: ca:fe:00:04:00:00\n config:\n snippet:\n system-mtu:\n file: /etc/network/ifupdown2/policy.d/mtu.json\n content: |\n { \"address\": { \"defaults\": { \"mtu\": \"1500\" } } }\n\n interface:\n eth0:\n ip:\n vrf: mgmt\n address:\n dhcp: {}\n type: eth\n swp1:\n type: swp\n link:\n state:\n up : {}\n description: \"dut -> h1 [stub]\"\n ip:\n address:\n 172.16.0.4/24: {}\n ipv6:\n enable: off\n\n swp2:\n type: swp\n link:\n state:\n up : {}\n description: \"dut -> h2 [stub]\"\n ip:\n address:\n 172.16.1.4/24: {}\n ipv6:\n enable: off\n\n swp3:\n type: swp\n link:\n state:\n up : {}\n description: \"dut -> srv [stub]\"\n ip:\n address:\n 172.16.2.4/24: {}\n ipv6:\n enable: off\n\n\n- set:\n interface:\n lo:\n type: loopback\n ip:\n address:\n 10.0.0.4/32: {}\n ipv6:\n enable: off\n" } TASK [Deploy initial configuration] ******************************************** skipping: [h1] skipping: [h2] skipping: [srv] included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/cumulus_nvue.yml for dut TASK [set_fact] **************************************************************** ok: [dut] TASK [copy the cumulus nvue YAML initial config file to switch (generated from /home/pipi/netlab_gh/netsim/ansible/templates/initial/cumulus_nvue.j2)] *** changed: [dut] TASK [execute on cumulus: 'nv config patch' for initial config] **************** changed: [dut] TASK [execute on cumulus: 'nv config apply -y' for initial config] ************* changed: [dut] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [h1] ok: [h2] ok: [srv] ok: [dut] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h1, h2, srv, dut => (item=vrf) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for h1, h2, srv, dut => (item=routing) TASK [Figure out whether to deploy the module vrf on current device] *********** ok: [h1] ok: [h2] ok: [srv] ok: [dut] TASK [Find configuration template for vrf] ************************************* skipping: [h1] skipping: [h2] skipping: [srv] ok: [dut] TASK [fail] ******************************************************************** skipping: [h1] skipping: [h2] skipping: [srv] skipping: [dut] TASK [Find configuration deployment deploy_script for vrf] ********************* skipping: [h1] skipping: [h2] skipping: [srv] ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] skipping: [h2] skipping: [srv] ok: [dut] => { "msg": "vrf configuration for dut\n=========================================\n---\n- set:\n vrf:\n red:\n table: auto\n blue:\n table: auto\n common:\n table: auto\n\n\n- set:\n router:\n bgp:\n enable: on\n autonomous-system: 65000\n router-id: 10.0.0.4\n- set:\n vrf:\n default:\n router:\n bgp:\n enable: on\n autonomous-system: 65000\n router-id: 10.0.0.4\n address-family:\n ipv4-unicast:\n enable: on\n network:\n 10.0.0.4/32: {}\n- set:\n vrf:\n red:\n router:\n bgp:\n enable: on\n autonomous-system: 65000\n router-id: 10.0.0.4\n rd: 65000:1\n address-family:\n ipv4-unicast:\n enable: on\n redistribute:\n connected:\n enable: on\n\n\n- set:\n vrf:\n blue:\n router:\n bgp:\n enable: on\n autonomous-system: 65000\n router-id: 10.0.0.4\n rd: 65000:2\n address-family:\n ipv4-unicast:\n enable: on\n redistribute:\n connected:\n enable: on\n\n\n- set:\n vrf:\n common:\n router:\n bgp:\n enable: on\n autonomous-system: 65000\n router-id: 10.0.0.4\n rd: 65000:3\n address-family:\n ipv4-unicast:\n enable: on\n redistribute:\n connected:\n enable: on\n\n\n\n- set:\n system:\n config:\n snippet:\n frr.conf: |\n router bgp 65000 vrf red\n address-family ipv4 unicast\n label vpn export auto\n export vpn\n import vpn\n rd vpn export 65000:1\n rt vpn import 65000:1 65000:3\n rt vpn export 65000:1\n exit-address-family\n !\n router bgp 65000 vrf blue\n address-family ipv4 unicast\n label vpn export auto\n export vpn\n import vpn\n rd vpn export 65000:2\n rt vpn import 65000:2 65000:3\n rt vpn export 65000:2\n exit-address-family\n !\n router bgp 65000 vrf common\n address-family ipv4 unicast\n label vpn export auto\n export vpn\n import vpn\n rd vpn export 65000:3\n rt vpn import 65000:1 65000:2 65000:3\n rt vpn export 65000:3\n exit-address-family\n !\n\n- set:\n interface:\n swp1:\n ip:\n vrf: red\n- set:\n interface:\n swp2:\n ip:\n vrf: blue\n- set:\n interface:\n swp3:\n ip:\n vrf: common\n" } TASK [Deploy vrf configuration] ************************************************ skipping: [h1] skipping: [h2] skipping: [srv] included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/cumulus_nvue.yml for dut TASK [set_fact] **************************************************************** ok: [dut] TASK [copy the cumulus nvue YAML vrf config file to switch (generated from /home/pipi/netlab_gh/netsim/ansible/templates/vrf/cumulus_nvue.j2)] *** changed: [dut] TASK [execute on cumulus: 'nv config patch' for vrf config] ******************** changed: [dut] TASK [execute on cumulus: 'nv config apply -y' for vrf config] ***************** changed: [dut] TASK [Figure out whether to deploy the module routing on current device] ******* ok: [h1] ok: [h2] ok: [srv] ok: [dut] TASK [Find configuration template for routing] ********************************* skipping: [h1] skipping: [h2] skipping: [srv] skipping: [dut] TASK [fail] ******************************************************************** skipping: [h1] skipping: [h2] skipping: [srv] skipping: [dut] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [h1] skipping: [h2] skipping: [srv] skipping: [dut] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [h1] skipping: [h2] skipping: [srv] skipping: [dut] TASK [Deploy routing configuration] ******************************************** skipping: [h1] skipping: [h2] skipping: [srv] skipping: [dut] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=31 changed=6 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 h1 : ok=13 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 h2 : ok=13 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 srv : ok=13 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ h1 OK=2 h2 OK=2 srv OK=2 The device under test has two user VRFs and a common services VRF. The lab tests inter-VRF route leaking between common VRF and other VRFs * h1 and h2 should be able to ping srv but not each other