Commit Graph

13 Commits

Author SHA1 Message Date
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
4c3d92008f Refactor away 'default' and just call the default profile 'bird' 2023-05-31 14:47:19 +00:00
9ead69a5f6 Make SSH keys for root/ipng configurable, add vifino only for lab0 2023-05-06 19:55:16 +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
d48828ed21 Advance to Debian 11.6 + VPP 23.06 + IPng Site Local 2023-04-03 15:15:42 +00: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
5bc0d2c84c Futher flesh out the generator
- Create a per-host directory called overlays/$(overlay)/hostname/$(host.hostname) to have files that
  ought to be included only for that host. Things like /etc/vpp/config/interface.vpp go there
- Rename the "templates" directory as overlays/$(overlay)/common/
- Render one after the other, so a file can exist in common and hostname, the latter taking precedence
- Remove the config for 'pubkeys' and instead just make these common/root/.ssh/* and common/home/ipng/.ssh/*
- Split out bootstrap.vpp so that a per-host include can be overriden for interfaces.vpp
  - But keep a default common/etc/vpp/config/interface.vpp as a placeholder, so that VPP will still start
    even if the per-hostname override isn't provided.
- Generate a fresh output for 'default' on all machines
2022-10-18 16:30:52 +02:00
54aa9f1890 Add hvn1/hvn2 and remove the comments from hvn0 2022-10-14 12:26:57 +02:00
27d4ec6194 initial checkin - a start of the generator, and some config files and overlays 2022-10-13 20:41:34 +02:00