[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details [WARNING]: Could not match supplied host pattern, ignoring: unprovisioned [WARNING]: Found variable using reserved name: hosts PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [x1] ok: [dut] ok: [x2] TASK [Find device readiness script] ******************************************** ok: [dut] ok: [x1] ok: [x2] TASK [Wait for device to become ready] ***************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/eos-clab.yml for x1, x2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/vjunos-switch-clab.yml for dut TASK [Wait for cEOS SSH daemon to start] *************************************** ok: [x2] ok: [x1] TASK [Wait for SSH server] ***************************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/vm-clab-ssh-check.yml for dut TASK [Check if 'sshpass' is installed] ***************************************** ok: [dut -> localhost] TASK [Check for 'timeout' command] ********************************************* ok: [dut -> localhost] TASK [Execute local ssh command to check vjunos-switch readiness] ************** FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check vjunos-switch readiness (40 retries left). FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check vjunos-switch readiness (39 retries left). FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check vjunos-switch readiness (38 retries left). ok: [dut -> localhost] TASK [Confirm dut SSH server works] ******************************************** ok: [dut] => msg: Node dut is ready. TASK [Wait for ge-0/0/0 interface] ********************************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/vjunos-switch.yml for dut TASK [Wait for ge-0/0/0 to appear] ********************************************* ok: [dut] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x1, x2, dut TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [x1] ok: [x2] ok: [dut] TASK [Find configuration template for normalize] ******************************* ok: [x1] ok: [x2] ok: [dut] TASK [fail] ******************************************************************** skipping: [x1] skipping: [x2] skipping: [dut] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [x1] ok: [x2] ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] ok: [x1] => msg: |- normalize configuration for x1 ========================================= ! interface Ethernet1 shutdown mac-address 52dc.cafe.0201 ! interface Ethernet2 shutdown mac-address 52dc.cafe.0202 ok: [x2] => msg: |- normalize configuration for x2 ========================================= ! interface Ethernet1 shutdown mac-address 52dc.cafe.0301 ! interface Ethernet2 shutdown mac-address 52dc.cafe.0302 TASK [Deploy normalize configuration] ****************************************** skipping: [dut] included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 TASK [eos_config: deploying normalize from /home/pipi/netlab_gh/netsim/ansible/templates/normalize/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: [x2] changed: [x1] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for x1, x2, dut 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: [x1] ok: [x2] ok: [dut] TASK [fail] ******************************************************************** skipping: [x1] skipping: [x2] skipping: [dut] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [x1] ok: [dut] ok: [x2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [x2] => msg: |- initial configuration for x2 ========================================= hostname x2 ! logging monitor debugging aaa authorization exec default local ! lldp run ip routing no ipv6 unicast-routing ! ! ip host dut 10.0.0.1 172.16.0.1 172.16.1.1 ip host x1 10.0.0.2 172.16.0.2 ! interface Management0 no lldp transmit no lldp receive ! interface Loopback0 ip address 10.0.0.3/32 ! interface port-channel1 no switchport description [Access VLAN blue] x2 -> dut ! interface Ethernet1 no switchport description x2 -> dut ! mac-address 52dc.cafe.0301 no shutdown ! interface Ethernet2 no switchport description x2 -> dut ! mac-address 52dc.cafe.0302 no shutdown ! interface Vlan1001 description VLAN blue (1001) -> [dut] ip address 172.16.1.3/24 ! ok: [x1] => msg: |- initial configuration for x1 ========================================= hostname x1 ! logging monitor debugging aaa authorization exec default local ! lldp run ip routing no ipv6 unicast-routing ! ! ip host dut 10.0.0.1 172.16.0.1 172.16.1.1 ip host x2 10.0.0.3 172.16.1.3 ! interface Management0 no lldp transmit no lldp receive ! interface Loopback0 ip address 10.0.0.2/32 ! interface port-channel1 no switchport description [Access VLAN red] x1 -> dut ! interface Ethernet1 no switchport description x1 -> dut ! mac-address 52dc.cafe.0201 no shutdown ! interface Ethernet2 no switchport description x1 -> dut ! mac-address 52dc.cafe.0202 no shutdown ! interface Vlan1000 description VLAN red (1000) -> [dut] ip address 172.16.0.2/24 ! ok: [dut] => msg: |- initial configuration for dut ========================================= system { host-name dut; static-host-mapping { x1 inet 10.0.0.2; x2 inet 10.0.0.3; } } interfaces { } interfaces { ae1 { mtu 1514; } ae2 { mtu 1514; } ge-0/0/0 { mtu 1514; } ge-0/0/1 { mtu 1514; } ge-0/0/2 { mtu 1514; } ge-0/0/3 { mtu 1514; } lo0.0 { family inet { address 10.0.0.1/32; } } ae1.0 { description "[Access VLAN red] dut -> x1"; } ae2.0 { description "[Access VLAN blue] dut -> x2"; } ge-0/0/0.0 { description "dut -> x1"; } ge-0/0/1.0 { description "dut -> x1"; } ge-0/0/2.0 { description "dut -> x2"; } ge-0/0/3.0 { description "dut -> x2"; } irb.1000 { description "VLAN red (1000) -> [x1]"; family inet { address 172.16.0.1/24; mtu 1500; } } irb.1001 { description "VLAN blue (1001) -> [x2]"; family inet { address 172.16.1.1/24; mtu 1500; } } } protocols { lldp { interface fxp0 { disable; } interface all; } } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/junos.yml for dut TASK [eos_config: deploying initial from /home/pipi/netlab_gh/netsim/ansible/templates/initial/eos.j2] *** changed: [x1] changed: [x2] TASK [junos_config: deploying initial from /home/pipi/netlab_gh/netsim/ansible/templates/initial/junos.j2] *** [WARNING]: mgd: statement has no contents; ignored changed: [dut] 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/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2 => (item=lag) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2 => (item=vlan) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2 => (item=ospf) TASK [Figure out whether to deploy the module lag on current device] *********** ok: [dut] ok: [x1] ok: [x2] TASK [Find configuration template for lag] ************************************* ok: [dut] ok: [x2] ok: [x1] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] skipping: [x2] TASK [Find configuration deployment deploy_script for lag] ********************* ok: [dut] ok: [x1] ok: [x2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => msg: |- lag configuration for dut ========================================= chassis { aggregated-devices { ethernet { device-count 2; } } } interfaces { ae1 { description "[Access VLAN red] dut -> x1 (LAG)"; aggregated-ether-options { lacp { passive; periodic fast; } } } ge-0/0/0 { description "dut -> x1 in LAG 1"; ether-options { 802.3ad ae1; } delete: mtu; delete: unit 0; } ge-0/0/1 { description "dut -> x1 in LAG 1"; ether-options { 802.3ad ae1; } delete: mtu; delete: unit 0; } ae2 { description "[Access VLAN blue] dut -> x2 (LAG)"; aggregated-ether-options { lacp { passive; periodic fast; } } } ge-0/0/2 { description "dut -> x2 in LAG 2"; ether-options { 802.3ad ae2; } delete: mtu; delete: unit 0; } ge-0/0/3 { description "dut -> x2 in LAG 2"; ether-options { 802.3ad ae2; } delete: mtu; delete: unit 0; } } ok: [x2] => msg: |- lag configuration for x2 ========================================= interface port-channel1 description [Access VLAN blue] x2 -> dut ! ! interface Ethernet1 description x2 -> dut in channel-group 1 channel-group 1 mode passive lacp timer fast ! interface Ethernet2 description x2 -> dut in channel-group 1 channel-group 1 mode passive lacp timer fast ok: [x1] => msg: |- lag configuration for x1 ========================================= interface port-channel1 description [Access VLAN red] x1 -> dut ! ! interface Ethernet1 description x1 -> dut in channel-group 1 channel-group 1 mode active lacp timer fast ! interface Ethernet2 description x1 -> dut in channel-group 1 channel-group 1 mode active lacp timer fast TASK [Deploy lag configuration] ************************************************ included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/junos.yml for dut included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 TASK [junos_config: deploying lag from /home/pipi/netlab_gh/netsim/ansible/templates/lag/junos.j2] *** changed: [dut] TASK [eos_config: deploying lag from /home/pipi/netlab_gh/netsim/ansible/templates/lag/eos.j2] *** changed: [x2] changed: [x1] 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 [Find configuration deployment deploy_script for vlan] ******************** ok: [dut] ok: [x1] ok: [x2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => msg: |- vlan configuration for dut ========================================= vlans { blue { vlan-id 1001; l3-interface irb.1001; } red { vlan-id 1000; l3-interface irb.1000; } } interfaces { ae1.0 { family ethernet-switching { vlan { members red; } } } ae2.0 { family ethernet-switching { vlan { members blue; } } } } ok: [x2] => msg: |- vlan configuration for x2 ========================================= vlan 1001 name blue ! ! interface port-channel1 switchport switchport access vlan 1001 ! interface Vlan1001 ok: [x1] => msg: |- vlan configuration for x1 ========================================= vlan 1000 name red ! ! interface port-channel1 switchport switchport access vlan 1000 ! interface Vlan1000 TASK [Deploy vlan configuration] *********************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/junos.yml for dut included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 TASK [junos_config: deploying vlan from /home/pipi/netlab_gh/netsim/ansible/templates/vlan/vjunos-switch.j2] *** changed: [dut] TASK [eos_config: deploying vlan from /home/pipi/netlab_gh/netsim/ansible/templates/vlan/eos.j2] *** changed: [x1] changed: [x2] TASK [Figure out whether to deploy the module ospf on current device] ********** ok: [dut] ok: [x1] ok: [x2] TASK [Find configuration template for ospf] ************************************ ok: [dut] ok: [x1] ok: [x2] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] skipping: [x2] TASK [Find configuration deployment deploy_script for ospf] ******************** ok: [dut] ok: [x2] ok: [x1] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => msg: |- ospf configuration for dut ========================================= routing-options { router-id 10.0.0.1 } protocols { delete: ospf; } protocols { ospf { area 0.0.0.0 { interface lo0.0 { } } area 0.0.0.0 { interface irb.1000 { interface-type p2p; } } area 0.0.0.0 { interface irb.1001 { interface-type p2p; } } } } ok: [x2] => msg: |- ospf configuration for x2 ========================================= ! ! OSPFv2 configuration ! router ospf 1 router-id 10.0.0.3 interface unnumbered hello mask tx 0.0.0.0 timers spf delay initial 100 200 500 timers lsa rx min interval 100 timers lsa tx delay initial 100 200 500 ! interface Loopback0 ! ip ospf area 0.0.0.0 ! interface Vlan1001 ! VLAN blue (1001) -> [dut] ip ospf area 0.0.0.0 ip ospf network point-to-point ! ok: [x1] => msg: |- ospf configuration for x1 ========================================= ! ! OSPFv2 configuration ! router ospf 1 router-id 10.0.0.2 interface unnumbered hello mask tx 0.0.0.0 timers spf delay initial 100 200 500 timers lsa rx min interval 100 timers lsa tx delay initial 100 200 500 ! interface Loopback0 ! ip ospf area 0.0.0.0 ! interface Vlan1000 ! VLAN red (1000) -> [dut] ip ospf area 0.0.0.0 ip ospf network point-to-point ! TASK [Deploy ospf configuration] *********************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/junos.yml for dut included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 TASK [junos_config: deploying ospf from /home/pipi/netlab_gh/netsim/ansible/templates/ospf/junos.j2] *** [WARNING]: statement not found changed: [dut] TASK [eos_config: deploying ospf from /home/pipi/netlab_gh/netsim/ansible/templates/ospf/eos.j2] *** changed: [x2] changed: [x1] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=43 changed=4 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 x1 : ok=40 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 x2 : ok=40 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 The device under test is a L3 switch using passive LACP. It should be able to establish an OSPF-over-VLAN adjacency with an Arista EOS device using active LACP. but not with another Arista EOS device using passive LACP.