Commit graph

16 commits

Author SHA1 Message Date
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
Théophile Bastian 260417bcd0 Network: handle object cleanup 2020-03-09 12:27:43 +01:00
Théophile Bastian b06ce7c12b Add network definition file 2020-03-09 12:14:48 +01:00
Théophile Bastian 90baaa8d03 Add helper files 2020-03-09 12:14:26 +01:00
Théophile Bastian 8a1ee721f3 Initial commit 2020-03-08 15:12:28 +01:00