X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2Fconfig_default.py;h=c4736708cc909a9e46b71f8be660a5eb48392b2a;hb=457af0d724a9b2e0e2da9486abffa87ba936d536;hp=b9abacd2cbaaa9a3dce1e904804fda7b2b47d7e9;hpb=86e433a5d801cbcc0bb795f5192132c0043ff9f8;p=tests.git diff --git a/system/config_default.py b/system/config_default.py index b9abacd..c473670 100644 --- a/system/config_default.py +++ b/system/config_default.py @@ -66,11 +66,8 @@ def nodes(options, index): 'next_hop' : 'xxx-deferred-xxx', }, 'bootmedium_options' : [ 'serial', 'no-hangcheck', 'systemd-debug' ], - # do not use plain bootstrapfs anymore as - # it tends to make bonding awkward (it's complicated enough already) - # plus, benefits are not clear any more, and it's closer to real life 'tags' : { -# 'plain-bootstrapfs' : 'YES', + # no tags anymore }, # boot cd settings # we should have tags here instead of the hard-wired @@ -392,7 +389,7 @@ def initscripts(options, index): # returns 3 slices # 1 has an initscript code # 2 has an initscript name -# 3 is an omf-friendly slice +# 3 used to be an omf-friendly slice but this is now deprecated def slices (options, index): def theslice (i): slice_spec = { 'slice_fields': {'name' : '{}_sl{}'.format(login_base(index),i), @@ -414,10 +411,11 @@ def slices (options, index): elif i%3 == 2: slice_spec['initscriptname'] = 'initscript_by_name' slice_spec['initscriptstamp'] = 'initscript_by_name' - # 3rd one is omf-friendly + # 3rd one - not omf-friendly any longer else: - # potentially turned off with config_no_omf - slice_spec ['omf-friendly'] = True + # omf-friendly slices is a deprecated feature + # slice_spec ['omf-friendly'] = True + pass return slice_spec # usual index is 1, additional plc's then get 2... # so index=1 -> 1 - 2 - 3 @@ -515,8 +513,10 @@ def plc (options, index) : 'PLC_NET_DNS2' : 'deferred-dns-2', 'PLC_RESERVATION_GRANULARITY':1800, 'PLC_VSYS_DEFAULTS' : ' , vif_up, vif_down, fd_tuntap, promisc, ', - 'PLC_OMF_ENABLED' : 'true', - 'PLC_OMF_XMPP_SERVER' : 'deferred-myplc-hostname', +# omf-friendly slices is a deprecated feature +# 'PLC_OMF_ENABLED' : 'true', +# 'PLC_OMF_XMPP_SERVER' : 'deferred-myplc-hostname', + 'PLC_OMF_ENABLED' : 'false', }, 'expected_vsys_tags': [ 'vif_up', 'vif_down', 'fd_tuntap', 'promisc', ], # minimal config so the omf plugins actually trigger