[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: [p1] ok: [h1] ok: [p2] ok: [h2] ok: [pe2] ok: [h4] ok: [h3] ok: [dut] TASK [Find device readiness script] ******************************************** ok: [p1] ok: [h1] ok: [p2] ok: [dut] ok: [h2] ok: [h4] ok: [h3] ok: [pe2] TASK [Wait for device to become ready] ***************************************** skipping: [p1] skipping: [p2] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/iol-clab.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/eos-clab.yml for pe2 TASK [Check if 'sshpass' is installed] ***************************************** ok: [dut -> localhost] TASK [Check for 'timeout' command] ********************************************* ok: [dut -> localhost] TASK [Execute local ssh command to check iol readiness] ************************ FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check iol readiness (20 retries left). ok: [dut -> localhost] TASK [Confirm dut SSH server works] ******************************************** ok: [dut] => msg: Node dut is ready. TASK [Wait for cEOS SSH daemon to start] *************************************** ok: [pe2] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, pe2, p1, p2, h1, h2, h3, h4 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [p1] ok: [p2] ok: [h1] ok: [h2] ok: [dut] ok: [pe2] ok: [h3] ok: [h4] TASK [Find configuration template for normalize] ******************************* ok: [p1] ok: [p2] ok: [dut] ok: [h1] ok: [h3] ok: [h2] ok: [h4] ok: [pe2] TASK [fail] ******************************************************************** skipping: [dut] skipping: [pe2] skipping: [p1] skipping: [p2] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [p1] ok: [p2] ok: [h3] ok: [h1] ok: [h2] ok: [h4] ok: [dut] ok: [pe2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] skipping: [p1] skipping: [p2] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] ok: [pe2] => msg: |- normalize configuration for pe2 ========================================= ! interface Ethernet1 shutdown mac-address 52dc.cafe.0601 ! interface Ethernet2 shutdown mac-address 52dc.cafe.0602 ! interface Ethernet3 shutdown mac-address 52dc.cafe.0603 TASK [Deploy normalize configuration] ****************************************** skipping: [dut] skipping: [p1] skipping: [p2] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for pe2 TASK [eos_config: deploying normalize from /home/pipi/net101/tools/netsim/ansible/templates/normalize/eos.j2] *** [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: [pe2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, pe2, p1, p2, h1, h2, h3, h4 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [p1] ok: [p2] ok: [h1] ok: [h2] ok: [dut] ok: [h4] ok: [h3] ok: [pe2] TASK [Find configuration template for initial] ********************************* ok: [p1] ok: [p2] ok: [h1] ok: [dut] ok: [h2] ok: [pe2] ok: [h3] ok: [h4] TASK [fail] ******************************************************************** skipping: [dut] skipping: [pe2] skipping: [p1] skipping: [p2] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [p1] ok: [p2] ok: [dut] ok: [pe2] ok: [h1] ok: [h4] ok: [h2] ok: [h3] 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.1/24 dev eth1 2>/dev/null set -e ip addr add 172.16.0.1/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.3.4/24 dev eth1 2>/dev/null set -e ip addr add 172.16.3.4/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.2/24 dev eth1 2>/dev/null set -e ip addr add 172.16.1.2/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.2.3/24 dev eth1 2>/dev/null set -e ip addr add 172.16.2.3/24 dev eth1 sysctl -w net.ipv6.conf.eth1.disable_ipv6=1 ip link set dev eth1 mtu 1500 ok: [dut] => msg: |- initial configuration for dut ========================================= hostname dut ! no ip domain lookup ! lldp run ! ip host dut-t1 172.16.0.5 ip host dut-t2 172.16.2.5 ip host h1 172.16.0.1 ip host h2 172.16.1.2 ip host h3 172.16.2.3 ip host h4 172.16.3.4 ip host p1 10.0.0.7 10.1.0.2 10.1.0.5 ip host p2 10.0.0.8 10.1.0.6 10.1.0.9 ip host pe2 10.0.0.6 10.1.0.10 ip host pe2-t1 172.16.1.6 ip host pe2-t2 172.16.3.6 ! ip routing ! no ipv6 unicast-routing ! vrf definition t1 rd 65000:1 route-target import 65000:1 route-target export 65000:1 ! address-family ipv4 exit-address-family ! vrf definition t2 rd 65000:2 route-target import 65000:2 route-target export 65000:2 ! address-family ipv4 exit-address-family ! ! ! interface Loopback0 ip address 10.0.0.5 255.255.255.255 ! interface Ethernet0/0 no lldp transmit no lldp receive ! interface Ethernet0/1 description dut -> p1 ip address 10.1.0.1 255.255.255.252 no shutdown ! interface Ethernet0/2 vrf forwarding t1 description dut -> h1 [stub] ip address 172.16.0.5 255.255.255.0 no shutdown ! interface Ethernet0/3 vrf forwarding t2 description dut -> h3 [stub] ip address 172.16.2.5 255.255.255.0 no shutdown ! ! line vty 0 4 exec-timeout 0 0 ! no banner exec no banner login no banner incoming ok: [pe2] => msg: |- initial configuration for pe2 ========================================= hostname pe2 ! logging monitor debugging aaa authorization exec default local ! lldp run ip routing no ipv6 unicast-routing ! vrf instance t1 rd 65000:1 ! ip routing vrf t1 ! vrf instance t2 rd 65000:2 ! ip routing vrf t2 ! ! ip host dut 10.0.0.5 10.1.0.1 ip host dut-t1 172.16.0.5 ip host dut-t2 172.16.2.5 ip host h1 172.16.0.1 ip host h2 172.16.1.2 ip host h3 172.16.2.3 ip host h4 172.16.3.4 ip host p1 10.0.0.7 10.1.0.2 10.1.0.5 ip host p2 10.0.0.8 10.1.0.6 10.1.0.9 ip host pe2-t1 172.16.1.6 ip host pe2-t2 172.16.3.6 ! interface Management0 no lldp transmit no lldp receive ! interface Loopback0 ip address 10.0.0.6/32 ! interface Ethernet1 no switchport description pe2 -> p2 ip address 10.1.0.10/30 ! mac-address 52dc.cafe.0601 no shutdown ! interface Ethernet2 no switchport vrf t1 description pe2 -> h2 [stub] ip address 172.16.1.6/24 ! mac-address 52dc.cafe.0602 no shutdown ! interface Ethernet3 no switchport vrf t2 description pe2 -> h4 [stub] ip address 172.16.3.6/24 ! mac-address 52dc.cafe.0603 no shutdown ! ok: [p1] => msg: |- initial configuration for p1 ========================================= #!/bin/bash # set -e set -x # # Create bash profile script # cat <