Creating Device configuration snippets [CREATED] dut: initial,vlan,ospf [CREATED] x1: initial,vlan,ospf [CREATED] x2: initial,vlan,ospf [CREATED] x3: initial,vlan,ospf Checking Are lab devices ready to be configured? [INFO] Checking lab devices with an Ansible playbook [WARNING]: Could not match supplied host pattern, ignoring: netlab_ready_ssh [WARNING]: Found variable using reserved name: hosts PLAY [Wait for SSH servers] **************************************************** skipping: no hosts matched 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/vyos-clab.yml for dut TASK [wait_for_connection] ***************************************************** ok: [dut] TASK [wait_for] **************************************************************** ok: [dut] PLAY RECAP ********************************************************************* dut : ok=5 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 initial configuration for node x3 [INFO] Executing vlan configuration for node x1 [INFO] Executing vlan configuration for node x2 [INFO] Executing vlan configuration for node x3 [INFO] Executing ospf configuration for node x1 [INFO] Executing ospf configuration for node x2 [INFO] Executing ospf configuration for node x3 [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 [Normalize config on bridge-like devices] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [dut] TASK [Find configuration template for normalize] ******************************* ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] TASK [Deploy normalize configuration] ****************************************** skipping: [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=========================================\n#!/bin/vbash\nsource /opt/vyatta/etc/functions/script-template\n\nif [ \"$(id -g -n)\" != 'vyattacfg' ] ; then\n exec sg vyattacfg -c \"/bin/vbash $(readlink -f $0) $@\"\nfi\n\n# Configuration items start here\n\nconfigure\nset system host-name 'dut'\n\n\nset interfaces bridge br0 description 'Global Switch Bridge'\nset interfaces bridge br0 enable-vlan\n\nset interfaces bridge br0 vif 500\nset interfaces bridge br0 vif 501\nset interfaces bridge br0 vif 502\n\nset interfaces dummy dum0 address 2001:db8:1:1::1/64\n\n\n\nset interfaces ethernet eth1 description 'dut -> x3'\n\nset interfaces ethernet eth1 mtu 1400\n\n\n\n\n\n\nset interfaces ethernet eth2 description '[Access VLAN ospf_1] dut -> x1'\n\nset interfaces ethernet eth2 mtu 1400\n\n\n\n\n\n\nset interfaces ethernet eth3 description '[Access VLAN ospf_2] dut -> x2'\n\nset interfaces ethernet eth3 mtu 1280\n\n\n\n\n\n\nset interfaces bridge br0 vif 500 description 'VLAN ospf_1 (500) -> [x1]'\n\nset interfaces bridge br0 vif 500 mtu 1400\n\n\nset interfaces bridge br0 vif 500 address 2001:db8:2::1/64;\n\n\n\n\nset interfaces bridge br0 vif 501 description 'VLAN ospf_2 (501) -> [x2]'\n\nset interfaces bridge br0 vif 501 mtu 1280\n\n\nset interfaces bridge br0 vif 501 address 2001:db8:2:1::1/64;\n\n\n\n\nset interfaces bridge br0 vif 502 description 'VLAN ospf_3 (502) -> [x3]'\n\nset interfaces bridge br0 vif 502 mtu 1320\n\n\nset interfaces bridge br0 vif 502 address 2001:db8:2:2::1/64;\n\n\n\nset service lldp interface all\n>/dev/null 2>/dev/null set service lldp interface eth0 disable\n>/dev/null 2>/dev/null set service lldp interface eth0 mode disable\n\nset service router-advert interface br0.500\nset service router-advert interface br0.501\nset service router-advert interface br0.502\n\nset service ssh\n\n# Commit, save and exit from subshell\n\ncommit\nsave\nexit\n\n# Restart FRR to pick up the new hostname\nsudo service frr restart\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/vyos.yml for dut TASK [set_fact] **************************************************************** ok: [dut] TASK [template] **************************************************************** changed: [dut] TASK [execute config-initial.sh to deploy initial config from /work/netlab_cicd/node_files/dut/initial] *** 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=vlan) included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut => (item=ospf) TASK [Figure out whether to deploy the module vlan on current device] ********** ok: [dut] TASK [Find configuration template for vlan] ************************************ ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for vlan] ******************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "vlan configuration for dut\n=========================================\nset interfaces bridge br0 member interface eth1 allowed-vlan 502\nset interfaces bridge br0 member interface eth2 native-vlan 500\nset interfaces bridge br0 member interface eth3 native-vlan 501\n" } TASK [Deploy vlan configuration] *********************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/vyos.yml for dut TASK [set_fact] **************************************************************** ok: [dut] TASK [template] **************************************************************** changed: [dut] TASK [execute config-vlan.sh to deploy vlan config from /work/netlab_cicd/node_files/dut/vlan] *** changed: [dut] 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=========================================\n\nset protocols ospfv3 parameters router-id 10.0.0.1\n\n\n\n\nset protocols ospfv3 interface dum0 passive\nset protocols ospfv3 interface dum0 area 0.0.0.0\n\n\nset protocols ospfv3 interface br0.500 area 0.0.0.0\n\nset protocols ospfv3 interface br0.500 network point-to-point\n\n\n\nset protocols ospfv3 interface br0.501 area 0.0.0.0\n\nset protocols ospfv3 interface br0.501 network point-to-point\n\n\n\nset protocols ospfv3 interface br0.502 area 0.0.0.0\n\nset protocols ospfv3 interface br0.502 network point-to-point\n\n\n" } TASK [Deploy ospf configuration] *********************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/vyos.yml for dut TASK [set_fact] **************************************************************** ok: [dut] TASK [template] **************************************************************** changed: [dut] TASK [execute config-ospf.sh to deploy ospf config from /work/netlab_cicd/node_files/dut/ospf] *** changed: [dut] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=33 changed=6 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ x1 OK: 3 x2 OK: 3 x3 OK: 3 This lab tests OSPFv3 adjacencies on VLAN interfaces with non-default MTU settings. The adjacency establishment could fail due to MTU mismatch. Failure to establish X2-DUT adjacency means that the VLAN interface does not get the correct MTU. Failure to establish X1-DUT adjacency indicates a potential problem with system MTU.