in cstar/args.py [0:0]
def _add_strategy_arguments(parser):
parser.add_argument('--max-concurrency', '-j', type=int,
help='Maximum number of hosts to run the job on concurrently')
parser.add_argument('--timeout', type=int, default=None,
help='Maximum number of seconds to run on one host before considering the job failed')
parser.add_argument('--strategy', choices=("one", "topology", "all"), default=None,
help='Maximum number of seconds to run on one host before considering the job failed')
parser.add_argument('--cluster-parallel', action="store_true", default=None, help='Run on all clusters in parallel')
parser.add_argument('--cluster-serial', dest='cluster_parallel', action="store_false",
help='Run on all clusters in serial')
parser.add_argument('--dc-parallel', action="store_true", default=None,
help='Run on all data centers of a cluster in parallel')
parser.add_argument('--dc-serial', dest='dc_parallel', action="store_false",
help='Run on all data centers of a cluster in serial')
parser.add_argument('--dc-filter', type=str, default=None,
help='Only run in hosts belonging to the specified data center')
parser.add_argument('--key-space', '--keyspace',
help='The keyspace to use for endpoint mapping calculation. Uses all keypsaces by default.')
parser.add_argument('-r', '--resolve-hostnames', dest='resolve_hostnames', action="store_true", default=False,
help='Resolve hostnames of cluster nodes.')
parser.add_argument('--one', dest='strategy_one', action="store_true", default=False, required=False,
help='Run on one node of one data center at the time and for each cluster')
parser.add_argument('--one-per-dc', dest='strategy_one_per_dc', action="store_true", default=False, required=False,
help='Run on one node on all data centers at once and for each cluster')
parser.add_argument('--topology', dest='strategy_topology', action="store_true", default=False, required=False,
help='Run on all the nodes that are not having shared ranges, on one data center at the time and for each cluster')
parser.add_argument('--topology-per-dc', dest='strategy_topology_per_dc', action="store_true", default=False, required=False,
help='Run on all the nodes that are not having shared ranges, on all the data centers at once and for each cluster')
parser.add_argument('--all', dest='strategy_all', action="store_true", default=False, required=False,
help='Run on all nodes, on all data centers at once and for each cluster ')