more smartly sense for vplc instances now that we run build VMs and vplc's in the...
[tests.git] / system / Substrate.py
index d6d5424..c026049 100644 (file)
@@ -581,7 +581,10 @@ class PlcLxcBox (PlcBox):
         command = ['/root/lxc-driver.sh', '-c', 'sense_all']
         lxc_stat = self.backquote_ssh (command)
         for lxc_line in lxc_stat.split("\n"):
-            if not lxc_line: continue
+            if not lxc_line:
+                continue
+            if 'vplc' not in lxc_line:
+                continue
             lxcname = lxc_line.split(";")[0]
             pid = lxc_line.split(";")[1]
             timestamp = lxc_line.split(";")[2]