[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] ok: [x2] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [dut] ok: [x1] ok: [x2] TASK [Find configuration template for normalize] ******************************* ok: [dut] ok: [x1] ok: [x2] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] skipping: [x2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [dut] ok: [x1] ok: [x2] 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!\ninterface Ethernet2\n shutdown\n" } ok: [x2] => { "msg": "normalize configuration for x2\n=========================================\n!\ninterface Ethernet1\n shutdown\n!\ninterface Ethernet2\n shutdown\n" } TASK [Deploy normalize configuration] ****************************************** skipping: [dut] included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 TASK [eos_config: deploying normalize from /work/netlab_cicd/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] changed: [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 [Find configuration deployment deploy_script for initial] ***************** ok: [dut] ok: [x1] ok: [x2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "initial configuration for dut\n=========================================\nset system host-name 'dut'\n\n\nset interfaces dummy dum0 address 10.0.0.1/32\n\n\n\nset interfaces bonding bond1 description 'dut -> x1 [stub]'\n\nset interfaces bonding bond1 mtu 1500\n\nset interfaces bonding bond1 address 172.16.0.1/24\n\n\n\n\n\nset interfaces bonding bond2 description 'dut -> x2 [stub]'\n\nset interfaces bonding bond2 mtu 1400\n\nset interfaces bonding bond2 address 172.16.1.1/24\n\n\n\n\n\nset interfaces ethernet eth1 description 'dut -> x1 [stub]'\n\nset interfaces ethernet eth1 mtu 1500\n\n\n\n\n\n\nset interfaces ethernet eth2 description 'dut -> x1 [stub]'\n\nset interfaces ethernet eth2 mtu 1500\n\n\n\n\n\n\nset interfaces ethernet eth3 description 'dut -> x2 [stub]'\n\nset interfaces ethernet eth3 mtu 1400\n\n\n\n\n\n\nset interfaces ethernet eth4 description 'dut -> x2 [stub]'\n\nset interfaces ethernet eth4 mtu 1400\n\n\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\n\n\ncommit\n\n# Restart FRR to pick up the new hostname\nsudo service frr restart\n" } ok: [x1] => { "msg": "initial configuration for x1\n=========================================\nhostname x1\n!\nlogging monitor debugging\naaa authorization exec default local\n!\nlldp run\nno ip routing\nno ipv6 unicast-routing\n!\n!\nip host dut 10.0.0.1 172.16.0.1 172.16.1.1\nip host x2 172.16.1.3\n!\ninterface Management1\n no lldp transmit\n no lldp receive\n!\ninterface port-channel1\n no switchport\n mtu 1500\n description x1 -> dut [stub]\n ip address 172.16.0.2/24\n!\ninterface Ethernet1\n no switchport\n mtu 1500\n description x1 -> dut [stub]\n mac-address caf0.0002.0001\n!\n no shutdown\n!\ninterface Ethernet2\n no switchport\n mtu 1500\n description x1 -> dut [stub]\n mac-address caf0.0002.0002\n!\n no shutdown\n!\n" } ok: [x2] => { "msg": "initial configuration for x2\n=========================================\nhostname x2\n!\nlogging monitor debugging\naaa authorization exec default local\n!\nlldp run\nno ip routing\nno ipv6 unicast-routing\n!\n!\nip host dut 10.0.0.1 172.16.0.1 172.16.1.1\nip host x1 172.16.0.2\n!\ninterface Management1\n no lldp transmit\n no lldp receive\n!\ninterface port-channel1\n no switchport\n mtu 1400\n description x2 -> dut [stub]\n ip address 172.16.1.3/24\n!\ninterface Ethernet1\n no switchport\n mtu 1400\n description x2 -> dut [stub]\n mac-address caf0.0003.0001\n!\n no shutdown\n!\ninterface Ethernet2\n no switchport\n mtu 1400\n description x2 -> dut [stub]\n mac-address caf0.0003.0002\n!\n no shutdown\n!\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/vyos.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 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] TASK [eos_config: deploying initial from /work/netlab_cicd/node_files/x1/initial] *** 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=lag) included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-module.yml for dut, x1, x2 => (item=routing) 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\n=========================================\n\nset interfaces bonding bond1 member interface eth1\nset interfaces bonding bond1 member interface eth2\n\nset interfaces bonding bond1 mode 802.3ad\nset interfaces bonding bond1 lacp-rate fast\n\n\n\nset interfaces bonding bond2 member interface eth3\nset interfaces bonding bond2 member interface eth4\n\nset interfaces bonding bond2 mode 802.3ad\nset interfaces bonding bond2 lacp-rate fast\n\n\n" } ok: [x1] => { "msg": "lag configuration for x1\n=========================================\n\ninterface port-channel1\n description x1 -> dut\n!\n!\n!\ninterface Ethernet1\n description x1 -> dut in channel-group 1\n channel-group 1 mode active\n lacp timer fast\n!\ninterface Ethernet2\n description x1 -> dut in channel-group 1\n channel-group 1 mode active\n lacp timer fast\n" } ok: [x2] => { "msg": "lag configuration for x2\n=========================================\n\ninterface port-channel1\n description x2 -> dut\n!\n!\n!\ninterface Ethernet1\n description x2 -> dut in channel-group 1\n channel-group 1 mode active\n lacp timer fast\n!\ninterface Ethernet2\n description x2 -> dut in channel-group 1\n channel-group 1 mode active\n lacp timer fast\n" } TASK [Deploy lag configuration] ************************************************ included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/vyos.yml for dut included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 TASK [set_fact] **************************************************************** ok: [dut] TASK [template] **************************************************************** changed: [dut] TASK [execute config-lag.sh to deploy lag config from /work/netlab_cicd/node_files/dut/lag] *** changed: [dut] TASK [eos_config: deploying lag from /work/netlab_cicd/node_files/x1/lag] ****** changed: [x1] changed: [x2] TASK [Figure out whether to deploy the module routing on current device] ******* ok: [dut] ok: [x1] ok: [x2] TASK [Find configuration template for routing] ********************************* skipping: [dut] ok: [x1] ok: [x2] TASK [fail] ******************************************************************** skipping: [dut] skipping: [x1] skipping: [x2] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [dut] ok: [x1] ok: [x2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] ok: [x1] => { "msg": "routing configuration for x1\n=========================================\n!\n!\n! Static routes\n!\nip route 0.0.0.0/0 port-channel1 172.16.0.1\n" } ok: [x2] => { "msg": "routing configuration for x2\n=========================================\n!\n!\n! Static routes\n!\nip route 0.0.0.0/0 port-channel1 172.16.1.1\n" } TASK [Deploy routing configuration] ******************************************** skipping: [dut] included: /home/pipi/net101/tools/netsim/ansible/tasks/deploy-config/eos.yml for x1, x2 TASK [eos_config: deploying routing from /work/netlab_cicd/node_files/x1/routing] *** changed: [x1] changed: [x2] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=26 changed=4 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 x1 : ok=30 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 x2 : ok=30 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Creating Device configuration snippets [CREATED] dut: initial,lag [CREATED] x1: normalize,initial,lag,routing [CREATED] x2: normalize,initial,lag,routing Config Deploying device configurations The device under is a router with a L3 LAG link connected to a FRR device. The FRR device should be able to ping the loopback interface of DUT.