[INFO] Checking for updates in configuration templates [INFO] Creating configuration snippets [CREATED] spine: initial,bgp,evpn [CREATED] l1: initial,vlan,bgp,vxlan,evpn [CREATED] l2: initial,vlan,bgp,vxlan,evpn [CREATED] h1: initial,routing [CREATED] h2: initial,routing [INFO] Executing initial configuration for node h1 (namespace clab- ml_17-h1) [INFO] Executing routing configuration for node h1 (namespace clab- ml_17-h1) [INFO] Executing initial configuration for node h2 (namespace clab- ml_17-h2) [INFO] Executing routing configuration for node h2 (namespace clab- ml_17-h2) [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: [spine] ok: [l1] ok: [l2] TASK [Generic readiness tests] ************************************************* skipping: [spine] skipping: [l1] skipping: [l2] TASK [Find device readiness script] ******************************************** ok: [spine] ok: [l1] ok: [l2] TASK [Wait for device to become ready] ***************************************** skipping: [spine] skipping: [l1] skipping: [l2] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for spine, l1, l2 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [spine] ok: [l1] ok: [l2] TASK [Find configuration template for normalize] ******************************* ok: [spine] ok: [l1] ok: [l2] TASK [fail] ******************************************************************** skipping: [spine] skipping: [l1] skipping: [l2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [spine] ok: [l1] ok: [l2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [spine] skipping: [l1] skipping: [l2] TASK [Deploy normalize configuration] ****************************************** skipping: [spine] skipping: [l1] skipping: [l2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for spine, l1, l2 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [spine] ok: [l1] ok: [l2] TASK [Find configuration template for initial] ********************************* ok: [spine] ok: [l1] ok: [l2] TASK [fail] ******************************************************************** skipping: [spine] skipping: [l1] skipping: [l2] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [spine] ok: [l1] ok: [l2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [spine] => { "msg": "initial configuration for spine\n=========================================\n#!/bin/vbash\nsource /opt/vyatta/etc/functions/script-template\n\nif [ \"$(id -g -n)\" != 'vyattacfg' ] ; then\n exec sg vyattacfg -c \"/bin/vbash $(readlink -f $0) $@\"\nfi\n\n# Configuration items start here\n\nconfigure\nset system host-name 'spine'\n\n\nset interfaces dummy dum0 address 10.0.0.1/32\n\n\n\nset interfaces ethernet eth1 description 'spine -> l1 [external]'\n\nset interfaces ethernet eth1 mtu 1600\n\n# Need to set the same address as loopback (dum0) to make it behave as unnumbered\nset interfaces ethernet eth1 address 10.0.0.1/32\n\nset interfaces ethernet eth1 ipv6\n\n\n\n\nset interfaces ethernet eth2 description 'spine -> l2 [external]'\n\nset interfaces ethernet eth2 mtu 1600\n\n# Need to set the same address as loopback (dum0) to make it behave as unnumbered\nset interfaces ethernet eth2 address 10.0.0.1/32\n\nset interfaces ethernet eth2 ipv6\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\nset service router-advert interface eth1\nset service router-advert interface eth2\n\n\n# Commit, save and exit from subshell\n\ncommit\nsave\nexit\n\n# Restart FRR to pick up the new hostname\nsudo service frr restart\n" } ok: [l1] => { "msg": "initial configuration for l1\n=========================================\n#!/bin/vbash\nsource /opt/vyatta/etc/functions/script-template\n\nif [ \"$(id -g -n)\" != 'vyattacfg' ] ; then\n exec sg vyattacfg -c \"/bin/vbash $(readlink -f $0) $@\"\nfi\n\n# Configuration items start here\n\nconfigure\nset system host-name 'l1'\n\n\nset interfaces bridge br0 description 'Global Switch Bridge'\nset interfaces bridge br0 enable-vlan\n\nset interfaces bridge br0 vif 1000\n\nset interfaces dummy dum0 address 10.0.0.2/32\n\n\n\nset interfaces ethernet eth1 description 'l1 -> spine [external]'\n\nset interfaces ethernet eth1 mtu 1600\n\n# Need to set the same address as loopback (dum0) to make it behave as unnumbered\nset interfaces ethernet eth1 address 10.0.0.2/32\n\nset interfaces ethernet eth1 ipv6\n\n\n\n\nset interfaces ethernet eth2 description '[Access VLAN red] l1 -> h1'\n\n\n\n\n\n\n\nset interfaces bridge br0 vif 1000 description 'VLAN red (1000) -> [h1,h2,l2] [external]'\n\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\nset service router-advert interface eth1\n\n\n# Commit, save and exit from subshell\n\ncommit\nsave\nexit\n\n# Restart FRR to pick up the new hostname\nsudo service frr restart\n" } ok: [l2] => { "msg": "initial configuration for l2\n=========================================\n#!/bin/bash\n#\nset -e\nset -x\n#\n# Create bash profile script\n#\ncat <