[WARNING]: Could not match supplied host pattern, ignoring: unprovisioned PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] ok: [x1] ok: [x2] TASK [Find device readiness script] ******************************************** ok: [dut] ok: [x1] ok: [x2] TASK [Wait for device to become ready] ***************************************** skipping: [dut] skipping: [x1] skipping: [x2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [dut] ok: [x1] ok: [x2] TASK [Find configuration template for initial] ********************************* ok: [dut] ok: [x1] ok: [x2] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] skipping: [x2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => msg: |- initial configuration for dut ========================================= - set: system: hostname: dut interface: eth0: ip: vrf: mgmt address: dhcp: {} type: eth swp1: type: swp link: mtu: 1500 state: up: {} description: "dut -> x1" swp2: type: swp link: mtu: 1500 state: up: {} description: "dut -> x2" vlan76: type: svi link: state: up: {} description: "VLAN blue (76) -> [x1,x2]" vlan42: type: svi link: state: up: {} description: "VLAN red (42) -> [x1,x2]" - set: interface: lo: type: loopback ip: address: 10.0.0.1/32: {} ipv6: enable: off ok: [x1] => msg: |- initial configuration for x1 ========================================= hostname x1 ! logging monitor debugging aaa authorization exec default local ! lldp run ip routing ! ! ip host dut 10.0.0.1 ip host x2 10.0.0.2 ! interface Management1 no lldp transmit no lldp receive ! interface Loopback0 no shutdown ip address 10.0.0.3/32 ! interface Ethernet1 no shutdown no switchport description x1 -> dut ! mac-address 52dc.cafe.0301 ! interface Ethernet2 no shutdown no switchport description x1 -> x2 ! mac-address 52dc.cafe.0302 ! interface Vlan76 no shutdown description VLAN blue (76) -> [dut,x2] ! interface Vlan42 no shutdown description VLAN red (42) -> [dut,x2] ! ok: [x2] => msg: |- initial configuration for x2 ========================================= hostname x2 ! logging monitor debugging aaa authorization exec default local ! lldp run ip routing ! ! ip host dut 10.0.0.1 ip host x1 10.0.0.3 ! interface Management1 no lldp transmit no lldp receive ! interface Loopback0 no shutdown ip address 10.0.0.2/32 ! interface Ethernet1 no shutdown no switchport description x2 -> dut ! mac-address 52dc.cafe.0201 ! interface Ethernet2 no shutdown no switchport description x2 -> x1 ! mac-address 52dc.cafe.0202 ! interface Vlan76 no shutdown description VLAN blue (76) -> [x1,dut] ! interface Vlan42 no shutdown description VLAN red (42) -> [x1,dut] ! TASK [Find configuration deployment deploy_script for initial] ***************** ok: [dut] ok: [x1] ok: [x2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/cumulus_nvue.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 TASK [set_fact] **************************************************************** ok: [dut] TASK [copy the cumulus nvue YAML initial config file to switch (generated from /home/pipi/net101/tools/netsim/ansible/templates/initial/cumulus_nvue.j2)] *** changed: [dut] TASK [Wait for nvued to start] ************************************************* ok: [dut] TASK [set_fact] **************************************************************** ok: [dut] TASK [execute on cumulus: 'nv config patch' for initial config] **************** changed: [dut] TASK [execute on cumulus: 'nv config apply -y' for initial config] ************* changed: [dut] TASK [eos_config: deploying initial from /home/pipi/net101/tools/netsim/ansible/templates/initial/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: [x1] changed: [x2] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] ok: [x1] ok: [x2] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2 => (item=vlan) included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2 => (item=stp) TASK [Figure out whether to deploy the module vlan on current device] ********** ok: [dut] ok: [x1] ok: [x2] TASK [Find configuration template for vlan] ************************************ ok: [dut] ok: [x1] ok: [x2] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] skipping: [x2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => msg: |- vlan configuration for dut ========================================= - set: bridge: domain: br_default: mac-address: "08:4f:c2:a9:00:01" # The default 'auto' setting picks the same MAC for multiple instances! untagged: 1 vlan: '76': {} '42': {} interface: swp1: bridge: domain: br_default: vlan: '42': {} '76': {} swp2: bridge: domain: br_default: vlan: '42': {} '76': {} ok: [x1] => msg: |- vlan configuration for x1 ========================================= vlan 76 name blue ! vlan 42 name red ! ! interface Ethernet1 switchport switchport mode trunk switchport trunk allowed vlan 42,76 ! interface Ethernet2 switchport switchport mode trunk switchport trunk allowed vlan 42,76 ! interface Vlan76 ! interface Vlan42 ok: [x2] => msg: |- vlan configuration for x2 ========================================= vlan 76 name blue ! vlan 42 name red ! ! interface Ethernet1 switchport switchport mode trunk switchport trunk allowed vlan 42,76 ! interface Ethernet2 switchport switchport mode trunk switchport trunk allowed vlan 42,76 ! interface Vlan76 ! interface Vlan42 TASK [Find configuration deployment deploy_script for vlan] ******************** ok: [dut] ok: [x1] ok: [x2] TASK [Deploy vlan configuration] *********************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/cumulus_nvue.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 TASK [set_fact] **************************************************************** ok: [dut] TASK [copy the cumulus nvue YAML vlan config file to switch (generated from /home/pipi/net101/tools/netsim/ansible/templates/vlan/cumulus_nvue.j2)] *** changed: [dut] TASK [Wait for nvued to start] ************************************************* skipping: [dut] TASK [set_fact] **************************************************************** ok: [dut] TASK [execute on cumulus: 'nv config patch' for vlan config] ******************* changed: [dut] TASK [execute on cumulus: 'nv config apply -y' for vlan config] **************** changed: [dut] TASK [eos_config: deploying vlan from /home/pipi/net101/tools/netsim/ansible/templates/vlan/eos.j2] *** changed: [x2] changed: [x1] TASK [Figure out whether to deploy the module stp on current device] *********** ok: [dut] ok: [x1] ok: [x2] TASK [Find configuration template for stp] ************************************* ok: [dut] ok: [x1] ok: [x2] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] skipping: [x2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => msg: |- stp configuration for dut ========================================= - set: bridge: domain: br_default: stp: mode: pvrst state: up: {} priority: 4096 vlan: '76': bridge-priority: 4096 '42': bridge-priority: 4096 # When using PVRST, NVidia recommends to increase from default 2000 pps system: control-plane: policer: rpvst: burst: 7200 rate: 7200 ok: [x1] => msg: |- stp configuration for x1 ========================================= spanning-tree mode rapid-pvst ok: [x2] => msg: |- stp configuration for x2 ========================================= spanning-tree mode rapid-pvst spanning-tree priority 16384 spanning-tree vlan-id 76 priority 16384 spanning-tree vlan-id 42 priority 16384 TASK [Find configuration deployment deploy_script for stp] ********************* ok: [dut] ok: [x1] ok: [x2] TASK [Deploy stp configuration] ************************************************ included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/cumulus_nvue.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 TASK [set_fact] **************************************************************** ok: [dut] TASK [copy the cumulus nvue YAML stp config file to switch (generated from /home/pipi/net101/tools/netsim/ansible/templates/stp/cumulus_nvue.j2)] *** changed: [dut] TASK [Wait for nvued to start] ************************************************* skipping: [dut] TASK [set_fact] **************************************************************** ok: [dut] TASK [execute on cumulus: 'nv config patch' for stp config] ******************** changed: [dut] TASK [execute on cumulus: 'nv config apply -y' for stp config] ***************** changed: [dut] TASK [eos_config: deploying stp from /home/pipi/net101/tools/netsim/ansible/templates/stp/eos.j2] *** changed: [x1] changed: [x2] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=37 changed=9 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 x1 : ok=24 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 x2 : ok=24 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 The devices under test form a layer-2 triangle with two VLANs. STP is disabled for red VLAN on DUT which means that the red VLAN should not be blocking.