set xmpp server name so the omf-resctl plugin does trigger
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 17 Feb 2011 15:40:51 +0000 (16:40 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 17 Feb 2011 15:40:51 +0000 (16:40 +0100)
system/TestPlc.py
system/config_default.py

index c26908c..b13914f 100644 (file)
@@ -564,6 +564,7 @@ class TestPlc:
                      'PLC_NET_DNS2',
                      'PLC_RESERVATION_GRANULARITY',
                      'PLC_OMF_ENABLED',
+                     'PLC_OMF_XMPP_SERVER',
                      ]:
             fileconf.write ('e %s\n%s\n'%(var,self.plc_spec[var]))
         fileconf.write('w\n')
index 34c9ca4..2e9056c 100644 (file)
@@ -258,7 +258,9 @@ def plc (options,index) :
         'PLC_NET_DNS1' : 'deferred-dns-1',
         'PLC_NET_DNS2' : 'deferred-dns-2',
         'PLC_RESERVATION_GRANULARITY':1800,
+        # minimal config so the omf plugins actually trigger
         'PLC_OMF_ENABLED' : 'true',
+        'PLC_OMF_XMPP_SERVER': 'deferred-myplc-hostname',
         'sites' : sites(options,index),
         'keys' : keys(options,index),
         'initscripts': initscripts(options,index),