Creating Device configuration snippets [CREATED] dut: initial,ospf [CREATED] x1: initial,ospf [CREATED] x2: initial,ospf Checking Are lab devices ready to be configured? [INFO] Checking SSH server(s) on dut [SSH] SSH server on node dut (device nxos) is ready after 214.5 seconds [INFO] Checking lab devices with an Ansible playbook [WARNING]: Found variable using reserved name: hosts PLAY [Wait for SSH servers] **************************************************** PLAY [Wait for device-specific conditions] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Find device readiness script] ******************************************** ok: [dut] TASK [Wait for device to become ready] ***************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/readiness-check/nxos.yml for dut TASK [Wait for Eth1/1 to appear] *********************************************** ok: [dut] PLAY RECAP ********************************************************************* dut : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Config Deploying device configurations [INFO] Executing initial configuration for node x1 [INFO] Executing initial configuration for node x2 [INFO] Executing ospf configuration for node x1 [INFO] Executing ospf configuration for node x2 [INFO] Starting Ansible playbook to deploy the rest of the configurations [WARNING]: Found variable using reserved name: hosts PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut TASK [Figure out whether to deploy the module initial on current device] ******* ok: [dut] TASK [Find configuration template for initial] ********************************* ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "initial configuration for dut\n=========================================\nhostname dut\n!\nno ip domain-lookup\n!\nfeature lldp\n!\nusername vagrant password vagrant\n!\nip host x1 10.1.0.2\nip host x2 10.1.0.6\n!\n!\ninterface mgmt0\n no lldp transmit\n no lldp receive\n!\ninterface loopback0\n no shutdown\n ipv6 address 2001:db8:1:1::1/64\n ipv6 nd ra-interval 5 min 3\n!\ninterface Ethernet1/1\n no shutdown\n no switchport\n mac-address caf0.0001.0001\n description dut -> x1\n mtu 1500\n ip address 10.1.0.1/30\n!\ninterface Ethernet1/2\n no shutdown\n no switchport\n mac-address caf0.0001.0002\n description dut -> x2\n mtu 1500\n ip address 10.1.0.5/30\n ipv6 address use-link-local-only\n ipv6 nd ra-interval 5 min 3\n!\ninterface Ethernet1/3\n no shutdown\n no switchport\n mac-address caf0.0001.0003\n description dut -> stub [stub]\n ip address 10.42.1.1/24\n!\ninterface Ethernet1/4\n no shutdown\n no switchport\n mac-address caf0.0001.0004\n description dut -> stub [stub]\n ipv6 address 2001:db8:cafe:2::1/64\n ipv6 nd ra-interval 5 min 3\n!\ninterface Ethernet1/5\n no shutdown\n no switchport\n mac-address caf0.0001.0005\n description dut -> stub [stub]\n ip address 10.42.2.1/24\n ipv6 address 2001:db8:cafe:3::1/64\n ipv6 nd ra-interval 5 min 3\n!\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/nxos.yml for dut TASK [nxos_config: deploying initial from /work/netlab_cicd/node_files/dut/initial] *** [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: [dut] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut => (item=ospf) TASK [Figure out whether to deploy the module ospf on current device] ********** ok: [dut] TASK [Find configuration template for ospf] ************************************ ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for ospf] ******************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "ospf configuration for dut\n=========================================\nfeature ospf\n!\nrouter ospf 1\n router-id 10.0.0.1\n timers throttle spf 100 200 500\n timers throttle lsa 0 100 500\n!\ninterface Ethernet1/1\n! dut -> x1\n ip router ospf 1 area 0.0.0.0\n ip ospf network point-to-point\n!\ninterface Ethernet1/2\n! dut -> x2\n ip router ospf 1 area 0.0.0.2\n ip ospf network point-to-point\n!\ninterface Ethernet1/3\n! dut -> stub\n ip router ospf 1 area 0.0.0.0\n ip ospf passive-interface\n!\ninterface Ethernet1/5\n! dut -> stub\n ip router ospf 1 area 0.0.0.0\n ip ospf passive-interface\n!\nfeature ospfv3\n!\nrouter ospfv3 1\n router-id 10.0.0.1\n!\ninterface loopback0\n! \n ipv6 router ospfv3 1 area 0.0.0.0\n!\ninterface Ethernet1/2\n! dut -> x2\n ipv6 router ospfv3 1 area 0.0.0.2\n ospfv3 network point-to-point\n!\ninterface Ethernet1/4\n! dut -> stub\n ipv6 router ospfv3 1 area 0.0.0.0\n ospfv3 passive-interface\n!\ninterface Ethernet1/5\n! dut -> stub\n ipv6 router ospfv3 1 area 0.0.0.0\n ospfv3 passive-interface\n!\n" } TASK [Deploy ospf configuration] *********************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/nxos.yml for dut TASK [nxos_config: deploying ospf from /work/netlab_cicd/node_files/dut/ospf] *** changed: [dut] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=16 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ x1 Script: initial,ospf x2 Script: initial,ospf This lab tests the dual-stack multi-area OSPFv2/OSPFv3 deployments. The device under test has an IPv4 stub interface, an IPv6 stub interface, a dual-stack stub interface, an IPv4-only link, and a dual-stack link.