From: Thierry Parmentelat Date: Thu, 15 Jul 2010 08:36:38 +0000 (+0200) Subject: make plc ready for omf &/| reservation testing X-Git-Tag: tests-5.0-9~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d933160f1c55c769a0f93cdd953e11a3fc57753f;p=tests.git make plc ready for omf &/| reservation testing --- diff --git a/system/TestPlc.py b/system/TestPlc.py index 8b9e913..9196491 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -547,7 +547,9 @@ class TestPlc: 'PLC_BOOT_HOST', 'PLC_NET_DNS1', 'PLC_NET_DNS2', - 'PLC_RESERVATION_GRANULARITY',]: + 'PLC_RESERVATION_GRANULARITY', + 'PLC_OMF_ENABLED', + ]: fileconf.write ('e %s\n%s\n'%(var,self.plc_spec[var])) fileconf.write('w\n') fileconf.write('q\n') diff --git a/system/config_default.py b/system/config_default.py index 337132a..9b358e1 100644 --- a/system/config_default.py +++ b/system/config_default.py @@ -242,6 +242,7 @@ def plc (options,index) : 'PLC_NET_DNS1' : 'deferred-dns-1', 'PLC_NET_DNS2' : 'deferred-dns-2', 'PLC_RESERVATION_GRANULARITY':reservation_granularity, + 'PLC_OMF_ENABLED' : True, 'sites' : sites(options,index), 'keys' : keys(options,index), 'initscripts': initscripts(options,index),