[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: [p1] ok: [p2] ok: [h1] ok: [pe2] ok: [h2] ok: [h3] ok: [h4] TASK [Find device readiness script] ******************************************** ok: [dut] ok: [p1] ok: [h1] ok: [p2] ok: [h2] ok: [pe2] ok: [h4] ok: [h3] 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/sros.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/eos-clab.yml for pe2 TASK [Check that required plugin exists, use 'netlab install grpc' to install it] *** ok: [dut] TASK [Wait up to 180s for gNMI(TCP 57400) to be ready on clab-ml_17-dut] ******* ok: [dut -> localhost] 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: [dut] ok: [p2] ok: [p1] ok: [h1] ok: [h2] ok: [h3] ok: [pe2] ok: [h4] TASK [Find configuration template for normalize] ******************************* ok: [dut] ok: [p1] ok: [p2] ok: [h2] ok: [h1] ok: [h4] ok: [h3] 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: [dut] ok: [p1] ok: [p2] ok: [h1] ok: [h3] ok: [h2] ok: [h4] 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: [dut] ok: [p1] ok: [p2] ok: [h1] ok: [h2] ok: [h4] ok: [h3] ok: [pe2] TASK [Find configuration template for initial] ********************************* ok: [dut] ok: [p1] ok: [p2] ok: [h1] ok: [h2] ok: [pe2] ok: [h4] ok: [h3] TASK [fail] ******************************************************************** skipping: [dut] skipping: [pe2] skipping: [p2] skipping: [p1] skipping: [h1] skipping: [h2] skipping: [h3] skipping: [h4] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [dut] ok: [p1] ok: [p2] ok: [h1] ok: [pe2] ok: [h2] ok: [h3] ok: [h4] TASK [Print deployed configuration when running in verbose mode] *************** 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: [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: [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: [dut] => msg: |- initial configuration for dut ========================================= updates: - path: configure/router[router-name=Base] val: ecmp: 64 - path: configure/router[router-name=Base]/interface[interface-name=system] val: admin-state: enable description: "System interface" ipv4: primary: address: "10.0.0.5" prefix-length: 32 - path: configure/port[port-id=1/1/c1] val: admin-state: enable connector: breakout: "c1-100g" - path: configure/port[port-id=1/1/c1/1] val: admin-state: enable ethernet: mtu: 1514 # max 9800 mode: network - path: configure/router[router-name=Base]/interface[interface-name=eth-1/1/c1] val: admin-state: enable description: "dut ~ p1 ()" ip-mtu: 1500 port: "1/1/c1/1" ipv4: primary: address: "10.1.0.1" prefix-length: 30 - path: configure/port[port-id=1/1/c2] val: admin-state: enable connector: breakout: "c1-100g" - path: configure/port[port-id=1/1/c2/1] val: admin-state: enable ethernet: mtu: 1514 # max 9800 mode: access - path: configure/service/vprn[service-name=t1] val: customer: "1" admin-state: enable service-id: 100 # ecmp: 64 - path: configure/service/vprn[service-name=t1]/interface[interface-name=eth-1/1/c2] val: admin-state: enable description: "dut ~ h1 (stub)" ip-mtu: 1500 sap: - sap-id: "1/1/c2/1" ipv4: primary: address: "172.16.0.5" prefix-length: 24 - path: configure/port[port-id=1/1/c3] val: admin-state: enable connector: breakout: "c1-100g" - path: configure/port[port-id=1/1/c3/1] val: admin-state: enable ethernet: mtu: 1514 # max 9800 mode: access - path: configure/service/vprn[service-name=t2] val: customer: "1" admin-state: enable service-id: 101 # ecmp: 64 - path: configure/service/vprn[service-name=t2]/interface[interface-name=eth-1/1/c3] val: admin-state: enable description: "dut ~ h3 (stub)" ip-mtu: 1500 sap: - sap-id: "1/1/c3/1" ipv4: primary: address: "172.16.2.5" prefix-length: 24 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: [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 <