[INFO] Creating configuration snippets [CREATED] c1: normalize,initial,dhcp [CREATED] c2: normalize,initial,dhcp [CREATED] server: initial,dhcp,routing [INFO] Executing initial configuration for node server (namespace clab-ml_17-server) [INFO] Executing routing configuration for node server (namespace clab-ml_17-server) [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: [c1] ok: [c2] TASK [Generic readiness tests] ************************************************* skipping: [c1] skipping: [c2] TASK [Find device readiness script] ******************************************** ok: [c1] ok: [c2] TASK [Wait for device to become ready] ***************************************** skipping: [c1] skipping: [c2] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for c1, c2 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [c1] ok: [c2] TASK [Find configuration template for normalize] ******************************* ok: [c1] ok: [c2] TASK [fail] ******************************************************************** skipping: [c1] skipping: [c2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [c1] ok: [c2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [c1] => { "msg": "normalize configuration for c1\n=========================================\n!\ninterface Ethernet1\n shutdown\n" } ok: [c2] => { "msg": "normalize configuration for c2\n=========================================\n!\ninterface Ethernet1\n shutdown\n" } TASK [Deploy normalize configuration] ****************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for c1, c2 TASK [eos_config: deploying normalize from /work/netlab_cicd/node_files/c1/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: [c1] changed: [c2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for c1, c2 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [c1] ok: [c2] TASK [Find configuration template for initial] ********************************* ok: [c1] ok: [c2] TASK [fail] ******************************************************************** skipping: [c1] skipping: [c2] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [c1] ok: [c2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [c1] => { "msg": "initial configuration for c1\n=========================================\nhostname c1\n!\nlogging monitor debugging\naaa authorization exec default local\n!\nlldp run\nip routing\nno ipv6 unicast-routing\n!\n!\nip host c2 10.0.0.2\nip host server 172.16.0.3\n!\ninterface Management1\n no lldp transmit\n no lldp receive\n!\ninterface Loopback0\n ip address 10.0.0.1/32\n!\ninterface Ethernet1\n no switchport\n description c1 -> [c2,server]\n mac-address caf0.0001.0001\n!\n no shutdown\n!\n" } ok: [c2] => { "msg": "initial configuration for c2\n=========================================\nhostname c2\n!\nlogging monitor debugging\naaa authorization exec default local\n!\nlldp run\nip routing\nno ipv6 unicast-routing\n!\n!\nip host c1 10.0.0.1\nip host server 172.16.0.3\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 c2 -> [c1,server]\n mac-address caf0.0002.0001\n!\n no shutdown\n!\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for c1, c2 TASK [eos_config: deploying initial from /work/netlab_cicd/node_files/c1/initial] *** changed: [c1] changed: [c2] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [c1] ok: [c2] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for c1, c2 => (item=dhcp) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for c1, c2 => (item=routing) TASK [Figure out whether to deploy the module dhcp on current device] ********** ok: [c1] ok: [c2] TASK [Find configuration template for dhcp] ************************************ ok: [c1] ok: [c2] TASK [fail] ******************************************************************** skipping: [c1] skipping: [c2] TASK [Find configuration deployment deploy_script for dhcp] ******************** ok: [c1] ok: [c2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [c1] => { "msg": "dhcp configuration for c1\n=========================================\ninterface Ethernet1\n dhcp client accept default-route\n ip address dhcp\n" } ok: [c2] => { "msg": "dhcp configuration for c2\n=========================================\ninterface Ethernet1\n ip address dhcp\n" } TASK [Deploy dhcp configuration] *********************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/eos.yml for c1, c2 TASK [eos_config: deploying dhcp from /work/netlab_cicd/node_files/c1/dhcp] **** changed: [c2] changed: [c1] TASK [Figure out whether to deploy the module routing on current device] ******* ok: [c1] ok: [c2] TASK [Find configuration template for routing] ********************************* skipping: [c1] skipping: [c2] TASK [fail] ******************************************************************** skipping: [c1] skipping: [c2] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [c1] skipping: [c2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [c1] skipping: [c2] TASK [Deploy routing configuration] ******************************************** skipping: [c1] skipping: [c2] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* c1 : ok=26 changed=3 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 c2 : ok=26 changed=3 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ server OK: 2 Use this topology to test the DHCPv4 client on your device. Use 'netlab validate' to check whether your devices requested DHCP leases from the DHCP server. If your client suppors configurable 'router option' requests to generate a default route, check that C1 has a default route but C2 does not.