Commit f9bbf32b authored by René Nussbaumer's avatar René Nussbaumer
Browse files

gnt-cluster info: Print and format disk parameters

Signed-off-by: default avatarRené Nussbaumer <>
Reviewed-by: default avatarIustin Pop <>
parent 615b7a0f
......@@ -462,6 +462,9 @@ def ShowClusterConfig(opts, args):
ToStdout("Default nic parameters:")
_PrintGroupedParams(result["nicparams"], roman=opts.roman_integers)
ToStdout("Default disk parameters:")
_PrintGroupedParams(result["diskparams"], roman=opts.roman_integers)
ToStdout("Instance policy - limits for instances:")
for key in constants.IPOLICY_ISPECS:
ToStdout(" - %s", key)
......@@ -6177,6 +6177,7 @@ class LUClusterQuery(NoHooksLU):
"ipolicy": cluster.ipolicy,
"nicparams": cluster.nicparams,
"ndparams": cluster.ndparams,
"diskparams": cluster.diskparams,
"candidate_pool_size": cluster.candidate_pool_size,
"master_netdev": cluster.master_netdev,
"master_netmask": cluster.master_netmask,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment