Commit Graph

24 Commits

Author SHA1 Message Date
Théophile Bastian db3cd51fad Add possibility to pick root for some domains 2024-02-22 16:30:58 +01:00
Théophile Bastian bdfe0e1878 Include domain id in name stem 2022-03-08 15:27:37 +01:00
Théophile Bastian 9a5b6a996d Use name from topology in container name 2022-03-08 15:21:14 +01:00
Théophile Bastian 458dc08d9c topologies: handle `enable_v4` attribute for links 2020-04-01 18:52:31 +02:00
Théophile Bastian 9d383e3fd9 Container: call shutdown() in parallel to speed up cleanup 2020-03-19 23:32:44 +01:00
Théophile Bastian abe5fc6972 Ask and drop sudo rights at the right moment 2020-03-19 23:32:19 +01:00
Théophile Bastian 4e39260232 Container: delete overlay tempdir upon cleanup 2020-03-19 23:31:09 +01:00
Théophile Bastian ceee1908a4 spawn_network: add basic REPL 2020-03-19 20:24:18 +01:00
Théophile Bastian b9f9e7d1b0 Handle libvirt errors and logging 2020-03-19 19:07:12 +01:00
Théophile Bastian 71b5d661c0 Handle net/dom start/stop in Topology 2020-03-19 19:06:44 +01:00
Théophile Bastian 9d71490264 Networks: spawn with asyncio 2020-03-12 12:39:50 +01:00
Théophile Bastian c58bf6798a Parse_network: fix for omitted `domains` element 2020-03-12 11:57:38 +01:00
Théophile Bastian 915875ecf2 Add entry point: `parse_network.py` 2020-03-12 11:40:17 +01:00
Théophile Bastian cae5e2244c Subprocess commands; retry on failure 2020-03-12 09:53:37 +01:00
Théophile Bastian be299901e9 Container: allow disabling IPv4 on a container 2020-03-11 11:50:45 +01:00
Théophile Bastian 82dcc54c71 Fix network addresses and indexing
Multiple fixes to make network addresses consistent
2020-03-11 11:29:13 +01:00
Théophile Bastian 5b8f16163d Containers: setup network addresses
Use systemd-networkd and config files
2020-03-11 11:28:47 +01:00
Théophile Bastian 8eb49fd01d Change XMLTemplate to JinjaTemplate 2020-03-11 11:27:38 +01:00
Théophile Bastian 95080f88ad Implement containers 2020-03-09 17:36:57 +01:00
Théophile Bastian 603ba68f18 templates: load from `templates/` directory 2020-03-09 17:36:38 +01:00
Théophile Bastian e310032b36 Network: do not check existence at __init__
This causes a verbose error on normal behaviour that cannot be muted
2020-03-09 17:09:35 +01:00
Théophile Bastian 5f3e504913 Network: factor out some parts for future Container 2020-03-09 13:00:43 +01:00
Théophile Bastian 25b0b714e1 Templates: use jinja2 2020-03-09 13:00:10 +01:00
Théophile Bastian 003e774fc4 Use virtualenv, rename src -> lxc_net
Fix imports accordingly
2020-03-09 12:58:57 +01:00