Revision e8a4c138 lib/cmdlib.py

b/lib/cmdlib.py
1492 1492
    This checks that the fields required are valid output fields.
1493 1493

  
1494 1494
    """
1495
    self.dynamic_fields = frozenset(["dtotal", "dfree",
1496
                                     "mtotal", "mnode", "mfree",
1497
                                     "bootid"])
1495
    self.dynamic_fields = frozenset([
1496
      "dtotal", "dfree",
1497
      "mtotal", "mnode", "mfree",
1498
      "bootid",
1499
      "ctotal",
1500
      ])
1498 1501

  
1499 1502
    _CheckOutputFields(static=["name", "pinst_cnt", "sinst_cnt",
1500 1503
                               "pinst_list", "sinst_list",
......
1525 1528
            "mfree": utils.TryConvert(int, nodeinfo['memory_free']),
1526 1529
            "dtotal": utils.TryConvert(int, nodeinfo['vg_size']),
1527 1530
            "dfree": utils.TryConvert(int, nodeinfo['vg_free']),
1531
            "ctotal": utils.TryConvert(int, nodeinfo['cpu_total']),
1528 1532
            "bootid": nodeinfo['bootid'],
1529 1533
            }
1530 1534
        else:

Also available in: Unified diff