Creating Device configuration snippets [CREATED] dut: initial,vlan,stp [CREATED] x1: normalize,initial,vlan,stp Config Deploying device configurations [WARNING]: Found variable using reserved name: hosts PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] ok: [x1] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [dut] ok: [x1] TASK [Find configuration template for normalize] ******************************* ok: [dut] ok: [x1] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [dut] ok: [x1] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] ok: [x1] => { "msg": "normalize configuration for x1\n=========================================\n!\ninterface Ethernet1\n shutdown\n" } TASK [Deploy normalize configuration] ****************************************** skipping: [dut] included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1 TASK [eos_config: deploying normalize from /work/netlab_cicd/other_vm/node_files/x1/normalize] *** [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: [x1] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [dut] ok: [x1] TASK [Find configuration template for initial] ********************************* ok: [dut] ok: [x1] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [dut] ok: [x1] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "initial configuration for dut\n=========================================\nhostname dut\n!\nlldp\n!\n\n\n!\nvlan 42\n name red\n!\n\n!\n\n!\ninterface mgmt\n no lldp transmit\n no lldp receive\n!\n\n\ninterface loopback 0\n ip address 10.0.0.1/32\n no shutdown\n!\n\ninterface 1/1/1\n shutdown\n mtu 9198\n description [Access VLAN red] dut -> x1\n no shutdown\n!\n\ninterface vlan42\n description VLAN red (42) -> [x1]\n no shutdown\n!\n!\n" } ok: [x1] => { "msg": "initial configuration for x1\n=========================================\nhostname x1\n!\nlogging monitor debugging\naaa authorization exec default local\n!\nlldp run\nip routing\nno ipv6 unicast-routing\n!\n!\nip host dut 10.0.0.1\n!\ninterface Management1\n no lldp transmit\n no lldp receive\n!\ninterface Loopback0\n ip address 10.0.0.2/32\n!\ninterface Ethernet1\n no switchport\n description [Access VLAN red] x1 -> dut\n!\n no shutdown\n!\ninterface Vlan42\n description VLAN red (42) -> [dut]\n!\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/arubacx.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1 TASK [tempfile] **************************************************************** changed: [dut -> localhost] TASK [template] **************************************************************** changed: [dut -> localhost] TASK [aoscx_config: deploying initial from /work/netlab_cicd/other_vm/node_files/dut/initial] *** changed: [dut] TASK [file] ******************************************************************** changed: [dut -> localhost] TASK [eos_config: deploying initial from /work/netlab_cicd/other_vm/node_files/x1/initial] *** changed: [x1] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] ok: [x1] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1 => (item=vlan) included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1 => (item=stp) TASK [Figure out whether to deploy the module vlan on current device] ********** ok: [dut] ok: [x1] TASK [Find configuration template for vlan] ************************************ ok: [dut] ok: [x1] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Find configuration deployment deploy_script for vlan] ******************** ok: [dut] ok: [x1] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "vlan configuration for dut\n=========================================\n!\n!\ninterface 1/1/1\n no routing\n vlan access 42\n!\ninterface vlan42\n" } ok: [x1] => { "msg": "vlan configuration for x1\n=========================================\nvlan 42\n name red\n!\n\n!\ninterface Ethernet1\n switchport\n switchport access vlan 42\n!\ninterface Vlan42\n" } TASK [Deploy vlan configuration] *********************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/arubacx.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1 TASK [tempfile] **************************************************************** changed: [dut -> localhost] TASK [template] **************************************************************** changed: [dut -> localhost] TASK [aoscx_config: deploying vlan from /work/netlab_cicd/other_vm/node_files/dut/vlan] *** changed: [dut] TASK [file] ******************************************************************** changed: [dut -> localhost] TASK [eos_config: deploying vlan from /work/netlab_cicd/other_vm/node_files/x1/vlan] *** changed: [x1] TASK [Figure out whether to deploy the module stp on current device] *********** ok: [dut] ok: [x1] TASK [Find configuration template for stp] ************************************* ok: [dut] ok: [x1] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] TASK [Find configuration deployment deploy_script for stp] ********************* ok: [dut] ok: [x1] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "stp configuration for dut\n=========================================\n!\n! stp config module\n!\nno spanning-tree\n\n\n\n\n" } ok: [x1] => { "msg": "stp configuration for x1\n=========================================\nspanning-tree mode rstp \nspanning-tree priority 61440\n!\n\n!\n" } TASK [Deploy stp configuration] ************************************************ included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/arubacx.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1 TASK [tempfile] **************************************************************** changed: [dut -> localhost] TASK [template] **************************************************************** changed: [dut -> localhost] TASK [aoscx_config: deploying stp from /work/netlab_cicd/other_vm/node_files/dut/stp] *** changed: [dut] TASK [file] ******************************************************************** changed: [dut -> localhost] TASK [eos_config: deploying stp from /work/netlab_cicd/other_vm/node_files/x1/stp] *** changed: [x1] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=36 changed=12 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 x1 : ok=30 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 The device under test should not run STP. When the STP dust settles, the root bridge should be the probe with root priority set to maximum.