3d60a51503
Undefine VMs upon destroy; Define VMs upon create
2023-11-19 18:27:46 +00:00
b14e7674ad
Generate libvirt config files
2023-11-19 18:19:59 +00:00
4ca17edf61
Assume vol0 on the hypervisors, not ssd-vol0
2023-11-19 17:06:49 +00:00
37b4b725d9
Generate lab3
2023-11-19 14:15:53 +00:00
a3db62a2e5
Typo fix. Lab2 runs on hvn2
2023-11-19 14:15:34 +00:00
305282c238
Remove vifino's access from lab0
2023-11-19 14:14:59 +00:00
e982fc72d0
on FRR, distribute static/connected in OSPF; and disable OSPF/OSPFv3 on vpp0.e0 and vpp3.e1 respectively
2023-10-22 22:05:17 +00:00
5d359744cf
Base build on 20231015, and defualt to FRR
2023-10-15 19:39:06 +00:00
a6c94d23ca
Fix permissions; Do not run LDP on vpp0.e0 and vpp3.e1; Regenerate
2023-10-15 19:38:50 +00:00
ae458c6754
Remove 'default' and instead write 'bird'
2023-09-27 20:37:27 +00:00
f90b7e530c
Remove 'default' build target, as we're now fully on 'bird' and 'frr' targets
2023-09-27 20:36:33 +00:00
64754d1279
Allow tagged traffic on the inter-machine links, by turning all the ports into dot1q tunnel mode
2023-09-27 20:34:28 +00:00
f929b836e8
Refactor the things that are common between bird and frr build types -- no-op for the build/ output
2023-05-31 16:14:33 +00:00
4d964af173
Templetize ovs-config.sh and share it between bird and frr
2023-05-31 16:07:25 +00:00
c526f9d864
Generate lab0 and lab2 for Bird profile
2023-05-31 15:43:53 +00:00
f660985e31
Generate FRR Profile for lab0 and lab2
2023-05-31 15:43:21 +00:00
8a64c5594a
Follow symlinks when assembling the templates
2023-05-31 15:30:55 +00:00
4c3d92008f
Refactor away 'default' and just call the default profile 'bird'
2023-05-31 14:47:19 +00:00
6414b290fa
Update README
2023-05-06 22:06:56 +00:00
ba4a3e9fef
Move the lock check until after the arg parser
2023-05-06 22:04:30 +00:00
8109ef4b1c
Fold destroy, pristine and virshall into 'command'. Add a lock to avoid destroying active/inuse LABs
2023-05-06 22:03:42 +00:00
9ead69a5f6
Make SSH keys for root/ipng configurable, add vifino only for lab0
2023-05-06 19:55:16 +00:00
3f737293b9
Complete lab0/lab1/lab2 setup with 2 hosts and 1 TAP device + OVS configs
2023-05-06 17:56:23 +00:00
72245529a2
Add lab-build snippets and executing them in 'create'. Refactor create/destroy/pristine; also, only virsh destroy VMs if they are 'running'
2023-05-06 12:43:05 +00:00
bd4c76689d
Regenerate Lab1/Lab2 also
2023-05-06 11:12:09 +00:00
3f4bcf4f04
Add two new host-types: 'host' and 'tap', which will serve as North/South debian hosts, and an OVS mirror host respectively
2023-05-06 11:11:25 +00:00
d99d9074dc
Increase the mgmt LAN to a /26 to accommodate more VMs in the labs
2023-05-06 10:57:48 +00:00
e9d645cba4
Refactor generator - allow for multiple types of node (only 'vpp' for now) -- move the vpp overlays into a new 'type'-root; we will read common/ / and / now
2023-05-06 10:57:05 +00:00
aa0b042298
Set MTU 9000 on the link to labX.lab.ipng.ch
2023-05-06 10:42:54 +00:00
3170fb24dd
Rewrite gateway4/gateway6 to routes to satisfy Debian Bookworm
2023-05-04 18:51:47 +00:00
d127651279
Add vifino's keys - add MTU 9000 on the mgmt interface, rebuild lab0
2023-05-04 18:48:48 +00:00
d6ccaf5357
Make the switch ports access (only untagged traffic)
2023-05-03 20:53:14 +00:00
d48828ed21
Advance to Debian 11.6 + VPP 23.06 + IPng Site Local
2023-04-03 15:15:42 +00:00
20b518e298
Rename the LAB to chbtl0.net.ipng.ch
2023-04-03 10:33:04 +00:00
9b9961e40c
Bump version to 20221128; Install default into OSPF; Refactor bird file structure
2022-11-27 15:33:25 +00:00
b35a1f6014
Ensure that generated files always overwrite the target
2022-11-27 14:53:39 +00:00
f753c60ad4
Bump image to 20221127-release
2022-11-27 14:11:53 +00:00
8c04bec3e6
Ensure that ovs-config is run against the correct LAB instance
2022-11-27 14:11:42 +00:00
f1837236e2
Add a virshall
...
virshall can start, shutdown or destroy all VMs on a hypervisor LAB
so I can remove 'start' from create and pristine; sometimes it is useful
to only create (but not start) the LABs. Similarly, sometimes bringing
the LAB into pristine state, but without restarting the VMs, is useful.
2022-10-22 10:25:27 +02:00
543074b72d
Collapse the override interface.vpp files
...
These interfaces follow a clear pattery of daisychaining and can be
computed using {{node.id}} and {{lab.id}}.
TESTED: Generating a new output has only expected diffs in the comments,
not in any IP or MTU or state values.
2022-10-22 09:59:02 +02:00
b63e54c85a
Generate flowprobe configs, but add them as a comment so LAB users can optionally enable them
2022-10-20 15:45:05 +02:00
87a50e13c0
Fix vpp0-3 IPv6 address on Gi10/0/0
2022-10-20 15:20:46 +02:00
4a017c30cc
Add interface configs for lab1 and lab2. They're all up!
2022-10-19 19:48:10 +02:00
6474cda3ad
Pass the correct LAB variable into the ovs-config script
2022-10-19 19:31:16 +02:00
b85ab65fb5
Commit the OVS switch topology after restarting the VMs
2022-10-19 14:40:36 +02:00
9ccdb08bdb
Add some install tips on PIP packages
2022-10-19 14:21:28 +02:00
01631ead29
Update README to reflect latest state
2022-10-19 14:18:38 +02:00
9e22d00c0f
Add a split horizon resolv.conf
...
- in default namespace, point to 194.1.163.3 and .4
- in dataplane namespace, point to lab.ipng.ch (192.168.1X.4 and 2001:678:d78:2X1::ffff)
- renumber ipv4 transit nets, so that .4/31 is labX.lab.ipng.ch <-> e0.vppX-0
- refactor common args (like nameserver search paths, node count, etc)
Regenerate the whole thing.
2022-10-19 13:36:14 +02:00
985b5fc4cb
Bump base image
2022-10-19 13:05:02 +02:00
1b241fe82a
Renumber IPv4 transit nets so that 4/31 is lab?.lab.ipng.ch <-> e0.vpp?-0
2022-10-19 12:48:07 +02:00