commit cf6cfb0415e0e9112daa219bed468cdaed2a3219
Author: Radek Pazdera <rpazdera(a)redhat.com>
Date: Wed Jul 18 17:03:35 2012 +0200
nettestctl.py: all_dump and eval actions removed
'all_dump' now makes no sense. Configuration of slave machines now
occurs at recipe parsing time (because it's needed to be done for
further processing). That means, that you cannot safely parse the
recipe config without connecting to the slaves.
'eval' option is tied to the recipe_eval functionality that was
removed and replaced by aliases and templates.
Signed-off-by: Radek Pazdera <rpazdera(a)redhat.com>
nettestctl.py | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/nettestctl.py b/nettestctl.py
index f1511df..617202a 100755
--- a/nettestctl.py
+++ b/nettestctl.py
@@ -29,7 +29,7 @@ def usage():
print "Usage:"
print "nettestctl.py [OPTION...] ACTION"
print ""
- print "ACTION = [run | dump | all_dump | config_only | eval EXPR]"
+ print "ACTION = [run | dump | config_only]"
print ""
print " -d, --debug emit debugging messages"
print " -p, --packet_capture capture and log all
ongoing\n" \
@@ -54,15 +54,8 @@ def process_recipe(args, file_path, remoteexec, cleanup,
return nettestctl.run_recipe(packet_capture)
elif action == "dump":
return nettestctl.dump_recipe()
- elif action == "all_dump":
- return nettestctl.all_dump_recipe()
elif action == "config_only":
return nettestctl.config_only_recipe()
- elif action == "eval":
- if len(args) < 2:
- logging.error("No expression passed")
- usage();
- return nettestctl.eval_expression_recipe(args[1])
else:
logging.error("Unknown action \"%s\"" % action)
usage();
Show replies by date