Add intermediate variables for attacker,monitor,result_checker
[yardstick.git] / yardstick / benchmark / scenarios / availability / util.py
index 6fef622..adc20b8 100644 (file)
@@ -33,7 +33,7 @@ def execute_shell_command(command):
         LOG.error(traceback.format_exc())
     return exitcode, output
 
-PREFIX = '$'
+PREFIX = '@'
 
 
 def build_shell_command(param_config, remote=True, intermediate_variables=None):
@@ -51,6 +51,8 @@ def build_shell_command(param_config, remote=True, intermediate_variables=None):
 
 
 def read_stdout_item(stdout, key):
+    if key == "all":
+        return stdout
     for item in stdout.splitlines():
         if key in item:
             attributes = item.split("|")