Change the default for the max_number_of_machines in atomicgroups to be infinite*. (* see definition of INFINITE_MACHINES).
The common use for rack tests is to want all machines in the group to be used.
Signed-off-by: Gregory Smith <gps@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3328 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/rpc_interface.py b/frontend/afe/rpc_interface.py
index 6fc204a..3ce0821 100644
--- a/frontend/afe/rpc_interface.py
+++ b/frontend/afe/rpc_interface.py
@@ -77,7 +77,7 @@
# atomic groups
-def add_atomic_group(name, max_number_of_machines, description=None):
+def add_atomic_group(name, max_number_of_machines=None, description=None):
return models.AtomicGroup.add_object(
name=name, max_number_of_machines=max_number_of_machines,
description=description).id