/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: [r2] ok: [h2] ok: [h1] ok: [r1] ok: [h3] ok: [h4] ok: [r3] ok: [h5] TASK [Find device readiness script] ******************************************** ok: [r2] ok: [h1] ok: [h2] ok: [h4] ok: [r1] ok: [h3] ok: [r3] ok: [h5] TASK [Wait for device to become ready] ***************************************** skipping: [r2] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [h5] included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/nxos.yml for r1, r3 TASK [Wait for Eth1/1 to appear] *********************************************** ok: [r3] ok: [r1] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for r1, r2, r3, h1, h2, h3, h4, h5 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [r2] ok: [h1] ok: [h2] ok: [r1] ok: [h3] ok: [h5] ok: [h4] ok: [r3] TASK [Find configuration template for normalize] ******************************* ok: [r2] ok: [h1] ok: [h2] ok: [r1] ok: [h3] ok: [h4] ok: [h5] ok: [r3] TASK [fail] ******************************************************************** skipping: [r1] skipping: [r2] skipping: [r3] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [h5] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [h1] ok: [r2] ok: [r1] ok: [h3] ok: [h2] ok: [h4] ok: [r3] ok: [h5] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [r1] skipping: [r2] skipping: [r3] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [h5] TASK [Deploy normalize configuration] ****************************************** skipping: [r1] skipping: [r2] skipping: [r3] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [h5] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for r1, r2, r3, h1, h2, h3, h4, h5 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [r2] ok: [h1] ok: [h2] ok: [h3] ok: [h4] ok: [h5] ok: [r1] ok: [r3] TASK [Find configuration template for initial] ********************************* ok: [r2] ok: [h1] ok: [h2] ok: [h3] ok: [h4] ok: [h5] ok: [r1] ok: [r3] TASK [fail] ******************************************************************** skipping: [r1] skipping: [r2] skipping: [r3] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] skipping: [h5] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [r2] ok: [r1] ok: [h2] ok: [h1] ok: [h5] ok: [h3] ok: [h4] ok: [r3] TASK [Print deployed configuration when running in verbose mode] *************** ok: [h1] => msg: |- initial configuration for h1 ========================================= #!/bin/bash # # This script contains the 'ip' commands needed to set up container # interfaces and route table. It's executed within the container # network namespace on the container host. # # /etc/hosts file is generated as a clab bind. # set -e ### One-Shot configuration (non-Ubuntu VM or container) # # Send ARP requests from a sane source IP address sysctl -w net.ipv4.conf.all.arp_announce=2 # # Disable IPv4 and IPv6 forwarding # sysctl -w net.ipv4.ip_forward=0 sysctl -w net.ipv6.conf.all.forwarding=0 # # Interface addressing, create any bond devices # ip link set dev eth1 up set +e ip addr del 172.16.0.4/24 dev eth1 2>/dev/null set -e ip addr add 172.16.0.4/24 dev eth1 sysctl -w net.ipv6.conf.eth1.disable_ipv6=1 ip link set dev eth1 mtu 1500 ok: [h5] => msg: |- initial configuration for h5 ========================================= #!/bin/bash # # This script contains the 'ip' commands needed to set up container # interfaces and route table. It's executed within the container # network namespace on the container host. # # /etc/hosts file is generated as a clab bind. # set -e ### One-Shot configuration (non-Ubuntu VM or container) # # Send ARP requests from a sane source IP address sysctl -w net.ipv4.conf.all.arp_announce=2 # # Disable IPv4 and IPv6 forwarding # sysctl -w net.ipv4.ip_forward=0 sysctl -w net.ipv6.conf.all.forwarding=0 # # Interface addressing, create any bond devices # ip link set dev eth1 up set +e ip addr del 172.16.2.8/24 dev eth1 2>/dev/null set -e ip addr add 172.16.2.8/24 dev eth1 sysctl -w net.ipv6.conf.eth1.disable_ipv6=1 ip link set dev eth1 mtu 1500 ok: [h2] => msg: |- initial configuration for h2 ========================================= #!/bin/bash # # This script contains the 'ip' commands needed to set up container # interfaces and route table. It's executed within the container # network namespace on the container host. # # /etc/hosts file is generated as a clab bind. # set -e ### One-Shot configuration (non-Ubuntu VM or container) # # Send ARP requests from a sane source IP address sysctl -w net.ipv4.conf.all.arp_announce=2 # # Disable IPv4 and IPv6 forwarding # sysctl -w net.ipv4.ip_forward=0 sysctl -w net.ipv6.conf.all.forwarding=0 # # Interface addressing, create any bond devices # ip link set dev eth1 up set +e ip addr del 172.16.1.5/24 dev eth1 2>/dev/null set -e ip addr add 172.16.1.5/24 dev eth1 sysctl -w net.ipv6.conf.eth1.disable_ipv6=1 ip link set dev eth1 mtu 1500 ok: [h3] => msg: |- initial configuration for h3 ========================================= #!/bin/bash # # This script contains the 'ip' commands needed to set up container # interfaces and route table. It's executed within the container # network namespace on the container host. # # /etc/hosts file is generated as a clab bind. # set -e ### One-Shot configuration (non-Ubuntu VM or container) # # Send ARP requests from a sane source IP address sysctl -w net.ipv4.conf.all.arp_announce=2 # # Disable IPv4 and IPv6 forwarding # sysctl -w net.ipv4.ip_forward=0 sysctl -w net.ipv6.conf.all.forwarding=0 # # Interface addressing, create any bond devices # ip link set dev eth1 up set +e ip addr del 172.16.3.6/24 dev eth1 2>/dev/null set -e ip addr add 172.16.3.6/24 dev eth1 sysctl -w net.ipv6.conf.eth1.disable_ipv6=1 ip link set dev eth1 mtu 1500 ok: [h4] => msg: |- initial configuration for h4 ========================================= #!/bin/bash # # This script contains the 'ip' commands needed to set up container # interfaces and route table. It's executed within the container # network namespace on the container host. # # /etc/hosts file is generated as a clab bind. # set -e ### One-Shot configuration (non-Ubuntu VM or container) # # Send ARP requests from a sane source IP address sysctl -w net.ipv4.conf.all.arp_announce=2 # # Disable IPv4 and IPv6 forwarding # sysctl -w net.ipv4.ip_forward=0 sysctl -w net.ipv6.conf.all.forwarding=0 # # Interface addressing, create any bond devices # ip link set dev eth1 up set +e ip addr del 172.16.4.7/24 dev eth1 2>/dev/null set -e ip addr add 172.16.4.7/24 dev eth1 sysctl -w net.ipv6.conf.eth1.disable_ipv6=1 ip link set dev eth1 mtu 1500 ok: [r1] => msg: |- initial configuration for r1 ========================================= hostname r1 ! no ip domain-lookup ! feature lldp ! username vagrant password vagrant ! ip host r1-red 172.16.0.1 ip host r1-blue 172.16.3.1 ip host r2 10.0.0.2 ip host r2-blue 10.1.0.2 ip host r2-red 10.1.0.6 ip host r3 10.0.0.3 ip host r3-red 172.16.1.3 ip host r3-blue 172.16.4.3 ip host h1 172.16.0.4 ip host h2 172.16.1.5 ip host h3 172.16.3.6 ip host h4 172.16.4.7 ip host h5 172.16.2.8 ! feature interface-vlan ! feature bgp ! vrf context red rd 65000:1 address-family ipv4 unicast route-target import 65000:1 route-target export 65000:1 exit vrf context blue rd 65000:2 address-family ipv4 unicast route-target import 65000:2 route-target export 65000:2 exit ! ! interface mgmt0 no lldp transmit no lldp receive ! interface loopback0 no shutdown ip address 10.0.0.1/32 ! interface Ethernet1/1 no shutdown no switchport mac-address 52dc.cafe.0101 description r1 -> r2 ! interface Ethernet1/2 no shutdown no switchport mac-address 52dc.cafe.0102 vrf member red description r1 -> h1 [stub] ip address 172.16.0.1/24 ! interface Ethernet1/3 no shutdown no switchport mac-address 52dc.cafe.0103 vrf member red description r1 -> h5 [stub] ip address 172.16.2.1/24 ! interface Ethernet1/4 no shutdown no switchport mac-address 52dc.cafe.0104 vrf member blue description r1 -> h3 [stub] ip address 172.16.3.1/24 ! interface Ethernet1/1.1 no shutdown vrf member blue description r1 -> r2 ip address 10.1.0.1/30 ! interface Ethernet1/1.2 no shutdown vrf member red description r1 -> r2 ip address 10.1.0.5/30 ! ok: [r2] => msg: |- initial configuration for r2 ========================================= #!/bin/bash # set -e set -x # # Create bash profile script # cat <