From bc36f6a6c9da20951ce7598274286e1ab3d6cb70 Mon Sep 17 00:00:00 2001 From: Jeroen van Bemmel Date: Mon, 4 Nov 2024 04:58:17 -0600 Subject: [PATCH] Script to run template generation against topology test cases --- tests/run-config-tests.err.log | 356 + tests/run-config-tests.log | 12155 +++++++++++++++++++++++++++++++ tests/run-config-tests.sh | 20 + 3 files changed, 12531 insertions(+) create mode 100644 tests/run-config-tests.err.log create mode 100644 tests/run-config-tests.log create mode 100755 tests/run-config-tests.sh diff --git a/tests/run-config-tests.err.log b/tests/run-config-tests.err.log new file mode 100644 index 000000000..378724422 --- /dev/null +++ b/tests/run-config-tests.err.log @@ -0,0 +1,356 @@ +Creating configs based on topology/input/6pe.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/addressing-ipv6-only.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/addressing-ipv6-prefix.yml... +Warning in isis: r4 does not use isis on any non-loopback interface or VRF +... It has been removed from the list of modules active on r4 +Warning in bgp: Node r4 has IBGP sessions but no IGP +... Add a supported IGP (ospf, isis, eigrp) to the list of modules. + +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/addressing-lan.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/addressing-p2p.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/addressing-prefix.yml... +Fatal error in netlab: Executing Ansible playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible failed +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/anycast-gateway.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/bgp-af-rt-929.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/bgp-anycast.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/bgp-autogroup.yml... +Warning in ospf: a1 does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on a1 +Warning in bgp: Node a1 has IBGP sessions but no IGP +... Add a supported IGP (ospf, isis, eigrp) to the list of modules. + +Warning in ospf: a2 does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on a2 +Warning in bgp: Node a2 has IBGP sessions but no IGP +Warning in ospf: a3 does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on a3 +Warning in bgp: Node a3 has IBGP sessions but no IGP +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/bgp-community.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/bgp-ibgp.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/bgp-interface-disable.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/bgp-members.yml... +Warning in bgp: Node rr1 has IBGP sessions but no IGP +... Add a supported IGP (ospf, isis, eigrp) to the list of modules. + +Warning in bgp: Node rr2 has IBGP sessions but no IGP +Warning in bgp: Node pe1 has IBGP sessions but no IGP +Warning in bgp: Node pe2 has IBGP sessions but no IGP +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/bgp-rs-2as.yml... +time="2024-11-04T04:42:05-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:42:05-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/bgp-sessions.yml... +Warning in ospf: x1 does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on x1 +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/bgp-unnumbered-dual-stack.yml... +Fatal error in netlab: Executing Ansible playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible failed +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/bgp-unnumbered.yml... +time="2024-11-04T04:42:23-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:42:23-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/bgp-vrf-local-as.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/bgp.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/clab-attributes.yml... +time="2024-11-04T04:42:43-06:00" level=info msg="Parsing & checking topology file: clab.yml" +Error: error constructing node "n": kind "frr" is not supported. Supported kinds are "arista_ceos, arista_veos, aruba_aoscx, border0, bridge, c8000, ceos, checkpoint_cloudguard, cisco_c8000, cisco_c8000v, cisco_cat9kv, cisco_csr1000v, cisco_ftdv, cisco_iol, cisco_n9kv, cisco_xrd, cisco_xrv, cisco_xrv9k, crpd, cumulus_cvx, cvx, dell_ftosv, dell_sonic, ext-container, fortinet_fortigate, freebsd, generic_vm, host, huawei_vrp, ipinfusion_ocnos, juniper_crpd, juniper_vjunosevolved, juniper_vjunosrouter, juniper_vjunosswitch, juniper_vmx, juniper_vqfx, juniper_vsrx, k8s-kind, keysight_ixia-c-one, linux, mikrotik_ros, nokia_srlinux, nokia_sros, openbsd, ovs-bridge, paloalto_panos, rare, sonic-vm, sonic-vs, srl, vr-aoscx, vr-arista_veos, vr-aruba_aoscx, vr-cisco_csr1000v, vr-cisco_n9kv, vr-cisco_xrv, vr-cisco_xrv9k, vr-csr, vr-dell_ftosv, vr-ftosv, vr-juniper_vmx, vr-juniper_vqfx, vr-juniper_vsrx, vr-mikrotik_ros, vr-n9kv, vr-nokia_sros, vr-paloalto_panos, vr-pan, vr-ros, vr-sros, vr-veos, vr-vmx, vr-vqfx, vr-vsrx, vr-xrv, vr-xrv9k, xrd" +Fatal error in netlab down: sudo -E containerlab destroy --cleanup -t clab.yml failed, aborting... +Creating configs based on topology/input/components.yml... +Warning in bgp: Node c1 has IBGP sessions but no IGP +... Add a supported IGP (ospf, isis, eigrp) to the list of modules. + +Warning in bgp: Node c2 has IBGP sessions but no IGP +time="2024-11-04T04:42:55-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:42:55-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/device-module-defaults.yml... +Fatal error in netlab: Executing Ansible playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible failed +time="2024-11-04T04:43:00-06:00" level=info msg="Parsing & checking topology file: clab.yml" +Error: error constructing node "l2": kind "none" is not supported. Supported kinds are "arista_ceos, arista_veos, aruba_aoscx, border0, bridge, c8000, ceos, checkpoint_cloudguard, cisco_c8000, cisco_c8000v, cisco_cat9kv, cisco_csr1000v, cisco_ftdv, cisco_iol, cisco_n9kv, cisco_xrd, cisco_xrv, cisco_xrv9k, crpd, cumulus_cvx, cvx, dell_ftosv, dell_sonic, ext-container, fortinet_fortigate, freebsd, generic_vm, host, huawei_vrp, ipinfusion_ocnos, juniper_crpd, juniper_vjunosevolved, juniper_vjunosrouter, juniper_vjunosswitch, juniper_vmx, juniper_vqfx, juniper_vsrx, k8s-kind, keysight_ixia-c-one, linux, mikrotik_ros, nokia_srlinux, nokia_sros, openbsd, ovs-bridge, paloalto_panos, rare, sonic-vm, sonic-vs, srl, vr-aoscx, vr-arista_veos, vr-aruba_aoscx, vr-cisco_csr1000v, vr-cisco_n9kv, vr-cisco_xrv, vr-cisco_xrv9k, vr-csr, vr-dell_ftosv, vr-ftosv, vr-juniper_vmx, vr-juniper_vqfx, vr-juniper_vsrx, vr-mikrotik_ros, vr-n9kv, vr-nokia_sros, vr-paloalto_panos, vr-pan, vr-ros, vr-sros, vr-veos, vr-vmx, vr-vqfx, vr-vsrx, vr-xrv, vr-xrv9k, xrd" +Fatal error in netlab down: sudo -E containerlab destroy --cleanup -t clab.yml failed, aborting... +Creating configs based on topology/input/device-node-defaults.yml... +time="2024-11-04T04:43:06-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:43:06-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/dhcp-server-on-segment.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/dhcp-vlan.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/dual-stack.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/ebgp.utils.yml... +Warning in bgp: Node r1 has IBGP sessions but no IGP +... Add a supported IGP (ospf, isis, eigrp) to the list of modules. + +Warning in vrf: Node r3 uses no VRFs, removing 'vrf' from node modules +... A globally-defined VRF is not used on a node unless that node is attached to a VRF + link, or has the VRF listed in the node 'vrfs' dictionary and uses VRF loopbacks. + +Warning in bgp: Node rr has IBGP sessions but no IGP +Warning in vrf: Node rr uses no VRFs, removing 'vrf' from node modules +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/eigrp-feature-test.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/evpn-asymmetric-irb-ospf.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/evpn-hub-spoke.yml... +Warning in bgp: Node r1 has IBGP sessions but no IGP +... Add a supported IGP (ospf, isis, eigrp) to the list of modules. + +Warning in bgp: Node r2 has IBGP sessions but no IGP +time="2024-11-04T04:43:57-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:43:57-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/evpn-l3vni-only.yml... +time="2024-11-04T04:44:06-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:44:06-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/evpn-node-vrf.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/evpn-vlan-attr.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/evpn-vxlan.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/extra-attr-link.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/fabric-ebgp.yml... +Warning in bgp: Node S1 has IBGP sessions but no IGP +... Add a supported IGP (ospf, isis, eigrp) to the list of modules. + +Warning in bgp: Node S2 has IBGP sessions but no IGP +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/group-ansible-variables.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/group-data-vlan.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/group-data-vrf.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/groups-auto-create.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/groups-hierarchy.yml... +Warning in ospf: b does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on b +Warning in ospf: c does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on c +Warning in ospf: d does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on d +Warning in ospf: f does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on f +Fatal error in netlab: Executing Ansible playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible failed +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/groups-node-data.yml... +Warning in bgp: Node a has IBGP sessions but no IGP +... Add a supported IGP (ospf, isis, eigrp) to the list of modules. + +Warning in bgp: Node b has IBGP sessions but no IGP +Warning in bgp: Node c has IBGP sessions but no IGP +Warning in bgp: Node d has IBGP sessions but no IGP +Warning in bgp: Node e has IBGP sessions but no IGP +Warning in bgp: Node f has IBGP sessions but no IGP +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/groups-node.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/groups-simple.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/id.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/igp-af.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/igp-ospf-isis-eigrp-disable.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/isis-bfd-test.yml... +Warning in isis: r2 does not use isis on any non-loopback interface or VRF +... It has been removed from the list of modules active on r2 +time="2024-11-04T04:45:56-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:45:56-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/isis-feature-test.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/lag-l3-vlan-trunk.yml... +time="2024-11-04T04:46:11-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:46:11-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/lag-l3.yml... +time="2024-11-04T04:46:18-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:46:18-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/libvirt-clab-complex.yml... +Template variable error: 'int object' has no attribute 'items' +Fatal error in libvirt: Error rendering Vagrantfile from Vagrantfile.j2 +... 'int object' has no attribute 'items' +Creating configs based on topology/input/link-bw.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/link-empty.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/link-formats.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/link-group.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/link-loopback.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/links-as-dict.yml... +time="2024-11-04T04:46:49-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:46:49-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/link-tunnel.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/link-without-prefix.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/module-node-global-params.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/module-node-global.yml... +Warning in ospf: r1 does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on r1 +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/module-node-only.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/module-node-params.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/module-reorder.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/mpls-vpn-simple.yml... +time="2024-11-04T04:47:37-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:47:37-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/mpls.yml... +Warning in ospf: ce1 does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on ce1 +Warning in ospf: ce2 does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on ce2 +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/nodes-strings.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/ospf-bfd-test.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/ospf.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/paths.yml... +Fatal error in netlab: Executing Ansible playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible failed +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/rp-aspath-numbers.yml... +Fatal error in netlab: Executing Ansible playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible failed +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/rp-clist-expansion.yml... +Fatal error in netlab: Executing Ansible playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible failed +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/rp-normalize-merge.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/rp-prefix-expansion.yml... +Fatal error in netlab: Executing Ansible playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible failed +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/rt-vlan-anycast.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/rt-vlan-mode-link-route.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/rt-vlan-native-routed.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/rt-vlan-no-gateway.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/rt-vlan-role-unnumbered.yml... +time="2024-11-04T04:49:02-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:49:02-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/rt-vlan-trunk-partial-overlap.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/stp-pvrst.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/tools.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/unmanaged-device.yml... +Traceback (most recent call last): + File "/home/jeroen/Projects/netlab/netlab", line 14, in + netsim.cli.lab_commands(__file__) + File "/home/jeroen/Projects/netlab/netsim/cli/__init__.py", line 351, in lab_commands + mod.run(sys.argv[arg_start:]) # type: ignore + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/jeroen/Projects/netlab/netsim/cli/create.py", line 93, in run + output_module.write(topology) + File "/home/jeroen/Projects/netlab/netsim/outputs/provider.py", line 35, in write + providers.mark_providers(topology) + File "/home/jeroen/Projects/netlab/netsim/providers/__init__.py", line 333, in mark_providers + l.provider[node.provider] = True + ~~~~~~~~~~^^^^^^^^^^^^^^^ + File "box/box.py", line 667, in box.box.Box.__setitem__ + File "box/box.py", line 386, in box.box.Box.__hash__ +box.exceptions.BoxTypeError: unhashable type: "Box" +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/unnumbered.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vbox.yml... +Fatal error in netlab: VBoxManage -h failed, aborting +Creating configs based on topology/input/vlan-access-links.yml... +time="2024-11-04T04:49:42-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:49:42-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/vlan-access-neighbors.yml... +time="2024-11-04T04:49:49-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:49:49-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/vlan-access-node.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vlan-access-single.yml... +time="2024-11-04T04:50:01-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:50:01-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/vlan-bridge-trunk-router.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vlan-coverage.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vlan-mode-priority.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vlan-native-routed.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vlan-routed-access.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vlan-routed-multiprovider.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vlan-routed-vrf.yml... +time="2024-11-04T04:50:46-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:50:46-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/vlan-routed.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vlan-router-stick.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vlan-trunk-native.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vlan-vrf-lite.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vlan-vrrp.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vrf-igp.yml... +Warning in vrf: Node r2 uses no VRFs, removing 'vrf' from node modules +... A globally-defined VRF is not used on a node unless that node is attached to a VRF + link, or has the VRF listed in the node 'vrfs' dictionary and uses VRF loopbacks. + +time="2024-11-04T04:51:32-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:51:32-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/vrf-leaking-loop.yml... +time="2024-11-04T04:51:38-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:51:38-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/vrf-links.yml... +time="2024-11-04T04:51:46-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:51:46-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/vrf-loopback.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vrf-routing-blocks.yml... +Warning in ospf: x does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on x +Warning in isis: x does not use isis on any non-loopback interface or VRF +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vrf.yml... +Warning in ospf: r2 does not use ospf on any non-loopback interface or VRF +... It has been removed from the list of modules active on r2 +time="2024-11-04T04:52:10-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:52:10-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/vrrp-interface-granularity.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vxlan-router-stick.yml... +Warning in groups: Group router uses an obsolete attribute node_data. Migrate node parameters into group definition +time="2024-11-04T04:52:24-06:00" level=info msg="Parsing & checking topology file: clab.yml" +time="2024-11-04T04:52:24-06:00" level=info msg="no containerlab containers found" +Creating configs based on topology/input/vxlan-static.yml... +Fatal error in netlab: libvirt is not installed +Creating configs based on topology/input/vxlan-vrf-lite.yml... +Fatal error in netlab: libvirt is not installed diff --git a/tests/run-config-tests.log b/tests/run-config-tests.log new file mode 100644 index 000000000..bfc89cc27 --- /dev/null +++ b/tests/run-config-tests.log @@ -0,0 +1,12155 @@ +Creating configs based on topology/input/6pe.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for pe1 +Created host_vars for pe2 +Created host_vars for cr +Created host_vars for ce1 +Created host_vars for ce2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [cr -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [pe1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for pe1, pe2, ce1, ce2, cr + +TASK [Compute final module name for initial] *********************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [cr -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [cr -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [pe1] +skipping: [pe2] +skipping: [ce1] +skipping: [ce2] +skipping: [cr] + +TASK [Create initial configuration] ******************************************** +ok: [pe2 -> localhost] +ok: [ce1 -> localhost] +ok: [pe1 -> localhost] +ok: [cr -> localhost] +ok: [ce2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [cr -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] + +TASK [Create device configurations for ['bgp', 'isis', 'mpls']] **************** +skipping: [ce1] => (item=isis) +skipping: [ce1] => (item=mpls) +skipping: [ce2] => (item=isis) +skipping: [cr] => (item=bgp) +skipping: [ce2] => (item=mpls) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for ce1, ce2, pe1, pe2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for cr, pe1, pe2 => (item=isis) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for cr, pe1, pe2 => (item=mpls) + +TASK [Compute final module name for bgp] *************************************** +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [ce1] +skipping: [ce2] +skipping: [pe1] +skipping: [pe2] + +TASK [Create bgp configuration] ************************************************ +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] + +TASK [Compute final module name for isis] ************************************** +ok: [cr -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] + +TASK [Find isis configuration template] **************************************** +ok: [cr -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [cr] +skipping: [pe1] +skipping: [pe2] + +TASK [Create isis configuration] *********************************************** +ok: [cr -> localhost] +ok: [pe2 -> localhost] +ok: [pe1 -> localhost] + +TASK [Compute final module name for mpls] ************************************** +ok: [cr -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] + +TASK [Find mpls configuration template] **************************************** +ok: [cr -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [cr] +skipping: [pe1] +skipping: [pe2] + +TASK [Create mpls configuration] *********************************************** +ok: [cr -> localhost] +ok: [pe2 -> localhost] +ok: [pe1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +ce1 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +ce2 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +cr : ok=14 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +pe1 : ok=19 changed=0 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +pe2 : ok=18 changed=0 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/addressing-ipv6-only.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Created host_vars for r4 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3, r4 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [r4] + +TASK [Create initial configuration] ******************************************** +changed: [r3 -> localhost] +changed: [r1 -> localhost] +changed: [r4 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Create device configurations for ['bgp', 'isis']] ************************ +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3, r4 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3, r4 => (item=isis) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [r4] + +TASK [Create bgp configuration] ************************************************ +ok: [r2 -> localhost] +ok: [r4 -> localhost] +ok: [r1 -> localhost] +ok: [r3 -> localhost] + +TASK [Compute final module name for isis] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Find isis configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [r4] + +TASK [Create isis configuration] *********************************************** +ok: [r1 -> localhost] +ok: [r3 -> localhost] +ok: [r2 -> localhost] +ok: [r4 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=15 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=14 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r3 : ok=14 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r4 : ok=14 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/addressing-ipv6-prefix.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Created host_vars for r4 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3, r4 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [r4] + +TASK [Create initial configuration] ******************************************** +changed: [r3 -> localhost] +changed: [r4 -> localhost] +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Create device configurations for ['bgp', 'isis']] ************************ +skipping: [r4] => (item=isis) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3, r4 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=isis) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [r4] + +TASK [Create bgp configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] +changed: [r3 -> localhost] +changed: [r4 -> localhost] + +TASK [Compute final module name for isis] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find isis configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create isis configuration] *********************************************** +changed: [r3 -> localhost] +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r3 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r4 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/addressing-lan.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for csr +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Created host_vars for r4 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3, r4 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [r4] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r4 -> localhost] +changed: [r1 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r4 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/addressing-p2p.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for csr +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/addressing-prefix.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for none +Created host_vars for r1 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +fatal: [r1 -> localhost]: FAILED! => changed=false + msg: |- + Missing configuration template for initial on device none/none + +PLAY RECAP ********************************************************************* +r1 : ok=5 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 + +Error executing ansible-playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible -e config_dir="/home/jeroen/Projects/netlab/tests/test_configs": + Command '['ansible-playbook', '/home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible', '-e', 'config_dir="/home/jeroen/Projects/netlab/tests/test_configs"']' returned non-zero exit status 2. +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/anycast-gateway.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created host_vars for h3 +Created host_vars for h4 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [h1 -> localhost] +ok: [r2 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, h1, h2, h3, h4 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [h1] +skipping: [h2] +skipping: [h3] +skipping: [h4] + +TASK [Create initial configuration] ******************************************** +changed: [h4 -> localhost] +changed: [h3 -> localhost] +changed: [h2 -> localhost] +changed: [h1 -> localhost] +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['vlan', 'ospf', 'gateway']] ************ +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=gateway) + +TASK [Compute final module name for vlan] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create vlan configuration] *********************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for gateway] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find gateway configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create gateway configuration] ******************************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h4 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r1 : ok=19 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +r2 : ok=18 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/bgp-af-rt-929.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for lb1 +Created host_vars for lb2 +Created host_vars for nl1 +Created host_vars for nl2 +Created host_vars for nl3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [lb1 -> localhost] +ok: [lb2 -> localhost] +ok: [nl1 -> localhost] +ok: [nl2 -> localhost] +ok: [nl3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [lb1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for lb1, lb2, nl1, nl2, nl3 + +TASK [Compute final module name for initial] *********************************** +ok: [lb1 -> localhost] +ok: [lb2 -> localhost] +ok: [nl1 -> localhost] +ok: [nl2 -> localhost] +ok: [nl3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [lb1 -> localhost] +ok: [lb2 -> localhost] +ok: [nl2 -> localhost] +ok: [nl1 -> localhost] +ok: [nl3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [lb1] +skipping: [lb2] +skipping: [nl1] +skipping: [nl2] +skipping: [nl3] + +TASK [Create initial configuration] ******************************************** +ok: [nl3 -> localhost] +ok: [nl1 -> localhost] +ok: [nl2 -> localhost] +ok: [lb1 -> localhost] +ok: [lb2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [lb1 -> localhost] +ok: [lb2 -> localhost] +ok: [nl1 -> localhost] +ok: [nl2 -> localhost] +ok: [nl3 -> localhost] + +TASK [Create device configurations for ['bgp']] ******************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for lb1, lb2, nl1, nl2, nl3 => (item=bgp) + +TASK [Compute final module name for bgp] *************************************** +ok: [lb1 -> localhost] +ok: [lb2 -> localhost] +ok: [nl1 -> localhost] +ok: [nl2 -> localhost] +ok: [nl3 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [lb1 -> localhost] +ok: [lb2 -> localhost] +ok: [nl1 -> localhost] +ok: [nl2 -> localhost] +ok: [nl3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [lb1] +skipping: [lb2] +skipping: [nl1] +skipping: [nl2] +skipping: [nl3] + +TASK [Create bgp configuration] ************************************************ +ok: [nl1 -> localhost] +ok: [nl2 -> localhost] +ok: [lb2 -> localhost] +ok: [lb1 -> localhost] +ok: [nl3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +lb1 : ok=11 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +lb2 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +nl1 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +nl2 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +nl3 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/bgp-anycast.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for l1 +Created host_vars for l2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [l1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for l1, l2 + +TASK [Compute final module name for initial] *********************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [l1 -> localhost] +ok: [l2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [l1] +skipping: [l2] + +TASK [Create initial configuration] ******************************************** +changed: [l1 -> localhost] +changed: [l2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf']] ************************ +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for l1, l2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for l1, l2 => (item=ospf) + +TASK [Compute final module name for bgp] *************************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [l1] +skipping: [l2] + +TASK [Create bgp configuration] ************************************************ +changed: [l1 -> localhost] +changed: [l2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [l1] +skipping: [l2] + +TASK [Create ospf configuration] *********************************************** +changed: [l1 -> localhost] +changed: [l2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +l1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +l2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/bgp-autogroup.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for l1 +Created host_vars for l2 +Created host_vars for l3 +Created host_vars for s1 +Created host_vars for a1 +Created host_vars for a2 +Created host_vars for a3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [l1 -> localhost] +ok: [l3 -> localhost] +ok: [l2 -> localhost] +ok: [s1 -> localhost] +ok: [a1 -> localhost] +ok: [a2 -> localhost] +ok: [a3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [l1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for l1, l2, l3, s1, a1, a2, a3 + +TASK [Compute final module name for initial] *********************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [s1 -> localhost] +ok: [a1 -> localhost] +ok: [a2 -> localhost] +ok: [a3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [s1 -> localhost] +ok: [a1 -> localhost] +ok: [a2 -> localhost] +ok: [a3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [l1] +skipping: [l2] +skipping: [l3] +skipping: [s1] +skipping: [a1] +skipping: [a2] +skipping: [a3] + +TASK [Create initial configuration] ******************************************** +ok: [l3 -> localhost] +ok: [a1 -> localhost] +ok: [a2 -> localhost] +ok: [a3 -> localhost] +changed: [s1 -> localhost] +changed: [l1 -> localhost] +changed: [l2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a1 -> localhost] +ok: [a2 -> localhost] +ok: [a3 -> localhost] +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [s1 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf']] ************************ +skipping: [a1] => (item=ospf) +skipping: [a2] => (item=ospf) +skipping: [a3] => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a1, a2, a3, l1, l2, l3, s1 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for l1, l2, l3, s1 => (item=ospf) + +TASK [Compute final module name for bgp] *************************************** +ok: [a1 -> localhost] +ok: [a2 -> localhost] +ok: [a3 -> localhost] +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [s1 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [a1 -> localhost] +ok: [a2 -> localhost] +ok: [a3 -> localhost] +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a1] +skipping: [a2] +skipping: [a3] +skipping: [l1] +skipping: [l2] +skipping: [l3] +skipping: [s1] + +TASK [Create bgp configuration] ************************************************ +ok: [a1 -> localhost] +changed: [l1 -> localhost] +ok: [a3 -> localhost] +changed: [s1 -> localhost] +ok: [l3 -> localhost] +changed: [l2 -> localhost] +ok: [a2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [s1 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [l1] +skipping: [l2] +skipping: [l3] +skipping: [s1] + +TASK [Create ospf configuration] *********************************************** +changed: [l1 -> localhost] +ok: [l3 -> localhost] +changed: [s1 -> localhost] +changed: [l2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a1 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +a2 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +a3 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +l1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +l2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +l3 : ok=14 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s1 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/bgp-community.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r3 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf']] ************************ +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=ospf) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create bgp configuration] ************************************************ +changed: [r2 -> localhost] +changed: [r1 -> localhost] +changed: [r3 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create ospf configuration] *********************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] +ok: [r3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r3 : ok=14 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/bgp-ibgp.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for nxos +Created host_vars for l1 +Created host_vars for s1 +Created host_vars for s2 +Created group_vars for eos +Created host_vars for l2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [l1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for l1, l2, s1, s2 + +TASK [Compute final module name for initial] *********************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [l1] +skipping: [l2] +skipping: [s1] +skipping: [s2] + +TASK [Create initial configuration] ******************************************** +changed: [s2 -> localhost] +changed: [l2 -> localhost] +changed: [s1 -> localhost] +changed: [l1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf']] ************************ +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for l1, l2, s1, s2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for l1, l2, s1, s2 => (item=ospf) + +TASK [Compute final module name for bgp] *************************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [l1] +skipping: [l2] +skipping: [s1] +skipping: [s2] + +TASK [Create bgp configuration] ************************************************ +changed: [l1 -> localhost] +changed: [s1 -> localhost] +changed: [s2 -> localhost] +changed: [l2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [l1] +skipping: [l2] +skipping: [s1] +skipping: [s2] + +TASK [Create ospf configuration] *********************************************** +changed: [l1 -> localhost] +changed: [s1 -> localhost] +changed: [s2 -> localhost] +changed: [l2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +l1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +l2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s1 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/bgp-interface-disable.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['bgp']] ******************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=bgp) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create bgp configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/bgp-members.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for rr1 +Created host_vars for rr2 +Created host_vars for pe1 +Created host_vars for pe2 +Created host_vars for e1 +Created host_vars for e2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [pe1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for pe1, pe2, rr1, rr2, e1, e2 + +TASK [Compute final module name for initial] *********************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [pe1] +skipping: [pe2] +skipping: [rr1] +skipping: [rr2] +skipping: [e1] +skipping: [e2] + +TASK [Create initial configuration] ******************************************** +changed: [pe1 -> localhost] +changed: [pe2 -> localhost] +changed: [e2 -> localhost] +changed: [e1 -> localhost] +changed: [rr1 -> localhost] +changed: [rr2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] + +TASK [Create device configurations for ['bgp']] ******************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for e1, e2, pe1, pe2, rr1, rr2 => (item=bgp) + +TASK [Compute final module name for bgp] *************************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [e1] +skipping: [e2] +skipping: [pe1] +skipping: [pe2] +skipping: [rr1] +skipping: [rr2] + +TASK [Create bgp configuration] ************************************************ +changed: [e2 -> localhost] +changed: [rr2 -> localhost] +changed: [e1 -> localhost] +changed: [pe2 -> localhost] +changed: [pe1 -> localhost] +changed: [rr1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +e1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +e2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +pe1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +pe2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +rr1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +rr2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/bgp-rs-2as.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/r1/daemons to r1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r1/hosts to r1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/r2/daemons to r2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r2/hosts to r2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/rs1/daemons to rs1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/rs1/hosts to rs1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/rs2/daemons to rs2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/rs2/hosts to rs2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for custom_configs +Created group_vars for frr +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for rs1 +Created host_vars for rs2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [rs1 -> localhost] +ok: [rs2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, rs1, rs2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [rs1 -> localhost] +ok: [rs2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [rs1 -> localhost] +ok: [rs2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [rs1] +skipping: [rs2] + +TASK [Create initial configuration] ******************************************** +ok: [rs1 -> localhost] +ok: [rs2 -> localhost] +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [rs1 -> localhost] +ok: [rs2 -> localhost] + +TASK [Create device configurations for ['bgp']] ******************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, rs1, rs2 => (item=bgp) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [rs1 -> localhost] +ok: [rs2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [rs1 -> localhost] +ok: [rs2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [rs1] +skipping: [rs2] + +TASK [Create bgp configuration] ************************************************ +changed: [r1 -> localhost] +ok: [rs1 -> localhost] +changed: [r2 -> localhost] +ok: [rs2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** + +TASK [Create ['bgp.session'] custom device configuration] ********************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-custom-config.yml for r1, r2, rs1, rs2 => (item=bgp.session) + +TASK [Find custom configuration template] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [rs1 -> localhost] +ok: [rs2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [rs1] +skipping: [rs2] + +TASK [template] **************************************************************** +ok: [rs2 -> localhost] +changed: [r1 -> localhost] +ok: [rs1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=13 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +rs1 : ok=13 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +rs2 : ok=13 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Error executing sudo ip link del dev input_1: + Command '['sudo', 'ip', 'link', 'del', 'dev', 'input_1']' returned non-zero exit status 1. +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/bgp-sessions.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for x1 +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, x1 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [x1] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] +changed: [x1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x1 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf']] ************************ +skipping: [x1] => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, x1 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=ospf) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x1 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [x1] + +TASK [Create bgp configuration] ************************************************ +changed: [r1 -> localhost] +changed: [x1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create ospf configuration] *********************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +x1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/bgp-unnumbered-dual-stack.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for cumulus +Created host_vars for test +Created host_vars for x1 +Created host_vars for x2 +Created host_vars for x3 +Created host_vars for x4 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [test -> localhost] +ok: [x1 -> localhost] +ok: [x2 -> localhost] +ok: [x3 -> localhost] +ok: [x4 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [test -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for test, x1, x2, x3, x4 + +TASK [Compute final module name for initial] *********************************** +ok: [test -> localhost] +ok: [x1 -> localhost] +ok: [x2 -> localhost] +ok: [x3 -> localhost] +ok: [x4 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [test -> localhost] +ok: [x1 -> localhost] +ok: [x2 -> localhost] +ok: [x3 -> localhost] +ok: [x4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [test] +skipping: [x1] +skipping: [x2] +skipping: [x3] +skipping: [x4] + +TASK [Create initial configuration] ******************************************** +ok: [x4 -> localhost] +ok: [x2 -> localhost] +ok: [x3 -> localhost] +ok: [test -> localhost] +changed: [x1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [test -> localhost] +ok: [x1 -> localhost] +ok: [x2 -> localhost] +ok: [x3 -> localhost] +ok: [x4 -> localhost] + +TASK [Create device configurations for ['bgp']] ******************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for test, x1, x2, x3, x4 => (item=bgp) + +TASK [Compute final module name for bgp] *************************************** +ok: [test -> localhost] +ok: [x1 -> localhost] +ok: [x2 -> localhost] +ok: [x3 -> localhost] +ok: [x4 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [test -> localhost] +ok: [x2 -> localhost] +ok: [x1 -> localhost] +ok: [x3 -> localhost] +ok: [x4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [test] +skipping: [x1] +skipping: [x2] +skipping: [x3] +skipping: [x4] + +TASK [Create bgp configuration] ************************************************ +An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute 'local_if' +fatal: [test -> localhost]: FAILED! => changed=false + msg: 'AnsibleUndefinedVariable: ''dict object'' has no attribute ''local_if''' +An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute 'local_if' +fatal: [x4 -> localhost]: FAILED! => changed=false + msg: 'AnsibleUndefinedVariable: ''dict object'' has no attribute ''local_if''' +changed: [x1 -> localhost] +ok: [x2 -> localhost] +ok: [x3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +test : ok=10 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 +x1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +x2 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +x3 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +x4 : ok=9 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 + +Error executing ansible-playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible -e config_dir="/home/jeroen/Projects/netlab/tests/test_configs": + Command '['ansible-playbook', '/home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible', '-e', 'config_dir="/home/jeroen/Projects/netlab/tests/test_configs"']' returned non-zero exit status 2. +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/bgp-unnumbered.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/r1/interfaces to r1:/etc/network/interfaces (from templates/provider/clab/cumulus/interfaces.j2) +Mapped clab_files/r1/hosts to r1:/etc/hosts (from templates/provider/clab/cumulus/hosts.j2) +Mapped clab_files/r2/interfaces to r2:/etc/network/interfaces (from templates/provider/clab/cumulus/interfaces.j2) +Mapped clab_files/r2/hosts to r2:/etc/hosts (from templates/provider/clab/cumulus/hosts.j2) +Mapped clab_files/r3/interfaces to r3:/etc/network/interfaces (from templates/provider/clab/cumulus/interfaces.j2) +Mapped clab_files/r3/hosts to r3:/etc/hosts (from templates/provider/clab/cumulus/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for cumulus +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['bgp']] ******************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=bgp) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create bgp configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r3 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/bgp-vrf-local-as.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r2 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r2, r1, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r2 -> localhost] +ok: [r1 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r2] +skipping: [r1] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r3 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['vlan', 'bgp', 'vrf']] ***************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=vrf) + +TASK [Compute final module name for vlan] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create vlan configuration] *********************************************** +changed: [r2 -> localhost] +ok: [r3 -> localhost] +changed: [r1 -> localhost] + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create bgp configuration] ************************************************ +changed: [r2 -> localhost] +changed: [r1 -> localhost] +changed: [r3 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create vrf configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] +ok: [r3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +r2 : ok=19 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +r3 : ok=18 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/bgp.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for rr1 +Created host_vars for rr2 +Created host_vars for pe1 +Created host_vars for pe2 +Created host_vars for e1 +Created host_vars for e2 +Created host_vars for nar +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [nar -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [pe1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for pe1, pe2, rr1, rr2, e1, e2, nar + +TASK [Compute final module name for initial] *********************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [nar -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [nar -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [pe1] +skipping: [pe2] +skipping: [rr1] +skipping: [rr2] +skipping: [e1] +skipping: [e2] +skipping: [nar] + +TASK [Create initial configuration] ******************************************** +changed: [rr2 -> localhost] +ok: [nar -> localhost] +changed: [pe1 -> localhost] +changed: [e2 -> localhost] +changed: [e1 -> localhost] +changed: [pe2 -> localhost] +changed: [rr1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf']] ************************ +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for e1, e2, pe1, pe2, rr1, rr2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for e1, e2, pe1, pe2, rr1, rr2 => (item=ospf) + +TASK [Compute final module name for bgp] *************************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [e1] +skipping: [e2] +skipping: [pe1] +skipping: [pe2] +skipping: [rr1] +skipping: [rr2] + +TASK [Create bgp configuration] ************************************************ +changed: [pe2 -> localhost] +changed: [e2 -> localhost] +changed: [e1 -> localhost] +changed: [rr2 -> localhost] +changed: [rr1 -> localhost] +changed: [pe1 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr1 -> localhost] +ok: [rr2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [e1] +skipping: [e2] +skipping: [pe1] +skipping: [pe2] +skipping: [rr1] +skipping: [rr2] + +TASK [Create ospf configuration] *********************************************** +ok: [e2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [e1 -> localhost] +ok: [rr2 -> localhost] +ok: [rr1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +e1 : ok=14 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +e2 : ok=14 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +nar : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +pe1 : ok=15 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +pe2 : ok=14 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +rr1 : ok=14 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +rr2 : ok=14 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/clab-attributes.yml... +Createdprovider configuration file: clab.yml +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for frr +Created host_vars for n +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [n -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [n -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for n + +TASK [Compute final module name for initial] *********************************** +ok: [n -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [n -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [n] + +TASK [Create initial configuration] ******************************************** +ok: [n -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +n : ok=6 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Error executing sudo -E containerlab destroy --cleanup -t clab.yml: + Command '['sudo', '-E', 'containerlab', 'destroy', '--cleanup', '-t', 'clab.yml']' returned non-zero exit status 1. +Creating configs based on topology/input/components.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/c1/daemons to c1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/c1/hosts to c1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/c2/daemons to c2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/c2/hosts to c2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/srv/hosts to srv:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/leaf/daemons to leaf:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/leaf/hosts to leaf:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/srv/hosts to srv:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/leaf/daemons to leaf:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/leaf/hosts to leaf:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/s1/daemons to s1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/s1/hosts to s1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/s2/daemons to s2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/s2/hosts to s2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/srv/hosts to srv:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/leaf/daemons to leaf:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/leaf/hosts to leaf:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/srv/hosts to srv:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/leaf/daemons to leaf:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/leaf/hosts to leaf:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/s1/daemons to s1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/s1/hosts to s1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/s2/daemons to s2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/s2/hosts to s2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for c1 +Created host_vars for c2 +Created host_vars for pod_1_l1_leaf +Created host_vars for pod_1_l2_leaf +Created host_vars for pod_1_s1 +Created host_vars for pod_1_s2 +Created host_vars for pod_2_l1_leaf +Created host_vars for pod_2_l2_leaf +Created host_vars for pod_2_s1 +Created host_vars for pod_2_s2 +Created group_vars for linux +Created host_vars for pod_1_l1_srv +Created host_vars for pod_1_l2_srv +Created host_vars for pod_2_l1_srv +Created host_vars for pod_2_l2_srv +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [c1 -> localhost] +ok: [c2 -> localhost] +ok: [pod_1_l1_leaf -> localhost] +ok: [pod_1_l2_leaf -> localhost] +ok: [pod_1_s1 -> localhost] +ok: [pod_1_s2 -> localhost] +ok: [pod_2_l1_leaf -> localhost] +ok: [pod_2_l2_leaf -> localhost] +ok: [pod_2_s1 -> localhost] +ok: [pod_1_l1_srv -> localhost] +ok: [pod_2_s2 -> localhost] +ok: [pod_1_l2_srv -> localhost] +ok: [pod_2_l1_srv -> localhost] +ok: [pod_2_l2_srv -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [c1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c1, c2, pod_1_l1_leaf, pod_1_l2_leaf, pod_1_s1, pod_1_s2, pod_2_l1_leaf, pod_2_l2_leaf, pod_2_s1, pod_2_s2, pod_1_l1_srv, pod_1_l2_srv, pod_2_l1_srv, pod_2_l2_srv + +TASK [Compute final module name for initial] *********************************** +ok: [c1 -> localhost] +ok: [c2 -> localhost] +ok: [pod_1_l1_leaf -> localhost] +ok: [pod_1_l2_leaf -> localhost] +ok: [pod_1_s1 -> localhost] +ok: [pod_1_s2 -> localhost] +ok: [pod_2_l1_leaf -> localhost] +ok: [pod_2_l2_leaf -> localhost] +ok: [pod_2_s1 -> localhost] +ok: [pod_2_s2 -> localhost] +ok: [pod_1_l1_srv -> localhost] +ok: [pod_1_l2_srv -> localhost] +ok: [pod_2_l1_srv -> localhost] +ok: [pod_2_l2_srv -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [c1 -> localhost] +ok: [c2 -> localhost] +ok: [pod_1_l1_leaf -> localhost] +ok: [pod_1_l2_leaf -> localhost] +ok: [pod_1_s2 -> localhost] +ok: [pod_1_s1 -> localhost] +ok: [pod_2_l1_leaf -> localhost] +ok: [pod_2_l2_leaf -> localhost] +ok: [pod_2_s1 -> localhost] +ok: [pod_2_s2 -> localhost] +ok: [pod_1_l1_srv -> localhost] +ok: [pod_1_l2_srv -> localhost] +ok: [pod_2_l1_srv -> localhost] +ok: [pod_2_l2_srv -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c1] +skipping: [c2] +skipping: [pod_1_l1_leaf] +skipping: [pod_1_l2_leaf] +skipping: [pod_1_s1] +skipping: [pod_1_s2] +skipping: [pod_2_l1_leaf] +skipping: [pod_2_l2_leaf] +skipping: [pod_2_s1] +skipping: [pod_2_s2] +skipping: [pod_1_l1_srv] +skipping: [pod_1_l2_srv] +skipping: [pod_2_l1_srv] +skipping: [pod_2_l2_srv] + +TASK [Create initial configuration] ******************************************** +ok: [pod_2_s1 -> localhost] +ok: [pod_1_s1 -> localhost] +ok: [c2 -> localhost] +ok: [pod_2_l2_leaf -> localhost] +ok: [pod_1_l1_leaf -> localhost] +ok: [pod_1_s2 -> localhost] +ok: [pod_1_l2_leaf -> localhost] +ok: [pod_2_l1_leaf -> localhost] +ok: [c1 -> localhost] +ok: [pod_2_s2 -> localhost] +ok: [pod_1_l1_srv -> localhost] +ok: [pod_1_l2_srv -> localhost] +ok: [pod_2_l2_srv -> localhost] +ok: [pod_2_l1_srv -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [c1 -> localhost] +ok: [c2 -> localhost] +ok: [pod_1_l1_leaf -> localhost] +ok: [pod_1_l2_leaf -> localhost] +ok: [pod_1_s1 -> localhost] +ok: [pod_1_s2 -> localhost] +ok: [pod_2_l1_leaf -> localhost] +ok: [pod_2_l2_leaf -> localhost] +ok: [pod_2_s1 -> localhost] +ok: [pod_2_s2 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf']] ************************ +skipping: [c1] => (item=ospf) +skipping: [c2] => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c1, c2, pod_1_l1_leaf, pod_1_l2_leaf, pod_1_s1, pod_1_s2, pod_2_l1_leaf, pod_2_l2_leaf, pod_2_s1, pod_2_s2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for pod_1_l1_leaf, pod_1_l2_leaf, pod_1_s1, pod_1_s2, pod_2_l1_leaf, pod_2_l2_leaf, pod_2_s1, pod_2_s2 => (item=ospf) + +TASK [Compute final module name for bgp] *************************************** +ok: [c1 -> localhost] +ok: [c2 -> localhost] +ok: [pod_1_l1_leaf -> localhost] +ok: [pod_1_l2_leaf -> localhost] +ok: [pod_1_s1 -> localhost] +ok: [pod_1_s2 -> localhost] +ok: [pod_2_l1_leaf -> localhost] +ok: [pod_2_l2_leaf -> localhost] +ok: [pod_2_s1 -> localhost] +ok: [pod_2_s2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [c1 -> localhost] +ok: [c2 -> localhost] +ok: [pod_1_l1_leaf -> localhost] +ok: [pod_1_s1 -> localhost] +ok: [pod_1_l2_leaf -> localhost] +ok: [pod_1_s2 -> localhost] +ok: [pod_2_l1_leaf -> localhost] +ok: [pod_2_l2_leaf -> localhost] +ok: [pod_2_s1 -> localhost] +ok: [pod_2_s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c1] +skipping: [c2] +skipping: [pod_1_l1_leaf] +skipping: [pod_1_l2_leaf] +skipping: [pod_1_s1] +skipping: [pod_1_s2] +skipping: [pod_2_l1_leaf] +skipping: [pod_2_l2_leaf] +skipping: [pod_2_s1] +skipping: [pod_2_s2] + +TASK [Create bgp configuration] ************************************************ +ok: [c2 -> localhost] +ok: [pod_1_s1 -> localhost] +ok: [c1 -> localhost] +ok: [pod_1_l1_leaf -> localhost] +ok: [pod_1_l2_leaf -> localhost] +ok: [pod_2_l1_leaf -> localhost] +ok: [pod_1_s2 -> localhost] +ok: [pod_2_s1 -> localhost] +ok: [pod_2_s2 -> localhost] +ok: [pod_2_l2_leaf -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [pod_1_l1_leaf -> localhost] +ok: [pod_1_l2_leaf -> localhost] +ok: [pod_1_s1 -> localhost] +ok: [pod_1_s2 -> localhost] +ok: [pod_2_l1_leaf -> localhost] +ok: [pod_2_l2_leaf -> localhost] +ok: [pod_2_s1 -> localhost] +ok: [pod_2_s2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [pod_1_l1_leaf -> localhost] +ok: [pod_1_l2_leaf -> localhost] +ok: [pod_1_s1 -> localhost] +ok: [pod_1_s2 -> localhost] +ok: [pod_2_l1_leaf -> localhost] +ok: [pod_2_l2_leaf -> localhost] +ok: [pod_2_s1 -> localhost] +ok: [pod_2_s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [pod_1_l1_leaf] +skipping: [pod_1_l2_leaf] +skipping: [pod_1_s1] +skipping: [pod_1_s2] +skipping: [pod_2_l1_leaf] +skipping: [pod_2_l2_leaf] +skipping: [pod_2_s1] +skipping: [pod_2_s2] + +TASK [Create ospf configuration] *********************************************** +ok: [pod_1_s1 -> localhost] +ok: [pod_1_l1_leaf -> localhost] +ok: [pod_1_s2 -> localhost] +ok: [pod_2_l1_leaf -> localhost] +ok: [pod_1_l2_leaf -> localhost] +ok: [pod_2_l2_leaf -> localhost] +ok: [pod_2_s1 -> localhost] +ok: [pod_2_s2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +c1 : ok=11 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +c2 : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +pod_1_l1_leaf : ok=14 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +pod_1_l1_srv : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +pod_1_l2_leaf : ok=14 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +pod_1_l2_srv : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +pod_1_s1 : ok=14 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +pod_1_s2 : ok=14 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +pod_2_l1_leaf : ok=14 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +pod_2_l1_srv : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +pod_2_l2_leaf : ok=14 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +pod_2_l2_srv : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +pod_2_s1 : ok=14 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +pod_2_s2 : ok=14 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/device-module-defaults.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/l1/daemons to l1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/l1/hosts to l1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for l1 +Created group_vars for none +Created host_vars for l2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [l1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for l1, l2 + +TASK [Compute final module name for initial] *********************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [l1 -> localhost] +ok: [l2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [l1] +fatal: [l2 -> localhost]: FAILED! => changed=false + msg: |- + Missing configuration template for initial on device none/none + +TASK [Create initial configuration] ******************************************** +changed: [l1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [l1 -> localhost] + +TASK [Create device configurations for ['bgp']] ******************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for l1 => (item=bgp) + +TASK [Compute final module name for bgp] *************************************** +ok: [l1 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [l1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [l1] + +TASK [Create bgp configuration] ************************************************ +changed: [l1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +l1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +l2 : ok=4 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 + +Error executing ansible-playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible -e config_dir="/home/jeroen/Projects/netlab/tests/test_configs": + Command '['ansible-playbook', '/home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible', '-e', 'config_dir="/home/jeroen/Projects/netlab/tests/test_configs"']' returned non-zero exit status 2. +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Error executing sudo -E containerlab destroy --cleanup -t clab.yml: + Command '['sudo', '-E', 'containerlab', 'destroy', '--cleanup', '-t', 'clab.yml']' returned non-zero exit status 1. +Creating configs based on topology/input/device-node-defaults.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/h1/hosts to h1:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/h2/hosts to h2:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/rtr/interfaces to rtr:/etc/network/interfaces (from templates/provider/clab/cumulus/interfaces.j2) +Mapped clab_files/rtr/hosts to rtr:/etc/hosts (from templates/provider/clab/cumulus/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created group_vars for cumulus +Created host_vars for rtr +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [rtr -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [rtr -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for rtr, h1, h2 + +TASK [Compute final module name for initial] *********************************** +ok: [rtr -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [rtr -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [rtr] +skipping: [h1] +skipping: [h2] + +TASK [Create initial configuration] ******************************************** +ok: [rtr -> localhost] +changed: [h2 -> localhost] +changed: [h1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [rtr -> localhost] + +TASK [Create device configurations for ['ospf']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for rtr => (item=ospf) + +TASK [Compute final module name for ospf] ************************************** +ok: [rtr -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [rtr -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [rtr] + +TASK [Create ospf configuration] *********************************************** +ok: [rtr -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +rtr : ok=11 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/dhcp-server-on-segment.yml... +Createdprovider configuration file: Vagrantfile +Creating configuration file for secondary provider clab +Createdprovider configuration file: clab-augment.yml +Mapped clab_files/dhs/hosts to dhs:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/dhs/dnsmasq to dhs:/etc/dnsmasq.conf (from daemons/dnsmasq/dnsmasq.j2) +Mapped clab_files/dhs/dhcp to dhs:/etc/dhcp.ignore (from daemons/dnsmasq/dhcp.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for linux +Created host_vars for h1 +Created group_vars for dnsmasq +Created host_vars for dhs +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [dhs -> localhost] +ok: [h1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [dhs -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for dhs, h1 + +TASK [Compute final module name for initial] *********************************** +ok: [dhs -> localhost] +ok: [h1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [dhs -> localhost] +ok: [h1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [dhs] +skipping: [h1] + +TASK [Create initial configuration] ******************************************** +changed: [h1 -> localhost] +changed: [dhs -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [dhs -> localhost] +ok: [h1 -> localhost] + +TASK [Create device configurations for ['dhcp']] ******************************* +skipping: [dhs] => (item=dhcp) +skipping: [dhs] +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for h1 => (item=dhcp) + +TASK [Compute final module name for dhcp] ************************************** +ok: [h1 -> localhost] + +TASK [Find dhcp configuration template] **************************************** +ok: [h1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [h1] + +TASK [Create dhcp configuration] *********************************************** +ok: [h1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** + +TASK [Create daemon configurations] ******************************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for dhs => (item=dnsmasq) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for dhs => (item=dhcp) + +TASK [Compute final module name for dnsmasq] *********************************** +ok: [dhs -> localhost] + +TASK [Find dnsmasq configuration template] ************************************* +ok: [dhs -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [dhs] + +TASK [Create dnsmasq configuration] ******************************************** +changed: [dhs -> localhost] + +TASK [Compute final module name for dhcp] ************************************** +ok: [dhs -> localhost] + +TASK [Find dhcp configuration template] **************************************** +ok: [dhs -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [dhs] + +TASK [Create dhcp configuration] *********************************************** +changed: [dhs -> localhost] + +PLAY RECAP ********************************************************************* +dhs : ok=15 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +h1 : ok=10 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/dhcp-vlan.yml... +Createdprovider configuration file: Vagrantfile +Creating configuration file for secondary provider clab +Createdprovider configuration file: clab-augment.yml +Mapped clab_files/dhs/hosts to dhs:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/dhs/dnsmasq to dhs:/etc/dnsmasq.conf (from daemons/dnsmasq/dnsmasq.j2) +Mapped clab_files/dhs/dhcp to dhs:/etc/dhcp.ignore (from daemons/dnsmasq/dhcp.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for s1 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created host_vars for h3 +Created group_vars for dnsmasq +Created host_vars for dhs +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [dhs -> localhost] +ok: [h1 -> localhost] +ok: [s1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [dhs -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for dhs, s1, h1, h2, h3 + +TASK [Compute final module name for initial] *********************************** +ok: [dhs -> localhost] +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [dhs -> localhost] +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [dhs] +skipping: [s1] +skipping: [h1] +skipping: [h2] +skipping: [h3] + +TASK [Create initial configuration] ******************************************** +changed: [h1 -> localhost] +changed: [h3 -> localhost] +changed: [dhs -> localhost] +changed: [h2 -> localhost] +changed: [s1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [dhs -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [s1 -> localhost] + +TASK [Create device configurations for ['vlan', 'dhcp', 'gateway']] ************ +skipping: [dhs] => (item=vlan) +skipping: [h1] => (item=vlan) +skipping: [dhs] => (item=dhcp) +skipping: [h2] => (item=vlan) +skipping: [dhs] => (item=gateway) +skipping: [dhs] +skipping: [h3] => (item=vlan) +skipping: [h1] => (item=gateway) +skipping: [h2] => (item=gateway) +skipping: [h3] => (item=gateway) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for h1, h2, h3, s1 => (item=dhcp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1 => (item=gateway) + +TASK [Compute final module name for dhcp] ************************************** +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [s1 -> localhost] + +TASK [Find dhcp configuration template] **************************************** +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [h1] +skipping: [h2] +skipping: [h3] +skipping: [s1] + +TASK [Create dhcp configuration] *********************************************** +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [s1 -> localhost] + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] + +TASK [Compute final module name for gateway] *********************************** +ok: [s1 -> localhost] + +TASK [Find gateway configuration template] ************************************* +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] + +TASK [Create gateway configuration] ******************************************** +ok: [s1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** + +TASK [Create daemon configurations] ******************************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for dhs => (item=dhcp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for dhs => (item=dnsmasq) + +TASK [Compute final module name for dhcp] ************************************** +ok: [dhs -> localhost] + +TASK [Find dhcp configuration template] **************************************** +ok: [dhs -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [dhs] + +TASK [Create dhcp configuration] *********************************************** +changed: [dhs -> localhost] + +TASK [Compute final module name for dnsmasq] *********************************** +ok: [dhs -> localhost] + +TASK [Find dnsmasq configuration template] ************************************* +ok: [dhs -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [dhs] + +TASK [Create dnsmasq configuration] ******************************************** +changed: [dhs -> localhost] + +PLAY RECAP ********************************************************************* +dhs : ok=15 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +h1 : ok=10 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +h2 : ok=10 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +h3 : ok=10 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s1 : ok=18 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/dual-stack.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for iosv +Created host_vars for c_ios +Created group_vars for csr +Created host_vars for c_csr +Created group_vars for nxos +Created host_vars for c_nxos +Created group_vars for eos +Created host_vars for a_eos +Created group_vars for vsrx +Created host_vars for j_vsrx +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [c_csr -> localhost] +ok: [a_eos -> localhost] +ok: [c_ios -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [c_csr -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c_csr, a_eos, c_ios, c_nxos, j_vsrx + +TASK [Compute final module name for initial] *********************************** +ok: [c_csr -> localhost] +ok: [a_eos -> localhost] +ok: [c_ios -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [c_csr -> localhost] +ok: [a_eos -> localhost] +ok: [c_nxos -> localhost] +ok: [c_ios -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c_csr] +skipping: [a_eos] +skipping: [c_ios] +skipping: [c_nxos] +skipping: [j_vsrx] + +TASK [Create initial configuration] ******************************************** +ok: [j_vsrx -> localhost] +ok: [a_eos -> localhost] +changed: [c_nxos -> localhost] +changed: [c_csr -> localhost] +changed: [c_ios -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a_eos : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +c_csr : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +c_ios : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +c_nxos : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +j_vsrx : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/ebgp.utils.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for custom_configs +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Created host_vars for rr +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [rr -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, rr, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [rr -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [rr -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [rr] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +ok: [rr -> localhost] +changed: [r2 -> localhost] +changed: [r3 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [rr -> localhost] + +TASK [Create device configurations for ['bgp', 'vrf']] ************************* +skipping: [r3] => (item=vrf) +skipping: [rr] => (item=vrf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3, rr => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=vrf) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [rr -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [rr -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [rr] + +TASK [Create bgp configuration] ************************************************ +changed: [r3 -> localhost] +changed: [r1 -> localhost] +changed: [r2 -> localhost] +ok: [rr -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create vrf configuration] ************************************************ +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** + +TASK [Create ['bgp.session'] custom device configuration] ********************** +skipping: [r1] => (item=ebgp.multihop) +skipping: [rr] => (item=ebgp.multihop) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-custom-config.yml for r1, r2, r3, rr => (item=bgp.session) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-custom-config.yml for r2, r3 => (item=ebgp.multihop) + +TASK [Find custom configuration template] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [rr -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [rr] + +TASK [template] **************************************************************** +changed: [r1 -> localhost] +ok: [rr -> localhost] +changed: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find custom configuration template] ************************************** +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r2] +skipping: [r3] + +TASK [template] **************************************************************** +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +r2 : ok=20 changed=4 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 +r3 : ok=16 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +rr : ok=13 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/eigrp-feature-test.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for nxos +Created host_vars for c_nxos +Created group_vars for csr +Created host_vars for c_csr +Created group_vars for iosv +Created host_vars for c_ios +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [c_csr -> localhost] +ok: [c_ios -> localhost] +ok: [c_nxos -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [c_csr -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c_csr, c_ios, c_nxos + +TASK [Compute final module name for initial] *********************************** +ok: [c_csr -> localhost] +ok: [c_ios -> localhost] +ok: [c_nxos -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [c_csr -> localhost] +ok: [c_ios -> localhost] +ok: [c_nxos -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c_csr] +skipping: [c_ios] +skipping: [c_nxos] + +TASK [Create initial configuration] ******************************************** +changed: [c_ios -> localhost] +changed: [c_nxos -> localhost] +changed: [c_csr -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [c_csr -> localhost] +ok: [c_ios -> localhost] +ok: [c_nxos -> localhost] + +TASK [Create device configurations for ['eigrp']] ****************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c_csr, c_ios, c_nxos => (item=eigrp) + +TASK [Compute final module name for eigrp] ************************************* +ok: [c_csr -> localhost] +ok: [c_ios -> localhost] +ok: [c_nxos -> localhost] + +TASK [Find eigrp configuration template] *************************************** +ok: [c_csr -> localhost] +ok: [c_ios -> localhost] +ok: [c_nxos -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c_csr] +skipping: [c_ios] +skipping: [c_nxos] + +TASK [Create eigrp configuration] ********************************************** +ok: [c_ios -> localhost] +ok: [c_nxos -> localhost] +ok: [c_csr -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +c_csr : ok=11 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +c_ios : ok=10 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +c_nxos : ok=10 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/evpn-asymmetric-irb-ospf.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created host_vars for h3 +Created host_vars for h4 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [s2 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, h1, h2, h3, h4 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [h1] +skipping: [h2] +skipping: [h3] +skipping: [h4] + +TASK [Create initial configuration] ******************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] +changed: [h2 -> localhost] +changed: [h4 -> localhost] +changed: [h1 -> localhost] +changed: [h3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['vlan', 'bgp', 'ospf', 'vrf', 'vxlan', 'evpn']] *** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=vrf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=vxlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=evpn) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +ok: [s2 -> localhost] +changed: [s1 -> localhost] + +TASK [Compute final module name for bgp] *************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create bgp configuration] ************************************************ +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create ospf configuration] *********************************************** +changed: [s2 -> localhost] +changed: [s1 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create vrf configuration] ************************************************ +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Compute final module name for vxlan] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vxlan configuration template] *************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create vxlan configuration] ********************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Compute final module name for evpn] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find evpn configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create evpn configuration] *********************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h4 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=31 changed=4 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 +s2 : ok=30 changed=3 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/evpn-hub-spoke.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/r1/daemons to r1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r1/hosts to r1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/r2/daemons to r2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r2/hosts to r2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['bgp', 'vrf', 'evpn']] ***************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=vrf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=evpn) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create bgp configuration] ************************************************ +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create vrf configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for evpn] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find evpn configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create evpn configuration] *********************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=19 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +r2 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/evpn-l3vni-only.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/r1/daemons to r1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r1/hosts to r1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/r2/daemons to r2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r2/hosts to r2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['vlan', 'bgp', 'ospf', 'vrf', 'vxlan', 'evpn']] *** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=vrf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=vxlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=evpn) + +TASK [Compute final module name for vlan] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create vlan configuration] *********************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create bgp configuration] ************************************************ +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create vrf configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for vxlan] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find vxlan configuration template] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create vxlan configuration] ********************************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +TASK [Compute final module name for evpn] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find evpn configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create evpn configuration] *********************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=31 changed=5 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 +r2 : ok=30 changed=5 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Error executing sudo ip link del dev input_3: + Command '['sudo', 'ip', 'link', 'del', 'dev', 'input_3']' returned non-zero exit status 1. +Error executing sudo ip link del dev input_2: + Command '['sudo', 'ip', 'link', 'del', 'dev', 'input_2']' returned non-zero exit status 1. +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/evpn-node-vrf.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for a +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [a -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a + +TASK [Compute final module name for initial] *********************************** +ok: [a -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [a -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] + +TASK [Create initial configuration] ******************************************** +changed: [a -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a -> localhost] + +TASK [Create device configurations for ['vlan', 'bgp', 'vrf', 'evpn']] ********* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a => (item=vrf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a => (item=evpn) + +TASK [Compute final module name for vlan] ************************************** +ok: [a -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [a -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] + +TASK [Create vlan configuration] *********************************************** +ok: [a -> localhost] + +TASK [Compute final module name for bgp] *************************************** +ok: [a -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [a -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] + +TASK [Create bgp configuration] ************************************************ +changed: [a -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [a -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [a -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] + +TASK [Create vrf configuration] ************************************************ +ok: [a -> localhost] + +TASK [Compute final module name for evpn] ************************************** +ok: [a -> localhost] + +TASK [Find evpn configuration template] **************************************** +ok: [a -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] + +TASK [Create evpn configuration] *********************************************** +changed: [a -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a : ok=23 changed=3 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/evpn-vlan-attr.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for a +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [a -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a + +TASK [Compute final module name for initial] *********************************** +ok: [a -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [a -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] + +TASK [Create initial configuration] ******************************************** +changed: [a -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a -> localhost] + +TASK [Create device configurations for ['vlan', 'bgp', 'evpn']] **************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a => (item=evpn) + +TASK [Compute final module name for vlan] ************************************** +ok: [a -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [a -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] + +TASK [Create vlan configuration] *********************************************** +ok: [a -> localhost] + +TASK [Compute final module name for bgp] *************************************** +ok: [a -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [a -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] + +TASK [Create bgp configuration] ************************************************ +changed: [a -> localhost] + +TASK [Compute final module name for evpn] ************************************** +ok: [a -> localhost] + +TASK [Find evpn configuration template] **************************************** +ok: [a -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] + +TASK [Create evpn configuration] *********************************************** +changed: [a -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a : ok=19 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/evpn-vxlan.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Created host_vars for s3 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created host_vars for h3 +Created host_vars for h4 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3, h1, h2, h3, h4 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] +skipping: [h1] +skipping: [h2] +skipping: [h3] +skipping: [h4] + +TASK [Create initial configuration] ******************************************** +changed: [h1 -> localhost] +changed: [h2 -> localhost] +changed: [s2 -> localhost] +changed: [s1 -> localhost] +changed: [h4 -> localhost] +changed: [s3 -> localhost] +changed: [h3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Create device configurations for ['vlan', 'bgp', 'ospf', 'vxlan', 'evpn']] *** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=vxlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=evpn) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] +changed: [s3 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for bgp] *************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create bgp configuration] ************************************************ +changed: [s3 -> localhost] +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create ospf configuration] *********************************************** +changed: [s3 -> localhost] +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for vxlan] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find vxlan configuration template] *************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create vxlan configuration] ********************************************** +changed: [s3 -> localhost] +ok: [s1 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for evpn] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find evpn configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create evpn configuration] *********************************************** +changed: [s3 -> localhost] +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h4 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=27 changed=5 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 +s2 : ok=26 changed=6 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 +s3 : ok=26 changed=6 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/extra-attr-link.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for e1 +Created host_vars for e2 +Created group_vars for csr +Created host_vars for pe1 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [pe1 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [pe1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for pe1, e1, e2 + +TASK [Compute final module name for initial] *********************************** +ok: [pe1 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [pe1 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [pe1] +skipping: [e1] +skipping: [e2] + +TASK [Create initial configuration] ******************************************** +changed: [e2 -> localhost] +changed: [pe1 -> localhost] +changed: [e1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [e1 -> localhost] +ok: [pe1 -> localhost] + +TASK [Create device configurations for ['ospf']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for e1, pe1 => (item=ospf) + +TASK [Compute final module name for ospf] ************************************** +ok: [e1 -> localhost] +ok: [pe1 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [e1 -> localhost] +ok: [pe1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [e1] +skipping: [pe1] + +TASK [Create ospf configuration] *********************************************** +changed: [pe1 -> localhost] +changed: [e1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +e1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +e2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +pe1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/fabric-ebgp.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for l1 +Created host_vars for l2 +Created host_vars for l3 +Created host_vars for l4 +Created group_vars for cumulus +Created host_vars for S1 +Created host_vars for S2 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [l4 -> localhost] +ok: [S1 -> localhost] +ok: [S2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [l1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for l1, l2, l3, l4, S1, S2, h1, h2 + +TASK [Compute final module name for initial] *********************************** +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [l4 -> localhost] +ok: [S1 -> localhost] +ok: [S2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [l4 -> localhost] +ok: [S1 -> localhost] +ok: [S2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [l1] +skipping: [l2] +skipping: [l3] +skipping: [l4] +skipping: [S1] +skipping: [S2] +skipping: [h1] +skipping: [h2] + +TASK [Create initial configuration] ******************************************** +changed: [l4 -> localhost] +changed: [l3 -> localhost] +changed: [l2 -> localhost] +changed: [S2 -> localhost] +changed: [l1 -> localhost] +changed: [S1 -> localhost] +changed: [h2 -> localhost] +changed: [h1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [S1 -> localhost] +ok: [S2 -> localhost] +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [l4 -> localhost] + +TASK [Create device configurations for ['bgp']] ******************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for S1, S2, l1, l2, l3, l4 => (item=bgp) + +TASK [Compute final module name for bgp] *************************************** +ok: [S1 -> localhost] +ok: [S2 -> localhost] +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [l4 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [S1 -> localhost] +ok: [S2 -> localhost] +ok: [l1 -> localhost] +ok: [l2 -> localhost] +ok: [l3 -> localhost] +ok: [l4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [S1] +skipping: [S2] +skipping: [l1] +skipping: [l2] +skipping: [l3] +skipping: [l4] + +TASK [Create bgp configuration] ************************************************ +changed: [S1 -> localhost] +changed: [l4 -> localhost] +changed: [S2 -> localhost] +changed: [l2 -> localhost] +changed: [l1 -> localhost] +changed: [l3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +S1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +S2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +l1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +l2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +l3 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +l4 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/group-ansible-variables.yml... +Createdprovider configuration file: Vagrantfile +Creating configuration file for secondary provider clab +Createdprovider configuration file: clab-augment.yml +Mapped clab_files/h2/hosts to h2:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/h3/hosts to h3:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created host_vars for h3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [h1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for h1, h2, h3 + +TASK [Compute final module name for initial] *********************************** +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [h1] +skipping: [h2] +skipping: [h3] + +TASK [Create initial configuration] ******************************************** +changed: [h3 -> localhost] +changed: [h2 -> localhost] +changed: [h1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/group-data-vlan.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r3 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['vlan', 'ospf']] *********************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=ospf) + +TASK [Compute final module name for vlan] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create vlan configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] +changed: [r3 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r3 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r3 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/group-data-vrf.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['ospf', 'vrf']] ************************ +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=vrf) + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create vrf configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/groups-auto-create.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for cumulus +Created host_vars for e +Created host_vars for f +Created group_vars for eos +Created host_vars for c +Created host_vars for d +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [e -> localhost] +ok: [f -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [e -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for e, f, c, d + +TASK [Compute final module name for initial] *********************************** +ok: [e -> localhost] +ok: [f -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [e -> localhost] +ok: [f -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [e] +skipping: [f] +skipping: [c] +skipping: [d] + +TASK [Create initial configuration] ******************************************** +changed: [f -> localhost] +changed: [c -> localhost] +changed: [e -> localhost] +changed: [d -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +c : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +d : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +e : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +f : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/groups-hierarchy.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for custom_configs +Created group_vars for cumulus +Created host_vars for a +Created host_vars for b +Created host_vars for d +Created host_vars for f +Created group_vars for eos +Created host_vars for c +Created group_vars for iosv +Created host_vars for e +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [e -> localhost] +ok: [a -> localhost] +ok: [b -> localhost] +ok: [d -> localhost] +ok: [f -> localhost] +ok: [c -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [e -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for e, a, b, d, f, c + +TASK [Compute final module name for initial] *********************************** +ok: [e -> localhost] +ok: [a -> localhost] +ok: [b -> localhost] +ok: [d -> localhost] +ok: [f -> localhost] +ok: [c -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [e -> localhost] +ok: [a -> localhost] +ok: [b -> localhost] +ok: [d -> localhost] +ok: [f -> localhost] +ok: [c -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [e] +skipping: [a] +skipping: [b] +skipping: [d] +skipping: [f] +skipping: [c] + +TASK [Create initial configuration] ******************************************** +changed: [c -> localhost] +changed: [d -> localhost] +changed: [e -> localhost] +changed: [a -> localhost] +changed: [f -> localhost] +changed: [b -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a -> localhost] +ok: [e -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf']] ************************ +skipping: [a] => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a, e => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for e => (item=bgp) + +TASK [Compute final module name for ospf] ************************************** +ok: [a -> localhost] +ok: [e -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [a -> localhost] +ok: [e -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] +skipping: [e] + +TASK [Create ospf configuration] *********************************************** +changed: [a -> localhost] +changed: [e -> localhost] + +TASK [Compute final module name for bgp] *************************************** +ok: [e -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [e -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [e] + +TASK [Create bgp configuration] ************************************************ +changed: [e -> localhost] + +PLAY [Create custom deployment templates] ************************************** + +TASK [Create ['g2a', 'a'] custom device configuration] ************************* +skipping: [a] => (item=b) +skipping: [a] => (item=g2b) +skipping: [a] => (item=g3) +skipping: [b] => (item=g2a) +skipping: [a] => (item=e) +skipping: [b] => (item=g2b) +skipping: [d] => (item=b) +skipping: [b] => (item=a) +skipping: [b] => (item=g3) +skipping: [b] => (item=e) +skipping: [d] => (item=a) +skipping: [d] => (item=g3) +skipping: [e] => (item=b) +skipping: [d] => (item=e) +skipping: [e] => (item=a) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-custom-config.yml for a, d, e => (item=g2a) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-custom-config.yml for a => (item=a) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-custom-config.yml for b => (item=b) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-custom-config.yml for d, e => (item=g2b) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-custom-config.yml for e => (item=g3) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-custom-config.yml for e => (item=e) + +TASK [Find custom configuration template] ************************************** +ok: [a -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +fatal: [a -> localhost]: FAILED! => changed=false + msg: |- + Missing custom configuration template g2a on device cumulus/cumulus +fatal: [d -> localhost]: FAILED! => changed=false + msg: |- + Missing custom configuration template g2a on device cumulus/cumulus +fatal: [e -> localhost]: FAILED! => changed=false + msg: |- + Missing custom configuration template g2a on device ios/ios + +TASK [Find custom configuration template] ************************************** +ok: [b -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +fatal: [b -> localhost]: FAILED! => changed=false + msg: |- + Missing custom configuration template b on device cumulus/cumulus + +PLAY RECAP ********************************************************************* +a : ok=13 changed=2 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 +b : ok=7 changed=1 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 +c : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +d : ok=8 changed=1 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 +e : ok=20 changed=3 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0 +f : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + +Error executing ansible-playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible -e config_dir="/home/jeroen/Projects/netlab/tests/test_configs": + Command '['ansible-playbook', '/home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible', '-e', 'config_dir="/home/jeroen/Projects/netlab/tests/test_configs"']' returned non-zero exit status 2. +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/groups-node-data.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for a +Created group_vars for cumulus +Created host_vars for b +Created host_vars for c +Created host_vars for d +Created host_vars for e +Created host_vars for f +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [a -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a, b, c, d, e, f + +TASK [Compute final module name for initial] *********************************** +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] +skipping: [b] +skipping: [c] +skipping: [d] +skipping: [e] +skipping: [f] + +TASK [Create initial configuration] ******************************************** +changed: [a -> localhost] +changed: [e -> localhost] +changed: [b -> localhost] +changed: [f -> localhost] +changed: [d -> localhost] +changed: [c -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Create device configurations for ['bgp']] ******************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a, b, c, d, e, f => (item=bgp) + +TASK [Compute final module name for bgp] *************************************** +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] +skipping: [b] +skipping: [c] +skipping: [d] +skipping: [e] +skipping: [f] + +TASK [Create bgp configuration] ************************************************ +changed: [f -> localhost] +changed: [e -> localhost] +changed: [c -> localhost] +changed: [b -> localhost] +changed: [d -> localhost] +changed: [a -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +b : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +c : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +d : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +e : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +f : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/groups-node.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for cumulus +Created host_vars for a +Created host_vars for b +Created host_vars for c +Created host_vars for d +Created host_vars for e +Created host_vars for f +Created group_vars for g2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [a -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a, b, c, d, e, f + +TASK [Compute final module name for initial] *********************************** +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] +skipping: [b] +skipping: [c] +skipping: [d] +skipping: [e] +skipping: [f] + +TASK [Create initial configuration] ******************************************** +changed: [a -> localhost] +changed: [f -> localhost] +changed: [c -> localhost] +changed: [d -> localhost] +changed: [e -> localhost] +changed: [b -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +b : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +c : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +d : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +e : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +f : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/groups-simple.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for cumulus +Created host_vars for a +Created host_vars for b +Created host_vars for c +Created host_vars for d +Created host_vars for e +Created host_vars for f +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [a -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a, b, c, d, e, f + +TASK [Compute final module name for initial] *********************************** +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [a -> localhost] +ok: [b -> localhost] +ok: [c -> localhost] +ok: [d -> localhost] +ok: [e -> localhost] +ok: [f -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a] +skipping: [b] +skipping: [c] +skipping: [d] +skipping: [e] +skipping: [f] + +TASK [Create initial configuration] ******************************************** +ok: [d -> localhost] +ok: [f -> localhost] +ok: [e -> localhost] +ok: [c -> localhost] +ok: [a -> localhost] +ok: [b -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a : ok=6 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +b : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +c : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +d : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +e : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +f : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/id.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for cumulus +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['ospf']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=ospf) + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create ospf configuration] *********************************************** +changed: [r3 -> localhost] +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r3 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/igp-af.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Created host_vars for r4 +Created host_vars for r5 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] +ok: [r5 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3, r4, r5 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] +ok: [r5 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] +ok: [r5 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [r4] +skipping: [r5] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] +changed: [r5 -> localhost] +changed: [r4 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] +ok: [r5 -> localhost] + +TASK [Create device configurations for ['isis', 'ospf']] *********************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3, r4, r5 => (item=isis) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3, r4, r5 => (item=ospf) + +TASK [Compute final module name for isis] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] +ok: [r5 -> localhost] + +TASK [Find isis configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r3 -> localhost] +ok: [r2 -> localhost] +ok: [r4 -> localhost] +ok: [r5 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [r4] +skipping: [r5] + +TASK [Create isis configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r4 -> localhost] +changed: [r5 -> localhost] +changed: [r3 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] +ok: [r5 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [r4 -> localhost] +ok: [r5 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [r4] +skipping: [r5] + +TASK [Create ospf configuration] *********************************************** +changed: [r3 -> localhost] +changed: [r5 -> localhost] +changed: [r2 -> localhost] +changed: [r4 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r3 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r4 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r5 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/igp-ospf-isis-eigrp-disable.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['eigrp', 'isis', 'ospf']] ************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=eigrp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=isis) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=ospf) + +TASK [Compute final module name for eigrp] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find eigrp configuration template] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create eigrp configuration] ********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for isis] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find isis configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create isis configuration] *********************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create ospf configuration] *********************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=19 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +r2 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/isis-bfd-test.yml... +Createdprovider configuration file: clab.yml +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for n4 +Created host_vars for n5 +Created host_vars for n6 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [n4 -> localhost] +ok: [n5 -> localhost] +ok: [n6 -> localhost] +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [n4 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for n4, n5, n6, r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [n4 -> localhost] +ok: [n5 -> localhost] +ok: [n6 -> localhost] +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [n4 -> localhost] +ok: [n5 -> localhost] +ok: [n6 -> localhost] +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [n4] +skipping: [n5] +skipping: [n6] +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [n5 -> localhost] +changed: [r1 -> localhost] +changed: [n6 -> localhost] +changed: [n4 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [n4 -> localhost] +ok: [n5 -> localhost] +ok: [n6 -> localhost] +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['bfd', 'isis']] ************************ +skipping: [n4] => (item=bfd) +skipping: [r2] => (item=isis) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for n4, n5, n6, r1 => (item=isis) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for n5, n6, r1, r2 => (item=bfd) + +TASK [Compute final module name for isis] ************************************** +ok: [n4 -> localhost] +ok: [n5 -> localhost] +ok: [n6 -> localhost] +ok: [r1 -> localhost] + +TASK [Find isis configuration template] **************************************** +ok: [n4 -> localhost] +ok: [n5 -> localhost] +ok: [n6 -> localhost] +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [n4] +skipping: [n5] +skipping: [n6] +skipping: [r1] + +TASK [Create isis configuration] *********************************************** +changed: [n4 -> localhost] +changed: [n5 -> localhost] +changed: [n6 -> localhost] +changed: [r1 -> localhost] + +TASK [Compute final module name for bfd] *************************************** +ok: [n5 -> localhost] +ok: [n6 -> localhost] +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find bfd configuration template] ***************************************** +ok: [n5 -> localhost] +ok: [n6 -> localhost] +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [n5] +skipping: [n6] +skipping: [r1] +skipping: [r2] + +TASK [Create bfd configuration] ************************************************ +changed: [r1 -> localhost] +changed: [n5 -> localhost] +changed: [r2 -> localhost] +changed: [n6 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +n4 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +n5 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +n6 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r1 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Error executing sudo ip link del dev input_1: + Command '['sudo', 'ip', 'link', 'del', 'dev', 'input_1']' returned non-zero exit status 1. +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/isis-feature-test.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for nxos +Created host_vars for c_nxos +Created group_vars for csr +Created host_vars for c_csr +Created group_vars for eos +Created host_vars for a_eos +Created group_vars for vsrx +Created host_vars for j_vsrx +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [c_csr -> localhost] +ok: [a_eos -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [c_csr -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c_csr, a_eos, c_nxos, j_vsrx + +TASK [Compute final module name for initial] *********************************** +ok: [c_csr -> localhost] +ok: [a_eos -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [c_csr -> localhost] +ok: [a_eos -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c_csr] +skipping: [a_eos] +skipping: [c_nxos] +skipping: [j_vsrx] + +TASK [Create initial configuration] ******************************************** +changed: [a_eos -> localhost] +changed: [c_csr -> localhost] +changed: [c_nxos -> localhost] +changed: [j_vsrx -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a_eos -> localhost] +ok: [c_csr -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Create device configurations for ['isis']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a_eos, c_csr, c_nxos, j_vsrx => (item=isis) + +TASK [Compute final module name for isis] ************************************** +ok: [a_eos -> localhost] +ok: [c_csr -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Find isis configuration template] **************************************** +ok: [a_eos -> localhost] +ok: [c_csr -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a_eos] +skipping: [c_csr] +skipping: [c_nxos] +skipping: [j_vsrx] + +TASK [Create isis configuration] *********************************************** +changed: [c_nxos -> localhost] +changed: [a_eos -> localhost] +changed: [j_vsrx -> localhost] +changed: [c_csr -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a_eos : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +c_csr : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +c_nxos : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +j_vsrx : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/lag-l3-vlan-trunk.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/r1/daemons to r1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r1/hosts to r1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/r2/daemons to r2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r2/hosts to r2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['lag', 'vlan']] ************************ +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=lag) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=vlan) + +TASK [Compute final module name for lag] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find lag configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create lag configuration] ************************************************ +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +TASK [Compute final module name for vlan] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create vlan configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/lag-l3.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/r1/daemons to r1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r1/hosts to r1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/r2/daemons to r2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r2/hosts to r2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['lag']] ******************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=lag) + +TASK [Compute final module name for lag] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find lag configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create lag configuration] ************************************************ +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/libvirt-clab-complex.yml... +The topology snapshot file netlab.snapshot.yml does not exist. +Looks like no lab was started from this directory +The topology snapshot file netlab.snapshot.yml does not exist. +Looks like no lab was started from this directory +Creating configs based on topology/input/link-bw.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for iosv +Created host_vars for e1 +Created host_vars for e2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [e1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for e1, e2 + +TASK [Compute final module name for initial] *********************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [e1] +skipping: [e2] + +TASK [Create initial configuration] ******************************************** +changed: [e2 -> localhost] +changed: [e1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +e1 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +e2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/link-empty.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for iosv +Created host_vars for e1 +Created host_vars for e2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [e1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for e1, e2 + +TASK [Compute final module name for initial] *********************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [e1] +skipping: [e2] + +TASK [Create initial configuration] ******************************************** +changed: [e1 -> localhost] +changed: [e2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +e1 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +e2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/link-formats.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['ospf']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=ospf) + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r3 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/link-group.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r3 -> localhost] +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['ospf']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=ospf) + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r3 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r3 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/link-loopback.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for eos +Created host_vars for r1 +Created group_vars for iosv +Created host_vars for r2 +Created group_vars for linux +Created host_vars for h1 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [h1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, h1 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [h1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [h1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [h1] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [h1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r1 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/links-as-dict.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/r1/daemons to r1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r1/hosts to r1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/r2/daemons to r2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r2/hosts to r2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/r3/daemons to r3:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r3/hosts to r3:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for frr +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/link-tunnel.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for eos +Created host_vars for r1 +Created group_vars for iosv +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/link-without-prefix.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r3 -> localhost] +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/module-node-global-params.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r2 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r2, r1 + +TASK [Compute final module name for initial] *********************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r2] +skipping: [r1] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf']] ************************ +skipping: [r1] => (item=bgp) +skipping: [r2] => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r2 => (item=bgp) + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] + +TASK [Compute final module name for bgp] *************************************** +ok: [r2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r2] + +TASK [Create bgp configuration] ************************************************ +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/module-node-global.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r2 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r2, r1 + +TASK [Compute final module name for initial] *********************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r2] +skipping: [r1] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r2 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf']] ************************ +skipping: [r2] => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r2 => (item=bgp) + +TASK [Compute final module name for bgp] *************************************** +ok: [r2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r2] + +TASK [Create bgp configuration] ************************************************ +ok: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r2 : ok=11 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/module-node-only.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r2 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r2, r1 + +TASK [Compute final module name for initial] *********************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r2] +skipping: [r1] + +TASK [Create initial configuration] ******************************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['bfd', 'bgp']] ************************* +skipping: [r1] => (item=bgp) +skipping: [r2] => (item=bfd) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1 => (item=bfd) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r2 => (item=bgp) + +TASK [Compute final module name for bfd] *************************************** +ok: [r1 -> localhost] + +TASK [Find bfd configuration template] ***************************************** +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] + +TASK [Create bfd configuration] ************************************************ +changed: [r1 -> localhost] + +TASK [Compute final module name for bgp] *************************************** +ok: [r2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r2] + +TASK [Create bgp configuration] ************************************************ +ok: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=10 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=11 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/module-node-params.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r2 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r2, r1, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r2 -> localhost] +ok: [r1 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r2 -> localhost] +ok: [r1 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r2] +skipping: [r1] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r3 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf']] ************************ +skipping: [r1] => (item=bgp) +skipping: [r3] => (item=bgp) +skipping: [r2] => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r3 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r2 => (item=bgp) + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r3] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r3 -> localhost] + +TASK [Compute final module name for bgp] *************************************** +ok: [r2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r2] + +TASK [Create bgp configuration] ************************************************ +ok: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=11 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r3 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/module-reorder.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for csr +Created host_vars for c1 +Created host_vars for e1 +Created group_vars for eos +Created host_vars for c2 +Created host_vars for e2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [c1 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [c2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [c1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c1, e1, e2, c2 + +TASK [Compute final module name for initial] *********************************** +ok: [c1 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [c2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [c1 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [c2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c1] +skipping: [e1] +skipping: [e2] +skipping: [c2] + +TASK [Create initial configuration] ******************************************** +changed: [e1 -> localhost] +changed: [c2 -> localhost] +changed: [c1 -> localhost] +changed: [e2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [c1 -> localhost] +ok: [c2 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Create device configurations for ['bgp', 'isis', 'sr']] ****************** +skipping: [c2] => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c1, e1, e2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c1, c2, e1, e2 => (item=isis) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c1, c2, e1, e2 => (item=sr) + +TASK [Compute final module name for bgp] *************************************** +ok: [c1 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [c1 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c1] +skipping: [e1] +skipping: [e2] + +TASK [Create bgp configuration] ************************************************ +changed: [c1 -> localhost] +changed: [e1 -> localhost] +changed: [e2 -> localhost] + +TASK [Compute final module name for isis] ************************************** +ok: [c1 -> localhost] +ok: [c2 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Find isis configuration template] **************************************** +ok: [c1 -> localhost] +ok: [c2 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c1] +skipping: [c2] +skipping: [e1] +skipping: [e2] + +TASK [Create isis configuration] *********************************************** +changed: [c1 -> localhost] +changed: [e2 -> localhost] +changed: [c2 -> localhost] +changed: [e1 -> localhost] + +TASK [Compute final module name for sr] **************************************** +ok: [c1 -> localhost] +ok: [c2 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Find sr configuration template] ****************************************** +ok: [c1 -> localhost] +ok: [c2 -> localhost] +ok: [e1 -> localhost] +ok: [e2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c1] +skipping: [c2] +skipping: [e1] +skipping: [e2] + +TASK [Create sr configuration] ************************************************* +changed: [c2 -> localhost] +changed: [e1 -> localhost] +changed: [e2 -> localhost] +changed: [c1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +c1 : ok=19 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +c2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +e1 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +e2 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/mpls-vpn-simple.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/r1/daemons to r1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r1/hosts to r1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/r2/daemons to r2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r2/hosts to r2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['bgp', 'isis', 'mpls', 'vrf']] ********* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=isis) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=mpls) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=vrf) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create bgp configuration] ************************************************ +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +TASK [Compute final module name for isis] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find isis configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create isis configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for mpls] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find mpls configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create mpls configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create vrf configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=23 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 +r2 : ok=22 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Error executing sudo ip link del dev input_3: + Command '['sudo', 'ip', 'link', 'del', 'dev', 'input_3']' returned non-zero exit status 1. +Error executing sudo ip link del dev input_2: + Command '['sudo', 'ip', 'link', 'del', 'dev', 'input_2']' returned non-zero exit status 1. +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/mpls.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for pe1 +Created host_vars for pe2 +Created host_vars for p +Created host_vars for rr +Created host_vars for ce1 +Created host_vars for ce2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr -> localhost] +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [p -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [pe1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for pe1, pe2, rr, ce1, ce2, p + +TASK [Compute final module name for initial] *********************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr -> localhost] +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [p -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr -> localhost] +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [p -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [pe1] +skipping: [pe2] +skipping: [rr] +skipping: [ce1] +skipping: [ce2] +skipping: [p] + +TASK [Create initial configuration] ******************************************** +changed: [ce2 -> localhost] +changed: [pe1 -> localhost] +changed: [pe2 -> localhost] +changed: [rr -> localhost] +changed: [ce1 -> localhost] +changed: [p -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [p -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf', 'mpls']] **************** +skipping: [ce1] => (item=ospf) +skipping: [ce2] => (item=ospf) +skipping: [p] => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for ce1, ce2, pe1, pe2, rr => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for ce1, ce2, p, pe1, pe2, rr => (item=mpls) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for p, pe1, pe2, rr => (item=ospf) + +TASK [Compute final module name for bgp] *************************************** +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [ce1] +skipping: [ce2] +skipping: [pe1] +skipping: [pe2] +skipping: [rr] + +TASK [Create bgp configuration] ************************************************ +changed: [ce2 -> localhost] +changed: [rr -> localhost] +changed: [pe1 -> localhost] +changed: [pe2 -> localhost] +changed: [ce1 -> localhost] + +TASK [Compute final module name for mpls] ************************************** +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [p -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr -> localhost] + +TASK [Find mpls configuration template] **************************************** +ok: [ce1 -> localhost] +ok: [ce2 -> localhost] +ok: [p -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [ce1] +skipping: [ce2] +skipping: [p] +skipping: [pe1] +skipping: [pe2] +skipping: [rr] + +TASK [Create mpls configuration] *********************************************** +changed: [ce1 -> localhost] +changed: [p -> localhost] +changed: [ce2 -> localhost] +changed: [pe2 -> localhost] +changed: [rr -> localhost] +changed: [pe1 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [p -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [p -> localhost] +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [rr -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [p] +skipping: [pe1] +skipping: [pe2] +skipping: [rr] + +TASK [Create ospf configuration] *********************************************** +changed: [p -> localhost] +changed: [pe2 -> localhost] +changed: [pe1 -> localhost] +changed: [rr -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +ce1 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +ce2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +p : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +pe1 : ok=19 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +pe2 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +rr : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/nodes-strings.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for iosv +Created host_vars for e1 +Created host_vars for e2 +Created host_vars for e3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [e3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [e1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for e1, e2, e3 + +TASK [Compute final module name for initial] *********************************** +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [e3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [e1 -> localhost] +ok: [e2 -> localhost] +ok: [e3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [e1] +skipping: [e2] +skipping: [e3] + +TASK [Create initial configuration] ******************************************** +changed: [e1 -> localhost] +changed: [e3 -> localhost] +changed: [e2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +e1 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +e2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +e3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/ospf-bfd-test.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r3 -> localhost] +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['bfd', 'ospf']] ************************ +skipping: [r3] => (item=bfd) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=bfd) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=ospf) + +TASK [Compute final module name for bfd] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find bfd configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create bfd configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r3 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/ospf.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for nxos +Created host_vars for c_nxos +Created group_vars for csr +Created host_vars for c_csr +Created group_vars for eos +Created host_vars for a_eos +Created group_vars for vsrx +Created host_vars for j_vsrx +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [c_csr -> localhost] +ok: [a_eos -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [c_csr -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c_csr, a_eos, c_nxos, j_vsrx + +TASK [Compute final module name for initial] *********************************** +ok: [c_csr -> localhost] +ok: [a_eos -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [c_csr -> localhost] +ok: [a_eos -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c_csr] +skipping: [a_eos] +skipping: [c_nxos] +skipping: [j_vsrx] + +TASK [Create initial configuration] ******************************************** +changed: [a_eos -> localhost] +changed: [j_vsrx -> localhost] +changed: [c_nxos -> localhost] +changed: [c_csr -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a_eos -> localhost] +ok: [c_csr -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Create device configurations for ['ospf']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a_eos, c_csr, c_nxos, j_vsrx => (item=ospf) + +TASK [Compute final module name for ospf] ************************************** +ok: [a_eos -> localhost] +ok: [c_csr -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [a_eos -> localhost] +ok: [c_csr -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a_eos] +skipping: [c_csr] +skipping: [c_nxos] +skipping: [j_vsrx] + +TASK [Create ospf configuration] *********************************************** +changed: [c_nxos -> localhost] +changed: [a_eos -> localhost] +changed: [c_csr -> localhost] +changed: [j_vsrx -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a_eos : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +c_csr : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +c_nxos : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +j_vsrx : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/paths.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for none +Created host_vars for dummy +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [dummy -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [dummy -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for dummy + +TASK [Compute final module name for initial] *********************************** +ok: [dummy -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [dummy -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +fatal: [dummy -> localhost]: FAILED! => changed=false + msg: |- + Missing configuration template for initial on device none/none + +PLAY RECAP ********************************************************************* +dummy : ok=5 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 + +Error executing ansible-playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible -e config_dir="/home/jeroen/Projects/netlab/tests/test_configs": + Command '['ansible-playbook', '/home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible', '-e', 'config_dir="/home/jeroen/Projects/netlab/tests/test_configs"']' returned non-zero exit status 2. +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/rp-aspath-numbers.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for custom_configs +Created group_vars for none +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +fatal: [r1 -> localhost]: FAILED! => changed=false + msg: |- + Missing configuration template for initial on device none/none +fatal: [r2 -> localhost]: FAILED! => changed=false + msg: |- + Missing configuration template for initial on device none/none + +PLAY RECAP ********************************************************************* +r1 : ok=5 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 +r2 : ok=4 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 + +Error executing ansible-playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible -e config_dir="/home/jeroen/Projects/netlab/tests/test_configs": + Command '['ansible-playbook', '/home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible', '-e', 'config_dir="/home/jeroen/Projects/netlab/tests/test_configs"']' returned non-zero exit status 2. +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/rp-clist-expansion.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for none +Created host_vars for r1 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +fatal: [r1 -> localhost]: FAILED! => changed=false + msg: |- + Missing configuration template for initial on device none/none + +PLAY RECAP ********************************************************************* +r1 : ok=5 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 + +Error executing ansible-playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible -e config_dir="/home/jeroen/Projects/netlab/tests/test_configs": + Command '['ansible-playbook', '/home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible', '-e', 'config_dir="/home/jeroen/Projects/netlab/tests/test_configs"']' returned non-zero exit status 2. +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/rp-normalize-merge.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['routing']] **************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=routing) + +TASK [Compute final module name for routing] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find routing configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create routing configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/rp-prefix-expansion.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for none +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +fatal: [r1 -> localhost]: FAILED! => changed=false + msg: |- + Missing configuration template for initial on device none/none +fatal: [r2 -> localhost]: FAILED! => changed=false + msg: |- + Missing configuration template for initial on device none/none + +PLAY RECAP ********************************************************************* +r1 : ok=5 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 +r2 : ok=4 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 + +Error executing ansible-playbook /home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible -e config_dir="/home/jeroen/Projects/netlab/tests/test_configs": + Command '['ansible-playbook', '/home/jeroen/Projects/netlab/netsim/ansible/create-config.ansible', '-e', 'config_dir="/home/jeroen/Projects/netlab/tests/test_configs"']' returned non-zero exit status 2. +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/rt-vlan-anycast.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for linux +Created host_vars for h +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, h + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [h] + +TASK [Create initial configuration] ******************************************** +changed: [s2 -> localhost] +changed: [s1 -> localhost] +changed: [h -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s2 -> localhost] +ok: [s1 -> localhost] + +TASK [Create device configurations for ['vlan', 'gateway']] ******************** +skipping: [s1] => (item=gateway) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s2 => (item=gateway) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for gateway] *********************************** +ok: [s2 -> localhost] + +TASK [Find gateway configuration template] ************************************* +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s2] + +TASK [Create gateway configuration] ******************************************** +changed: [s2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/rt-vlan-mode-link-route.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for linux +Created host_vars for h +Created group_vars for frr +Created host_vars for rt +Created host_vars for sw +Created host_vars for br +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [rt -> localhost] +ok: [br -> localhost] +ok: [sw -> localhost] +ok: [h -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [br -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for br, rt, sw, h + +TASK [Compute final module name for initial] *********************************** +ok: [br -> localhost] +ok: [rt -> localhost] +ok: [sw -> localhost] +ok: [h -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [br -> localhost] +ok: [rt -> localhost] +ok: [sw -> localhost] +ok: [h -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [br] +skipping: [rt] +skipping: [sw] +skipping: [h] + +TASK [Create initial configuration] ******************************************** +changed: [sw -> localhost] +changed: [br -> localhost] +changed: [rt -> localhost] +changed: [h -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [br -> localhost] +ok: [rt -> localhost] +ok: [sw -> localhost] + +TASK [Create device configurations for ['vlan']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for br, rt, sw => (item=vlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [br -> localhost] +ok: [rt -> localhost] +ok: [sw -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [br -> localhost] +ok: [rt -> localhost] +ok: [sw -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [br] +skipping: [rt] +skipping: [sw] + +TASK [Create vlan configuration] *********************************************** +changed: [rt -> localhost] +changed: [br -> localhost] +changed: [sw -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +br : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +h : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +rt : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +sw : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/rt-vlan-native-routed.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for s1 +Created host_vars for ros +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [ros -> localhost] +ok: [s1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [ros -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for ros, s1 + +TASK [Compute final module name for initial] *********************************** +ok: [ros -> localhost] +ok: [s1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [ros -> localhost] +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [ros] +skipping: [s1] + +TASK [Create initial configuration] ******************************************** +changed: [ros -> localhost] +changed: [s1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [ros -> localhost] +ok: [s1 -> localhost] + +TASK [Create device configurations for ['vlan', 'ospf']] *********************** +skipping: [s1] => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for ros, s1 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for ros => (item=ospf) + +TASK [Compute final module name for vlan] ************************************** +ok: [ros -> localhost] +ok: [s1 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [ros -> localhost] +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [ros] +skipping: [s1] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] +changed: [ros -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [ros -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [ros -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [ros] + +TASK [Create ospf configuration] *********************************************** +changed: [ros -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +ros : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/rt-vlan-no-gateway.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created group_vars for eos +Created host_vars for s1 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, h1, h2 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [h1] +skipping: [h2] + +TASK [Create initial configuration] ******************************************** +changed: [h1 -> localhost] +changed: [s1 -> localhost] +changed: [h2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] + +TASK [Create device configurations for ['vlan']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1 => (item=vlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/rt-vlan-role-unnumbered.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/leaf/daemons to leaf:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/leaf/hosts to leaf:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/host/daemons to host:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/host/hosts to host:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for leaf +Created host_vars for host +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [leaf -> localhost] +ok: [host -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [leaf -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for leaf, host + +TASK [Compute final module name for initial] *********************************** +ok: [leaf -> localhost] +ok: [host -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [leaf -> localhost] +ok: [host -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [leaf] +skipping: [host] + +TASK [Create initial configuration] ******************************************** +changed: [host -> localhost] +changed: [leaf -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [host -> localhost] +ok: [leaf -> localhost] + +TASK [Create device configurations for ['vlan']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for host, leaf => (item=vlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [host -> localhost] +ok: [leaf -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [host -> localhost] +ok: [leaf -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [host] +skipping: [leaf] + +TASK [Create vlan configuration] *********************************************** +changed: [leaf -> localhost] +changed: [host -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +host : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +leaf : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/rt-vlan-trunk-partial-overlap.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Created host_vars for s3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create initial configuration] ******************************************** +changed: [s2 -> localhost] +changed: [s1 -> localhost] +changed: [s3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Create device configurations for ['vlan']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=vlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create vlan configuration] *********************************************** +changed: [s2 -> localhost] +changed: [s1 -> localhost] +changed: [s3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +s1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s3 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/stp-pvrst.yml... +Createdprovider configuration file: Vagrantfile +Creating configuration file for secondary provider clab +Createdprovider configuration file: clab-augment.yml +Mapped clab_files/h1/hosts to h1:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/h2/hosts to h2:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/h3/hosts to h3:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/h4/hosts to h4:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Created host_vars for s3 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created host_vars for h3 +Created host_vars for h4 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3, h1, h2, h3, h4 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h4 -> localhost] +ok: [h3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] +skipping: [h1] +skipping: [h2] +skipping: [h3] +skipping: [h4] + +TASK [Create initial configuration] ******************************************** +changed: [h4 -> localhost] +changed: [h2 -> localhost] +changed: [s1 -> localhost] +changed: [s3 -> localhost] +changed: [h3 -> localhost] +changed: [s2 -> localhost] +changed: [h1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Create device configurations for ['vlan', 'stp']] ************************ +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=stp) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create vlan configuration] *********************************************** +changed: [s3 -> localhost] +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for stp] *************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find stp configuration template] ***************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create stp configuration] ************************************************ +changed: [s2 -> localhost] +changed: [s1 -> localhost] +changed: [s3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h4 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s3 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/tools.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Createdgraphite configuration directory +Createdgraphite/graphite-default.json rendering "graphite" format +Createdsuzieq configuration directory +Createdsuzieq/suzieq-inventory.yml from suzieq.inventory.j2 template +Createdsuzieq/suzieq-cfg.yml from suzieq-cfg.yml template +Created group_vars for all +Created group_vars for eos +Created host_vars for a_eos +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a_eos -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [a_eos -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a_eos + +TASK [Compute final module name for initial] *********************************** +ok: [a_eos -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [a_eos -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a_eos] + +TASK [Create initial configuration] ******************************************** +changed: [a_eos -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a_eos : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/unmanaged-device.yml... + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a_eos -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [a_eos -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a_eos + +TASK [Compute final module name for initial] *********************************** +ok: [a_eos -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [a_eos -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a_eos] + +TASK [Create initial configuration] ******************************************** +ok: [a_eos -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a_eos : ok=6 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/unnumbered.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for nxos +Created host_vars for c_nxos +Created group_vars for eos +Created host_vars for a_eos +Created group_vars for vsrx +Created host_vars for j_vsrx +Created group_vars for cumulus +Created host_vars for n_cumulus +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [n_cumulus -> localhost] +ok: [a_eos -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [n_cumulus -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for n_cumulus, a_eos, c_nxos, j_vsrx + +TASK [Compute final module name for initial] *********************************** +ok: [n_cumulus -> localhost] +ok: [a_eos -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [n_cumulus -> localhost] +ok: [a_eos -> localhost] +ok: [c_nxos -> localhost] +ok: [j_vsrx -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [n_cumulus] +skipping: [a_eos] +skipping: [c_nxos] +skipping: [j_vsrx] + +TASK [Create initial configuration] ******************************************** +changed: [a_eos -> localhost] +changed: [j_vsrx -> localhost] +changed: [n_cumulus -> localhost] +changed: [c_nxos -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a_eos : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +c_nxos : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +j_vsrx : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +n_cumulus : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vbox.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for nxos +Created host_vars for c_nxos +Created group_vars for eos +Created host_vars for a_eos +Created host_vars for a_eos_2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [a_eos -> localhost] +ok: [a_eos_2 -> localhost] +ok: [c_nxos -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [a_eos -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for a_eos, a_eos_2, c_nxos + +TASK [Compute final module name for initial] *********************************** +ok: [a_eos -> localhost] +ok: [a_eos_2 -> localhost] +ok: [c_nxos -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [a_eos -> localhost] +ok: [a_eos_2 -> localhost] +ok: [c_nxos -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [a_eos] +skipping: [a_eos_2] +skipping: [c_nxos] + +TASK [Create initial configuration] ******************************************** +changed: [a_eos_2 -> localhost] +changed: [a_eos -> localhost] +changed: [c_nxos -> localhost] + +PLAY [Create module-specific configurations] *********************************** +skipping: no hosts matched + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +a_eos : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +a_eos_2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +c_nxos : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Error executing VBoxManage -h: + [Errno 2] No such file or directory: 'VBoxManage' +Creating configs based on topology/input/vlan-access-links.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/h1/hosts to h1:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/h2/hosts to h2:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, h1, h2 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [h1] +skipping: [h2] + +TASK [Create initial configuration] ******************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] +changed: [h1 -> localhost] +changed: [h2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['vlan', 'ospf']] *********************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=ospf) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create ospf configuration] *********************************************** +changed: [s2 -> localhost] +changed: [s1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/vlan-access-neighbors.yml... +Createdprovider configuration file: clab.yml +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for s1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, s1 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [s1] + +TASK [Create initial configuration] ******************************************** +changed: [s1 -> localhost] +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] + +TASK [Create device configurations for ['vlan', 'bgp']] ************************ +skipping: [r1] => (item=vlan) +skipping: [r2] => (item=vlan) +skipping: [s1] => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1 => (item=vlan) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create bgp configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] + +TASK [Create vlan configuration] *********************************************** +ok: [s1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s1 : ok=10 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/vlan-access-node.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for s1 +Created host_vars for s2 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [h1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for h1, h2, s1, s2 + +TASK [Compute final module name for initial] *********************************** +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [h1] +skipping: [h2] +skipping: [s1] +skipping: [s2] + +TASK [Create initial configuration] ******************************************** +changed: [s2 -> localhost] +changed: [s1 -> localhost] +changed: [h2 -> localhost] +changed: [h1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['vlan']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=vlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vlan-access-single.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/h1/hosts to h1:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Mapped clab_files/h2/hosts to h2:/etc/hosts (from templates/provider/clab/linux/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Created host_vars for s3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3, h1, h2 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [s3 -> localhost] +ok: [h2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] +skipping: [h1] +skipping: [h2] + +TASK [Create initial configuration] ******************************************** +changed: [s1 -> localhost] +changed: [s3 -> localhost] +changed: [h2 -> localhost] +changed: [h1 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Create device configurations for ['vlan', 'ospf']] *********************** +skipping: [s3] => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=ospf) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create vlan configuration] *********************************************** +changed: [s2 -> localhost] +changed: [s1 -> localhost] +changed: [s3 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create ospf configuration] *********************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s3 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/vlan-bridge-trunk-router.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [s2 -> localhost] +ok: [h2 -> localhost] +ok: [r1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, h1, h2, r1 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [r1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [h1] +skipping: [h2] +skipping: [r1] + +TASK [Create initial configuration] ******************************************** +changed: [h2 -> localhost] +changed: [r1 -> localhost] +changed: [h1 -> localhost] +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['vlan']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=vlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vlan-coverage.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created group_vars for iosv +Created host_vars for s1 +Created host_vars for s2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, h1, h2 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [h1] +skipping: [h2] + +TASK [Create initial configuration] ******************************************** +changed: [h1 -> localhost] +changed: [s2 -> localhost] +changed: [s1 -> localhost] +changed: [h2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['vlan']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=vlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vlan-mode-priority.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for s1 +Created host_vars for s2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create initial configuration] ******************************************** +changed: [s2 -> localhost] +changed: [s1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['vlan']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=vlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +changed: [s2 -> localhost] +changed: [s1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +s1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vlan-native-routed.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created host_vars for r2 +Created group_vars for linux +Created host_vars for h1 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [h1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, h1 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [h1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [h1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [h1] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [h1 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['vlan']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=vlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create vlan configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vlan-routed-access.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created group_vars for eos +Created host_vars for s1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r2 -> localhost] +ok: [s1 -> localhost] +ok: [r1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r2 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r2, s1, r1 + +TASK [Compute final module name for initial] *********************************** +ok: [r2 -> localhost] +ok: [s1 -> localhost] +ok: [r1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r2 -> localhost] +ok: [s1 -> localhost] +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r2] +skipping: [s1] +skipping: [r1] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] +changed: [s1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] + +TASK [Create device configurations for ['vlan', 'ospf']] *********************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, s1 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, s1 => (item=ospf) + +TASK [Compute final module name for vlan] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [s1] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [s1] + +TASK [Create ospf configuration] *********************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] +changed: [s1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s1 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vlan-routed-multiprovider.yml... +Createdprovider configuration file: Vagrantfile +Creating configuration file for secondary provider clab +Createdprovider configuration file: clab-augment.yml +Mapped clab_files/s/daemons to s:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/s/hosts to s:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r +Created group_vars for frr +Created host_vars for s +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r -> localhost] +ok: [s -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r, s + +TASK [Compute final module name for initial] *********************************** +ok: [r -> localhost] +ok: [s -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r -> localhost] +ok: [s -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r] +skipping: [s] + +TASK [Create initial configuration] ******************************************** +changed: [r -> localhost] +changed: [s -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r -> localhost] +ok: [s -> localhost] + +TASK [Create device configurations for ['vlan']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r, s => (item=vlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [r -> localhost] +ok: [s -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r -> localhost] +ok: [s -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r] +skipping: [s] + +TASK [Create vlan configuration] *********************************************** +changed: [r -> localhost] +changed: [s -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vlan-routed-vrf.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/r1/daemons to r1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r1/hosts to r1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/r2/daemons to r2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r2/hosts to r2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/s2/daemons to s2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/s2/hosts to s2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/h1/daemons to h1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/h1/hosts to h1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/h2/daemons to h2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/h2/hosts to h2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Mapped clab_files/h3/daemons to h3:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/h3/hosts to h3:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for s2 +Created host_vars for h1 +Created host_vars for h2 +Created host_vars for h3 +Created group_vars for eos +Created host_vars for s1 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, h1, h2, h3, r1, r2, s2 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [h1] +skipping: [h2] +skipping: [h3] +skipping: [r1] +skipping: [r2] +skipping: [s2] + +TASK [Create initial configuration] ******************************************** +changed: [h3 -> localhost] +changed: [r2 -> localhost] +changed: [h2 -> localhost] +changed: [s1 -> localhost] +changed: [h1 -> localhost] +changed: [s2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['vlan', 'vrf']] ************************ +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, s1, s2 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, s1, s2 => (item=vrf) + +TASK [Compute final module name for vlan] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +changed: [r1 -> localhost] +changed: [s2 -> localhost] +changed: [r2 -> localhost] +changed: [s1 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [s1] +skipping: [s2] + +TASK [Create vrf configuration] ************************************************ +changed: [r1 -> localhost] +changed: [s1 -> localhost] +changed: [s2 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r1 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/vlan-routed.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for r1 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, h1, h2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [h1] +skipping: [h2] + +TASK [Create initial configuration] ******************************************** +changed: [h1 -> localhost] +changed: [r1 -> localhost] +changed: [h2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] + +TASK [Create device configurations for ['vlan']] ******************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1 => (item=vlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [r1 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] + +TASK [Create vlan configuration] *********************************************** +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vlan-router-stick.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for ros +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [ros -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, ros, s1, s2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [ros -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [ros -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [ros] +skipping: [s1] +skipping: [s2] + +TASK [Create initial configuration] ******************************************** +changed: [ros -> localhost] +changed: [s2 -> localhost] +changed: [r2 -> localhost] +changed: [s1 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [ros -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['vlan', 'ospf']] *********************** +skipping: [r1] => (item=vlan) +skipping: [r2] => (item=vlan) +skipping: [s1] => (item=ospf) +skipping: [s2] => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, ros => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for ros, s1, s2 => (item=vlan) + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [ros -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [ros -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [ros] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [ros -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for vlan] ************************************** +ok: [ros -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [ros -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [ros] +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +changed: [ros -> localhost] +changed: [s2 -> localhost] +changed: [s1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +ros : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vlan-trunk-native.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for iosv +Created host_vars for s1 +Created group_vars for eos +Created host_vars for s2 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created host_vars for h3 +Created host_vars for h4 +Created host_vars for h5 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [s1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] +ok: [h5 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s2 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s2, s1, h1, h2, h3, h4, h5 + +TASK [Compute final module name for initial] *********************************** +ok: [s2 -> localhost] +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] +ok: [h5 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s2 -> localhost] +ok: [s1 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] +ok: [h5 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s2] +skipping: [s1] +skipping: [h1] +skipping: [h2] +skipping: [h3] +skipping: [h4] +skipping: [h5] + +TASK [Create initial configuration] ******************************************** +changed: [s2 -> localhost] +changed: [h2 -> localhost] +changed: [h1 -> localhost] +changed: [h3 -> localhost] +changed: [s1 -> localhost] +changed: [h4 -> localhost] +changed: [h5 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['vlan', 'ospf']] *********************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=ospf) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create ospf configuration] *********************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h4 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h5 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s2 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vlan-vrf-lite.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Created host_vars for h5 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created host_vars for h3 +Created host_vars for h4 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [h5 -> localhost] +ok: [r1 -> localhost] +ok: [r3 -> localhost] +ok: [r2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [h5 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for h5, r1, r2, r3, h1, h2, h3, h4 + +TASK [Compute final module name for initial] *********************************** +ok: [h5 -> localhost] +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [h5 -> localhost] +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [h5] +skipping: [r1] +skipping: [r2] +skipping: [r3] +skipping: [h1] +skipping: [h2] +skipping: [h3] +skipping: [h4] + +TASK [Create initial configuration] ******************************************** +changed: [h2 -> localhost] +changed: [h4 -> localhost] +changed: [r1 -> localhost] +changed: [h1 -> localhost] +changed: [h5 -> localhost] +changed: [r2 -> localhost] +changed: [r3 -> localhost] +changed: [h3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['vlan', 'ospf', 'vrf']] **************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=vrf) + +TASK [Compute final module name for vlan] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create vlan configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] +changed: [r3 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r3 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create vrf configuration] ************************************************ +changed: [r2 -> localhost] +changed: [r1 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h4 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h5 : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +r1 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +r2 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +r3 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vlan-vrrp.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, h1, h2 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [h1] +skipping: [h2] + +TASK [Create initial configuration] ******************************************** +changed: [h2 -> localhost] +changed: [s1 -> localhost] +changed: [h1 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['vlan', 'gateway']] ******************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2 => (item=gateway) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for gateway] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find gateway configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] + +TASK [Create gateway configuration] ******************************************** +changed: [s2 -> localhost] +changed: [s1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vrf-igp.yml... +Createdprovider configuration file: clab.yml +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for pe1 +Created host_vars for pe2 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [pe1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for pe1, pe2, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [pe1] +skipping: [pe2] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [pe1 -> localhost] +changed: [pe2 -> localhost] +changed: [r3 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['bgp', 'isis', 'ospf', 'vrf']] ********* +skipping: [r2] => (item=isis) +skipping: [r3] => (item=bgp) +skipping: [r2] => (item=ospf) +skipping: [r3] => (item=isis) +skipping: [r2] => (item=vrf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for pe1, pe2, r2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for pe1, pe2 => (item=isis) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for pe1, pe2, r3 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for pe1, pe2, r3 => (item=vrf) + +TASK [Compute final module name for bgp] *************************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [r2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [pe1] +skipping: [pe2] +skipping: [r2] + +TASK [Create bgp configuration] ************************************************ +changed: [pe1 -> localhost] +changed: [r2 -> localhost] +changed: [pe2 -> localhost] + +TASK [Compute final module name for isis] ************************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] + +TASK [Find isis configuration template] **************************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [pe1] +skipping: [pe2] + +TASK [Create isis configuration] *********************************************** +changed: [pe2 -> localhost] +changed: [pe1 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [pe1] +skipping: [pe2] +skipping: [r3] + +TASK [Create ospf configuration] *********************************************** +changed: [pe2 -> localhost] +changed: [pe1 -> localhost] +changed: [r3 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [pe1 -> localhost] +ok: [pe2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [pe1] +skipping: [pe2] +skipping: [r3] + +TASK [Create vrf configuration] ************************************************ +changed: [pe1 -> localhost] +changed: [r3 -> localhost] +changed: [pe2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +pe1 : ok=23 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 +pe2 : ok=22 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r3 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Error executing sudo ip link del dev input_6: + Command '['sudo', 'ip', 'link', 'del', 'dev', 'input_6']' returned non-zero exit status 1. +Error executing sudo ip link del dev input_5: + Command '['sudo', 'ip', 'link', 'del', 'dev', 'input_5']' returned non-zero exit status 1. +Cleanup configuration files +... removing clab.yml +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/vrf-leaking-loop.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/leaf1/daemons to leaf1:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/leaf1/hosts to leaf1:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for frr +Created host_vars for leaf1 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [leaf1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [leaf1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for leaf1 + +TASK [Compute final module name for initial] *********************************** +ok: [leaf1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [leaf1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [leaf1] + +TASK [Create initial configuration] ******************************************** +changed: [leaf1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [leaf1 -> localhost] + +TASK [Create device configurations for ['vlan', 'vrf']] ************************ +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for leaf1 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for leaf1 => (item=vrf) + +TASK [Compute final module name for vlan] ************************************** +ok: [leaf1 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [leaf1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [leaf1] + +TASK [Create vlan configuration] *********************************************** +changed: [leaf1 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [leaf1 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [leaf1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [leaf1] + +TASK [Create vrf configuration] ************************************************ +changed: [leaf1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +leaf1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/vrf-links.yml... +Createdprovider configuration file: clab.yml +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r3 -> localhost] +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf', 'vrf']] ***************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=vrf) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create bgp configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] +changed: [r3 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create ospf configuration] *********************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +changed: [r3 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create vrf configuration] ************************************************ +changed: [r2 -> localhost] +changed: [r3 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=19 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +r2 : ok=18 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +r3 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/vrf-loopback.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] + +TASK [Create device configurations for ['vrf']] ******************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1 => (item=vrf) + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] + +TASK [Create vrf configuration] ************************************************ +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vrf-routing-blocks.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for x +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, x + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [x] + +TASK [Create initial configuration] ******************************************** +changed: [x -> localhost] +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x -> localhost] + +TASK [Create device configurations for ['bgp', 'isis', 'ospf', 'vrf']] ********* +skipping: [x] => (item=isis) +skipping: [x] => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, x => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=isis) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, x => (item=vrf) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [x] + +TASK [Create bgp configuration] ************************************************ +changed: [r2 -> localhost] +changed: [r1 -> localhost] +changed: [x -> localhost] + +TASK [Compute final module name for isis] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find isis configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create isis configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [x -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [x] + +TASK [Create vrf configuration] ************************************************ +changed: [r2 -> localhost] +changed: [x -> localhost] +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=23 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 +r2 : ok=22 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 +x : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vrf.yml... +Createdprovider configuration file: clab.yml +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Created host_vars for r3 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create initial configuration] ******************************************** +changed: [r1 -> localhost] +changed: [r2 -> localhost] +changed: [r3 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Create device configurations for ['bgp', 'ospf', 'vrf']] ***************** +skipping: [r2] => (item=ospf) +skipping: [r3] => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=bgp) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r3 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, r3 => (item=vrf) + +TASK [Compute final module name for bgp] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find bgp configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create bgp configuration] ************************************************ +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [r1 -> localhost] +ok: [r3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r3] + +TASK [Create ospf configuration] *********************************************** +changed: [r1 -> localhost] +changed: [r3 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [r3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [r3] + +TASK [Create vrf configuration] ************************************************ +changed: [r3 -> localhost] +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=19 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +r2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r3 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Error executing sudo ip link del dev input_3: + Command '['sudo', 'ip', 'link', 'del', 'dev', 'input_3']' returned non-zero exit status 1. +Error executing sudo ip link del dev input_4: + Command '['sudo', 'ip', 'link', 'del', 'dev', 'input_4']' returned non-zero exit status 1. +Cleanup configuration files +... removing clab.yml +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/vrrp-interface-granularity.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for r1 +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Create device configurations for ['gateway']] **************************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2 => (item=gateway) + +TASK [Compute final module name for gateway] *********************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Find gateway configuration template] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] + +TASK [Create gateway configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +r2 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vxlan-router-stick.yml... +Createdprovider configuration file: clab.yml +Mapped clab_files/r2/daemons to r2:/etc/frr/daemons (from templates/provider/clab/frr/daemons.j2) +Mapped clab_files/r2/hosts to r2:/etc/hosts (from templates/provider/clab/frr/hosts.j2) +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Created host_vars for r1 +Created group_vars for frr +Created host_vars for r2 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [r2 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [r1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, s1, s2, r2 + +TASK [Compute final module name for initial] *********************************** +ok: [r1 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [r2 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [r1 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [r2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [s1] +skipping: [s2] +skipping: [r2] + +TASK [Create initial configuration] ******************************************** +changed: [r2 -> localhost] +changed: [r1 -> localhost] +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Create device configurations for ['vlan', 'vxlan']] ********************** +skipping: [s1] => (item=vxlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, s1, s2 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for r1, r2, s2 => (item=vxlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [s1] +skipping: [s2] + +TASK [Create vlan configuration] *********************************************** +changed: [r1 -> localhost] +changed: [s2 -> localhost] +changed: [s1 -> localhost] +changed: [r2 -> localhost] + +TASK [Compute final module name for vxlan] ************************************* +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s2 -> localhost] + +TASK [Find vxlan configuration template] *************************************** +ok: [r1 -> localhost] +ok: [r2 -> localhost] +ok: [s2 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [r1] +skipping: [r2] +skipping: [s2] + +TASK [Create vxlan configuration] ********************************************** +changed: [s2 -> localhost] +changed: [r1 -> localhost] +changed: [r2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +r1 : ok=15 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +r2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 +s1 : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +s2 : ok=14 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +OK: clab installed and working correctly +Stopping clab nodes +Cleanup configuration files +... removing clab.yml +... removing directory tree clab_files +... removing ansible.cfg +... removing hosts.yml +... removing directory tree group_vars +... removing directory tree host_vars +... removing netlab.snapshot.yml +Creating configs based on topology/input/vxlan-static.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Created host_vars for s3 +Created group_vars for linux +Created host_vars for h1 +Created host_vars for h2 +Created host_vars for h3 +Created host_vars for h4 +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3, h1, h2, h3, h4 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] +ok: [h1 -> localhost] +ok: [h2 -> localhost] +ok: [h3 -> localhost] +ok: [h4 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] +skipping: [h1] +skipping: [h2] +skipping: [h3] +skipping: [h4] + +TASK [Create initial configuration] ******************************************** +changed: [s1 -> localhost] +changed: [h2 -> localhost] +changed: [s3 -> localhost] +changed: [h3 -> localhost] +changed: [h4 -> localhost] +changed: [s2 -> localhost] +changed: [h1 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Create device configurations for ['vlan', 'ospf', 'vxlan']] ************** +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=vxlan) + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create vlan configuration] *********************************************** +changed: [s2 -> localhost] +changed: [s3 -> localhost] +changed: [s1 -> localhost] + +TASK [Compute final module name for ospf] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create ospf configuration] *********************************************** +changed: [s1 -> localhost] +changed: [s3 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for vxlan] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find vxlan configuration template] *************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create vxlan configuration] ********************************************** +changed: [s3 -> localhost] +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +h1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +h4 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=19 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +s2 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 +s3 : ok=18 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation +Creating configs based on topology/input/vxlan-vrf-lite.yml... +Createdprovider configuration file: Vagrantfile +Createdtransformed topology dump in YAML format in netlab.snapshot.yml +Created group_vars for all +Created group_vars for modules +Created group_vars for linux +Created host_vars for rh1 +Created host_vars for rh2 +Created host_vars for rh3 +Created host_vars for bh1 +Created host_vars for bh2 +Created group_vars for eos +Created host_vars for s1 +Created host_vars for s2 +Created host_vars for s3 +Created host_vars for c +Createdminimized Ansible inventory hosts.yml +CreatedAnsible configuration file: ansible.cfg + +PLAY [Create initial device configurations] ************************************ + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [c -> localhost] +ok: [s3 -> localhost] +ok: [bh1 -> localhost] +ok: [bh2 -> localhost] +ok: [rh1 -> localhost] +ok: [rh2 -> localhost] +ok: [rh3 -> localhost] + +TASK [Create config directory in /home/jeroen/Projects/netlab/tests/test_configs] *** +ok: [s1 -> localhost] + +TASK [Create initial device configuration] ************************************* +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, c, s3, bh1, bh2, rh1, rh2, rh3 + +TASK [Compute final module name for initial] *********************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [c -> localhost] +ok: [s3 -> localhost] +ok: [bh1 -> localhost] +ok: [bh2 -> localhost] +ok: [rh1 -> localhost] +ok: [rh2 -> localhost] +ok: [rh3 -> localhost] + +TASK [Find initial configuration template] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [c -> localhost] +ok: [s3 -> localhost] +ok: [bh1 -> localhost] +ok: [bh2 -> localhost] +ok: [rh1 -> localhost] +ok: [rh2 -> localhost] +ok: [rh3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [c] +skipping: [s3] +skipping: [bh1] +skipping: [bh2] +skipping: [rh1] +skipping: [rh2] +skipping: [rh3] + +TASK [Create initial configuration] ******************************************** +changed: [s1 -> localhost] +changed: [c -> localhost] +changed: [rh3 -> localhost] +changed: [rh1 -> localhost] +changed: [rh2 -> localhost] +changed: [bh1 -> localhost] +changed: [s3 -> localhost] +changed: [bh2 -> localhost] +changed: [s2 -> localhost] + +PLAY [Create module-specific configurations] *********************************** + +TASK [Set variables that cannot be set with vars] ****************************** +ok: [c -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Create device configurations for ['vlan', 'ospf', 'vrf', 'vxlan']] ******* +skipping: [c] => (item=vlan) +skipping: [c] => (item=vrf) +skipping: [c] => (item=vxlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for c, s1, s2, s3 => (item=ospf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=vlan) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=vrf) +included: /home/jeroen/Projects/netlab/netsim/ansible/tasks/create-config.yml for s1, s2, s3 => (item=vxlan) + +TASK [Compute final module name for ospf] ************************************** +ok: [c -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find ospf configuration template] **************************************** +ok: [c -> localhost] +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [c] +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create ospf configuration] *********************************************** +changed: [s1 -> localhost] +changed: [c -> localhost] +changed: [s2 -> localhost] +changed: [s3 -> localhost] + +TASK [Compute final module name for vlan] ************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find vlan configuration template] **************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create vlan configuration] *********************************************** +changed: [s2 -> localhost] +changed: [s1 -> localhost] +changed: [s3 -> localhost] + +TASK [Compute final module name for vrf] *************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find vrf configuration template] ***************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create vrf configuration] ************************************************ +changed: [s3 -> localhost] +changed: [s1 -> localhost] +changed: [s2 -> localhost] + +TASK [Compute final module name for vxlan] ************************************* +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Find vxlan configuration template] *************************************** +ok: [s1 -> localhost] +ok: [s2 -> localhost] +ok: [s3 -> localhost] + +TASK [Throw an error message if we can't find the configuration template] ****** +skipping: [s1] +skipping: [s2] +skipping: [s3] + +TASK [Create vxlan configuration] ********************************************** +changed: [s1 -> localhost] +changed: [s2 -> localhost] +changed: [s3 -> localhost] + +PLAY [Create custom deployment templates] ************************************** +skipping: no hosts matched + +PLAY [Create daemon configuration files] *************************************** +skipping: no hosts matched + +PLAY RECAP ********************************************************************* +bh1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +bh2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +c : ok=10 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 +rh1 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +rh2 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +rh3 : ok=5 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 +s1 : ok=23 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 +s2 : ok=22 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 +s3 : ok=22 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 + + +Initial configurations have been created in the test_configs directory +OK: Read transformed lab topology from snapshot file netlab.snapshot.yml +Checking virtualization provider installation diff --git a/tests/run-config-tests.sh b/tests/run-config-tests.sh new file mode 100755 index 000000000..ccb77042c --- /dev/null +++ b/tests/run-config-tests.sh @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Using the test cases in toplogy/input/**yml, generate config outputs to test the device templates +# +OUT=run-config-tests.log +ERR=run-config-tests.err.log +set +e +for file in topology/input/${1:-*}.yml; do + echo "Creating configs based on $file..." + echo "Creating configs based on $file..." >> $OUT + echo "Creating configs based on $file..." >> $ERR + PYTHONPATH="../" netlab create $file>>$OUT 2>>$ERR + PYTHONPATH="../" netlab initial -o test_configs >>$OUT 2>>$ERR + PYTHONPATH="../" netlab down --cleanup >>$OUT 2>>$ERR + echo "DONE creating configs based on $file..." >> $OUT +done +# +# Remove files when done +# +rm -fr test_configs