Revision b8716596 lib/cmdlib.py

b/lib/cmdlib.py
5688 5688
                                     errors.ECODE_INVAL)
5689 5689
        nic_ip = ip
5690 5690

  
5691
      # TODO: check the ip for uniqueness !!
5691
      # TODO: check the ip address for uniqueness
5692 5692
      if nic_mode == constants.NIC_MODE_ROUTED and not nic_ip:
5693 5693
        raise errors.OpPrereqError("Routed nic mode requires an ip address",
5694 5694
                                   errors.ECODE_INVAL)

Also available in: Unified diff