Creating Device configuration snippets [CREATED] dut_dns: initial,services [CREATED] dut_hosts: initial [CREATED] dnssrv: initial,dhcp,services,routing [CREATED] t1: initial,routing Config Deploying device configurations [INFO] Executing initial configuration for node dnssrv (namespace clab-ml-17-dnssrv) [INFO] Executing initial configuration for node t1 (namespace clab- ml-17-t1) [INFO] Executing routing configuration for node t1 (namespace clab- ml-17-t1) [INFO] Executing routing configuration for node dnssrv (namespace clab-ml-17-dnssrv) [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: [dut_dns] ok: [dut_hosts] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut_dns, dut_hosts TASK [Figure out whether to deploy the module initial on current device] ******* ok: [dut_dns] ok: [dut_hosts] TASK [Find configuration template for initial] ********************************* ok: [dut_dns] ok: [dut_hosts] TASK [fail] ******************************************************************** skipping: [dut_dns] skipping: [dut_hosts] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [dut_dns] ok: [dut_hosts] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut_dns] => { "msg": "initial configuration for dut_dns\n=========================================\nhostname dut-dns\n!\nlldp\n!\n\n\n\n\n!\ninterface mgmt\n no lldp transmit\n no lldp receive\n!\n\n\ninterface loopback 0\n ip address 10.0.0.1/32\n no shutdown\n!\n\ninterface 1/1/1\n shutdown\n mtu 9198\n description dut_dns -> [dut_hosts,dnssrv,t1]\n ip address 172.16.0.1/24\n no shutdown\n!\n!\n" } ok: [dut_hosts] => { "msg": "initial configuration for dut_hosts\n=========================================\nhostname dut-hosts\n!\nlldp\n!\n\n\n\nip dns host dnssrv 172.16.0.3\nip dns host dutdns 10.0.0.1\nip dns host t1 172.16.0.4\n\n!\ninterface mgmt\n no lldp transmit\n no lldp receive\n!\n\n\ninterface loopback 0\n ip address 10.0.0.2/32\n no shutdown\n!\n\ninterface 1/1/1\n shutdown\n mtu 9198\n description dut_hosts -> [dut_dns,dnssrv,t1]\n ip address 172.16.0.2/24\n no shutdown\n!\n!\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/arubacx.yml for dut_dns, dut_hosts TASK [tempfile] **************************************************************** changed: [dut_dns -> localhost] changed: [dut_hosts -> localhost] TASK [template] **************************************************************** changed: [dut_hosts -> localhost] changed: [dut_dns -> localhost] TASK [aoscx_config: deploying initial from /work/netlab_cicd/node_files/dut_dns/initial] *** changed: [dut_dns] changed: [dut_hosts] TASK [file] ******************************************************************** changed: [dut_dns -> localhost] changed: [dut_hosts -> localhost] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut_dns] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut_dns => (item=dhcp) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut_dns => (item=services) included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut_dns => (item=routing) TASK [Figure out whether to deploy the module dhcp on current device] ********** ok: [dut_dns] TASK [Find configuration template for dhcp] ************************************ skipping: [dut_dns] TASK [fail] ******************************************************************** skipping: [dut_dns] TASK [Find configuration deployment deploy_script for dhcp] ******************** skipping: [dut_dns] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut_dns] TASK [Deploy dhcp configuration] *********************************************** skipping: [dut_dns] TASK [Figure out whether to deploy the module services on current device] ****** ok: [dut_dns] TASK [Find configuration template for services] ******************************** ok: [dut_dns] TASK [fail] ******************************************************************** skipping: [dut_dns] TASK [Find configuration deployment deploy_script for services] **************** ok: [dut_dns] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut_dns] => { "msg": "services configuration for dut_dns\n=========================================\nip dns server-address 172.16.0.3\nip dns domain-list cicd.local\n" } TASK [Deploy services configuration] ******************************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/arubacx.yml for dut_dns TASK [tempfile] **************************************************************** changed: [dut_dns -> localhost] TASK [template] **************************************************************** changed: [dut_dns -> localhost] TASK [aoscx_config: deploying services from /work/netlab_cicd/node_files/dut_dns/services] *** changed: [dut_dns] TASK [file] ******************************************************************** changed: [dut_dns -> localhost] TASK [Figure out whether to deploy the module routing on current device] ******* ok: [dut_dns] TASK [Find configuration template for routing] ********************************* skipping: [dut_dns] TASK [fail] ******************************************************************** skipping: [dut_dns] TASK [Find configuration deployment deploy_script for routing] ***************** skipping: [dut_dns] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut_dns] TASK [Deploy routing configuration] ******************************************** skipping: [dut_dns] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut_dns : ok=26 changed=8 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 dut_hosts : ok=11 changed=4 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ dnssrv Script: initial,routing t1 Script: initial,routing The test checks the DNS client configuration on DUT. The validate.ping entry must specify the "ping" command for all supported devices; the test performs the ping, checks for the presence of remote IP address in the output (= name resolution works), and then checks for the DNS query on the DNS server (= DNS client works).