Revision b883637f lib/cmdlib.py

b/lib/cmdlib.py
2454 2454
    ("add_uids", None, ht.NoType),
2455 2455
    ("remove_uids", None, ht.NoType),
2456 2456
    ("maintain_node_health", None, ht.TMaybeBool),
2457
    ("prealloc_wipe_disks", None, ht.TMaybeBool),
2457 2458
    ("nicparams", None, ht.TOr(ht.TDict, ht.TNone)),
2458 2459
    ("drbd_helper", None, ht.TOr(ht.TString, ht.TNone)),
2459 2460
    ("default_iallocator", None, ht.TOr(ht.TString, ht.TNone)),
......
2726 2727
    if self.op.maintain_node_health is not None:
2727 2728
      self.cluster.maintain_node_health = self.op.maintain_node_health
2728 2729

  
2730
    if self.op.prealloc_wipe_disks is not None:
2731
      self.cluster.prealloc_wipe_disks = self.op.prealloc_wipe_disks
2732

  
2729 2733
    if self.op.add_uids is not None:
2730 2734
      uidpool.AddToUidPool(self.cluster.uid_pool, self.op.add_uids)
2731 2735

  

Also available in: Unified diff