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 Config Deploying device configurations [INFO] Executing initial configuration for node x1 [INFO] Executing initial configuration for node x2 [INFO] Executing ospf configuration for node x2 [INFO] Executing ospf configuration for node x1 [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/netlab_gh/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/netlab_gh/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=========================================\ninterfaces {\n lo0 {\n unit 0 {\n family inet {\n address 10.0.0.1/32;\n }\n }\n }\n eth1 {\n description \"dut -> x1\";\n unit 0 {\n family inet {\n address 10.1.0.1/30;\n }\n }\n }\n eth2 {\n description \"dut -> x2\";\n unit 0 {\n family inet {\n address 10.1.0.5/30;\n }\n }\n }\n}\nprotocols {\n lldp {\n interface eth0 {\n disable;\n }\n interface all;\n }\n}\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/junos.yml for dut TASK [junos_config: deploying initial 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/netlab_gh/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=========================================\nrouting-options {\n router-id 10.0.0.1\n}\nprotocols {\n delete: ospf;\n}\n\nprotocols {\n ospf {\n area 0.0.0.0 {\n interface lo0 {\n }\n }\n area 0.0.0.0 {\n interface eth1 {\n }\n }\n area 0.0.0.0 {\n interface eth2 {\n interface-type p2p;\n }\n }\n }\n}\n\n" } TASK [Deploy ospf configuration] *********************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/junos.yml for dut TASK [junos_config: deploying ospf from /work/netlab_cicd/node_files/dut/ospf] *** [WARNING]: statement not found changed: [dut] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=20 changed=2 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ x1 Script: initial,ospf x2 Script: initial,ospf This lab tests the OSPF network type and the default device MTU settings. The device under test has two interfaces with OSPF network type set to 'broadcast' and 'point-to-point'. It has to establish OSPF adjacencies over both and propagate OSPF LSAs to enable X1 and X2 to build an end-to-end path. The adjacency establishment could fail due to missing OSPF configuration or MTU mismatch. A mismatch in network type would result in broken end-to-end path.