Commit graph

26 commits

Author SHA1 Message Date
9d383e3fd9 Container: call shutdown() in parallel to speed up cleanup 2020-03-19 23:32:44 +01:00
abe5fc6972 Ask and drop sudo rights at the right moment 2020-03-19 23:32:19 +01:00
4e39260232 Container: delete overlay tempdir upon cleanup 2020-03-19 23:31:09 +01:00
ceee1908a4 spawn_network: add basic REPL 2020-03-19 20:24:18 +01:00
b9f9e7d1b0 Handle libvirt errors and logging 2020-03-19 19:07:12 +01:00
71b5d661c0 Handle net/dom start/stop in Topology 2020-03-19 19:06:44 +01:00
9d71490264 Networks: spawn with asyncio 2020-03-12 12:39:50 +01:00
4c8d6540d4 Add a few topologies 2020-03-12 11:58:10 +01:00
c58bf6798a Parse_network: fix for omitted domains element 2020-03-12 11:57:38 +01:00
7cae5e1f22 Add better README 2020-03-12 11:52:07 +01:00
915875ecf2 Add entry point: parse_network.py 2020-03-12 11:40:17 +01:00
cae5e2244c Subprocess commands; retry on failure 2020-03-12 09:53:37 +01:00
be299901e9 Container: allow disabling IPv4 on a container 2020-03-11 11:50:45 +01:00
82dcc54c71 Fix network addresses and indexing
Multiple fixes to make network addresses consistent
2020-03-11 11:29:13 +01:00
5b8f16163d Containers: setup network addresses
Use systemd-networkd and config files
2020-03-11 11:28:47 +01:00
8eb49fd01d Change XMLTemplate to JinjaTemplate 2020-03-11 11:27:38 +01:00
95080f88ad Implement containers 2020-03-09 17:36:57 +01:00
603ba68f18 templates: load from templates/ directory 2020-03-09 17:36:38 +01:00
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
5f3e504913 Network: factor out some parts for future Container 2020-03-09 13:00:43 +01:00
25b0b714e1 Templates: use jinja2 2020-03-09 13:00:10 +01:00
003e774fc4 Use virtualenv, rename src -> lxc_net
Fix imports accordingly
2020-03-09 12:58:57 +01:00
260417bcd0 Network: handle object cleanup 2020-03-09 12:27:43 +01:00
b06ce7c12b Add network definition file 2020-03-09 12:14:48 +01:00
90baaa8d03 Add helper files 2020-03-09 12:14:26 +01:00
8a1ee721f3 Initial commit 2020-03-08 15:12:28 +01:00