Commit Graph

6 Commits

Author SHA1 Message Date
4c3d92008f Refactor away 'default' and just call the default profile 'bird' 2023-05-31 14:47:19 +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
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
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
ad7b311f46 Emit the build into build//spongebob.ipng.nl// 2022-10-13 21:42:01 +02:00
27d4ec6194 initial checkin - a start of the generator, and some config files and overlays 2022-10-13 20:41:34 +02:00