Revision d00884a2 lib/client/gnt_cluster.py

b/lib/client/gnt_cluster.py
474 474
     _FormatGroupedParams(result["diskparams"], roman=opts.roman_integers)),
475 475

  
476 476
    ("Instance policy - limits for instances",
477
     [
478
       (key,
479
        _FormatGroupedParams(result["ipolicy"][constants.ISPECS_MINMAX][key],
480
                             roman=opts.roman_integers))
481
       for key in constants.ISPECS_MINMAX_KEYS
482
       ] +
483
     [
484
       (constants.ISPECS_STD,
485
        _FormatGroupedParams(result["ipolicy"][constants.ISPECS_STD],
486
                             roman=opts.roman_integers)),
487
       ("enabled disk templates",
488
        utils.CommaJoin(result["ipolicy"][constants.IPOLICY_DTS])),
489
       ] +
490
     [
491
       (key, result["ipolicy"][key])
492
       for key in constants.IPOLICY_PARAMETERS
493
       ]),
477
     FormatPolicyInfo(result["ipolicy"], None, True)),
494 478
    ]
495 479

  
496 480
  PrintGenericInfo(info)

Also available in: Unified diff