/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: [dut] ok: [x1] ok: [x2] ok: [x3] TASK [Find device readiness script] ******************************************** ok: [dut] ok: [x1] ok: [x2] ok: [x3] TASK [Wait for device to become ready] ***************************************** skipping: [x1] skipping: [x2] skipping: [x3] included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/vyos-clab.yml for dut TASK [wait_for_connection] ***************************************************** ok: [dut] TASK [wait_for] **************************************************************** ok: [dut] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2, x3 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [dut] ok: [x1] ok: [x2] ok: [x3] TASK [Find configuration template for normalize] ******************************* ok: [dut] ok: [x1] ok: [x2] ok: [x3] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] skipping: [x2] skipping: [x3] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [x1] ok: [dut] ok: [x2] ok: [x3] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] skipping: [x1] skipping: [x2] skipping: [x3] TASK [Deploy normalize configuration] ****************************************** skipping: [dut] skipping: [x1] skipping: [x2] skipping: [x3] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2, x3 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [dut] ok: [x1] ok: [x2] ok: [x3] TASK [Find configuration template for initial] ********************************* ok: [dut] ok: [x1] ok: [x2] ok: [x3] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] skipping: [x2] skipping: [x3] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [dut] ok: [x1] ok: [x2] ok: [x3] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => msg: |- initial configuration for dut ========================================= #!/bin/vbash source /opt/vyatta/etc/functions/script-template if [ "$(id -g -n)" != 'vyattacfg' ] ; then exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@" fi # Configuration items start here configure set system host-name 'dut' set interfaces bridge br0 description 'Global Switch Bridge' set interfaces bridge br0 enable-vlan set interfaces bridge br0 vif 500 set interfaces bridge br0 vif 501 set interfaces bridge br0 vif 502 set interfaces dummy dum0 address 2001:db8:1:1::1/64 set interfaces ethernet eth1 description 'dut -> x3' set interfaces ethernet eth1 mtu 1400 set interfaces ethernet eth2 description '[Access VLAN ospf_1] dut -> x1' set interfaces ethernet eth2 mtu 1400 set interfaces ethernet eth3 description '[Access VLAN ospf_2] dut -> x2' set interfaces ethernet eth3 mtu 1280 set interfaces bridge br0 vif 500 description 'VLAN ospf_1 (500) -> [x1]' set interfaces bridge br0 vif 500 mtu 1400 set interfaces bridge br0 vif 500 address 2001:db8:2::1/64; set interfaces bridge br0 vif 501 description 'VLAN ospf_2 (501) -> [x2]' set interfaces bridge br0 vif 501 mtu 1280 set interfaces bridge br0 vif 501 address 2001:db8:2:1::1/64; set interfaces bridge br0 vif 502 description 'VLAN ospf_3 (502) -> [x3]' set interfaces bridge br0 vif 502 mtu 1320 set interfaces bridge br0 vif 502 address 2001:db8:2:2::1/64; set service lldp interface all >/dev/null 2>/dev/null set service lldp interface eth0 disable >/dev/null 2>/dev/null set service lldp interface eth0 mode disable set service router-advert interface br0.500 set service router-advert interface br0.501 set service router-advert interface br0.502 set service ssh # Commit, save and exit from subshell commit save exit # Restart FRR to pick up the new hostname sudo service frr restart ok: [x1] => msg: |- initial configuration for x1 ========================================= #!/bin/bash # set -e set -x # # Create bash profile script # cat <