Revision 0cffcdb1 lib/cmdlib/cluster.py

b/lib/cmdlib/cluster.py
803 803
    if self.op.remove_uids:
804 804
      uidpool.CheckUidPool(self.op.remove_uids)
805 805

  
806
    if self.op.mac_prefix:
807
      self.op.mac_prefix = \
808
          utils.NormalizeAndValidateThreeOctetMacPrefix(self.op.mac_prefix)
809

  
806 810
    if self.op.master_netmask is not None:
807 811
      _ValidateNetmask(self.cfg, self.op.master_netmask)
808 812

  
......
1589 1593
    if self.op.blacklisted_os:
1590 1594
      helper_os("blacklisted_os", self.op.blacklisted_os, "blacklisted")
1591 1595

  
1596
    if self.op.mac_prefix:
1597
      self.cluster.mac_prefix = self.op.mac_prefix
1598

  
1592 1599
    if self.op.master_netdev:
1593 1600
      master_params = self.cfg.GetMasterNetworkParameters()
1594 1601
      ems = self.cfg.GetUseExternalMipScript()

Also available in: Unified diff