make plc ready for omf &/| reservation testing
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 15 Jul 2010 08:36:38 +0000 (10:36 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 15 Jul 2010 08:36:38 +0000 (10:36 +0200)
system/TestPlc.py
system/config_default.py

index 8b9e913..9196491 100644 (file)
@@ -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')
index 337132a..9b358e1 100644 (file)
@@ -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),