Creating Device configuration snippets [CREATED] dut: initial,bgp [CREATED] dut2: initial,bgp [CREATED] x1: initial,bgp [CREATED] x2: initial,bgp Config Deploying device configurations [INFO] Executing initial configuration for node x1 [INFO] Executing initial configuration for node x2 [INFO] Executing bgp configuration for node x1 [INFO] Executing bgp configuration for node x2 [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] ok: [dut2] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, dut2 TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [dut] ok: [dut2] TASK [Find configuration template for normalize] ******************************* ok: [dut] ok: [dut2] TASK [fail] ******************************************************************** skipping: [dut] skipping: [dut2] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [dut] ok: [dut2] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] skipping: [dut2] TASK [Deploy normalize configuration] ****************************************** skipping: [dut] skipping: [dut2] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, dut2 TASK [Figure out whether to deploy the module initial on current device] ******* ok: [dut] ok: [dut2] TASK [Find configuration template for initial] ********************************* ok: [dut] ok: [dut2] TASK [fail] ******************************************************************** skipping: [dut] skipping: [dut2] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [dut] ok: [dut2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "initial configuration for dut\n=========================================\n\n/system identity set name=\"dut\"\n\n/interface bridge add name=loopback protocol-mode=none\n\n\n/ipv6 address add interface=loopback address=2001:db8:1::1/128\n\n\n\n\n/interface ethernet set comment=\"dut -> x1 [external]\" ether2\n\n/interface ethernet set mtu=1500 ether2\n/ipv6 address add interface=ether2 address=2001:db8:3::1/64\n/ipv6 nd add interface=ether2 advertise-dns=no ra-interval=3s-30s\n\n\n/interface ethernet set comment=\"dut -> x2 [external]\" ether3\n\n/interface ethernet set mtu=1500 ether3\n/ipv6 address add interface=ether3 address=2001:db8:3:1::1/64\n/ipv6 nd add interface=ether3 advertise-dns=no ra-interval=3s-30s\n\n\n/interface ethernet set comment=\"dut -> dut2 [external]\" ether4\n\n/interface ethernet set mtu=1500 ether4\n/ipv6 address add interface=ether4 address=2001:db8:cafe:e01::1/64\n/ipv6 nd add interface=ether4 advertise-dns=no ra-interval=3s-30s\n\n\n/interface ethernet set comment=\"dut -> stub [stub]\" ether5\n\n/interface ethernet set mtu=1500 ether5\n/ipv6 address add interface=ether5 address=2001:db8:cafe:e42::1/64\n/ipv6 nd add interface=ether5 advertise-dns=no ra-interval=3s-30s\n\n\n/ip neighbor discovery-settings set discover-interface-list=all\n" } ok: [dut2] => { "msg": "initial configuration for dut2\n=========================================\n\n/system identity set name=\"dut2\"\n\n/interface bridge add name=loopback protocol-mode=none\n\n\n/ipv6 address add interface=loopback address=2001:db8:1::2/128\n\n\n\n\n/interface ethernet set comment=\"dut2 -> dut [external]\" ether2\n\n/interface ethernet set mtu=1500 ether2\n/ipv6 address add interface=ether2 address=2001:db8:cafe:e01::2/64\n/ipv6 nd add interface=ether2 advertise-dns=no ra-interval=3s-30s\n\n\n/ip neighbor discovery-settings set discover-interface-list=all\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/routeros7.yml for dut, dut2 TASK [load initial from /work/netlab_cicd/node_files/dut/initial] ************** ok: [dut] ok: [dut2] TASK [Run commands on CHR] ***************************************************** changed: [dut2] changed: [dut] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] ok: [dut2] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, dut2 => (item=bgp) TASK [Figure out whether to deploy the module bgp on current device] *********** ok: [dut] ok: [dut2] TASK [Find configuration template for bgp] ************************************* ok: [dut] ok: [dut2] TASK [fail] ******************************************************************** skipping: [dut] skipping: [dut2] TASK [Find configuration deployment deploy_script for bgp] ********************* ok: [dut] ok: [dut2] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "bgp configuration for dut\n=========================================\n\n/routing/bgp/template add name=main as=65000 output.network=bgp-networks\n\n/routing/bgp/template set main router-id=10.0.0.1\n\n\n/routing/bgp/connection add template=main name=2001_db8_3__3 remote.address=2001:db8:3::3 remote.as=65100 comment=\"x1\" local.role=ebgp\n\n\n/routing/bgp/connection set [/routing/bgp/connection find name=2001_db8_3__3] nexthop-choice=force-self\n\n\n/routing/bgp/connection add template=main name=2001_db8_3_1__4 remote.address=2001:db8:3:1::4 remote.as=65101 comment=\"x2\" local.role=ebgp\n\n\n/routing/bgp/connection set [/routing/bgp/connection find name=2001_db8_3_1__4] nexthop-choice=force-self\n\n\n/routing/bgp/connection add template=main name=2001_db8_cafe_e01__2 remote.address=2001:db8:cafe:e01::2 remote.as=65001 comment=\"dut2\" local.role=ebgp\n\n\n/routing/bgp/connection set [/routing/bgp/connection find name=2001_db8_cafe_e01__2] nexthop-choice=force-self\n\n\n# BGP Network now is controlled by simple ACL\n/ipv6/firewall/address-list/ add list=bgp-networks address=2001:db8:cafe:e42::/64\n\n\n\n" } ok: [dut2] => { "msg": "bgp configuration for dut2\n=========================================\n\n/routing/bgp/template add name=main as=65001 output.network=bgp-networks\n\n/routing/bgp/template set main router-id=10.0.0.2\n\n\n/routing/bgp/connection add template=main name=2001_db8_cafe_e01__1 remote.address=2001:db8:cafe:e01::1 remote.as=65000 comment=\"dut\" local.role=ebgp\n\n\n/routing/bgp/connection set [/routing/bgp/connection find name=2001_db8_cafe_e01__1] nexthop-choice=force-self\n\n\n# BGP Network now is controlled by simple ACL\n/ipv6/firewall/address-list/ add list=bgp-networks address=2001:db8:1::2/128\n\n\n\n" } TASK [Deploy bgp configuration] ************************************************ included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/routeros7.yml for dut, dut2 TASK [load bgp from /work/netlab_cicd/node_files/dut/bgp] ********************** ok: [dut] ok: [dut2] TASK [Run commands on CHR] ***************************************************** changed: [dut2] changed: [dut] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=22 changed=2 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 dut2 : ok=22 changed=2 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ x1 OK: 2 x2 OK: 2 Use this topology to test the origination and propagation of IPv6 prefixes.