Revision ea22736b
b/lib/cli.py | ||
---|---|---|
180 | 180 |
"REMOVE_RESERVED_IPS_OPT", |
181 | 181 |
"REMOVE_UIDS_OPT", |
182 | 182 |
"RESERVED_LVS_OPT", |
183 |
"RQL_OPT", |
|
183 | 184 |
"RUNTIME_MEM_OPT", |
184 | 185 |
"ROMAN_OPT", |
185 | 186 |
"SECONDARY_IP_OPT", |
... | ... | |
1266 | 1267 |
dest="candidate_pool_size", type="int", |
1267 | 1268 |
help="Set the candidate pool size") |
1268 | 1269 |
|
1270 |
RQL_OPT = cli_option("--max-running-jobs", dest="max_running_jobs", |
|
1271 |
type="int", help="Set the maximal number of jobs to " |
|
1272 |
"run simultaneously") |
|
1273 |
|
|
1269 | 1274 |
VG_NAME_OPT = cli_option("--vg-name", dest="vg_name", |
1270 | 1275 |
help=("Enables LVM and specifies the volume group" |
1271 | 1276 |
" name (cluster-wide) for disk allocation" |
b/lib/client/gnt_cluster.py | ||
---|---|---|
1088 | 1088 |
opts.beparams or opts.nicparams or |
1089 | 1089 |
opts.ndparams or opts.diskparams or |
1090 | 1090 |
opts.candidate_pool_size is not None or |
1091 |
opts.max_running_jobs is not None or |
|
1091 | 1092 |
opts.uid_pool is not None or |
1092 | 1093 |
opts.maintain_node_health is not None or |
1093 | 1094 |
opts.add_uids is not None or |
... | ... | |
1201 | 1202 |
diskparams=diskparams, |
1202 | 1203 |
ipolicy=ipolicy, |
1203 | 1204 |
candidate_pool_size=opts.candidate_pool_size, |
1205 |
max_running_jobs=opts.max_running_jobs, |
|
1204 | 1206 |
maintain_node_health=mnh, |
1205 | 1207 |
modify_etc_hosts=opts.modify_etc_hosts, |
1206 | 1208 |
uid_pool=uid_pool, |
... | ... | |
2175 | 2177 |
"modify": ( |
2176 | 2178 |
SetClusterParams, ARGS_NONE, |
2177 | 2179 |
[FORCE_OPT, |
2178 |
BACKEND_OPT, CP_SIZE_OPT, ENABLED_HV_OPT, HVLIST_OPT, MASTER_NETDEV_OPT, |
|
2180 |
BACKEND_OPT, CP_SIZE_OPT, RQL_OPT, |
|
2181 |
ENABLED_HV_OPT, HVLIST_OPT, MASTER_NETDEV_OPT, |
|
2179 | 2182 |
MASTER_NETMASK_OPT, NIC_PARAMS_OPT, VG_NAME_OPT, MAINTAIN_NODE_HEALTH_OPT, |
2180 | 2183 |
UIDPOOL_OPT, ADD_UIDS_OPT, REMOVE_UIDS_OPT, DRBD_HELPER_OPT, |
2181 | 2184 |
DEFAULT_IALLOCATOR_OPT, DEFAULT_IALLOCATOR_PARAMS_OPT, RESERVED_LVS_OPT, |
Also available in: Unified diff