Commit aeee612c authored by Joanne Hugé's avatar Joanne Hugé

wip

parent a27681c8
......@@ -100,7 +100,7 @@ md5sum = 601d6237059fa665d3f3ffb6a78ad9ca
[template-core-network]
_update_hash_filename_ = instance-core-network.jinja2.cfg
md5sum = ad50c79083d6af93b13e4b60a9ebe97f
md5sum = 1f3a278109c2449d71fc95b4b139454a
[template-ue]
_update_hash_filename_ = instance-ue.jinja2.cfg
......
......@@ -139,13 +139,9 @@ init =
return f.read()
import netaddr
# ~ import tunsplit
tunsplit = types.ModuleType('tunsplit')
exec(readfile('{{ tunsplit }}'), tunsplit.__dict__)
# simulate what tunsplit would assign to the tun
# ( tun subinterface will be created for real later at install time - when it
# is too late to update section options )
if {{ slapparameter_dict.get("testing", False) }}:
slapnet = netaddr.IPNetwork('{{ str(test_slapnet) }}')
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment