def ReserveIp(self, net_uuid, address, _ec_id, check=True):
    if self._offline:
      raise errors.ProgrammerError("Can't call ReserveIp in offline mode")
    return self._wconfd.ReserveIp(self._GetWConfdContext(), net_uuid, address,
                                  check)
Reserve a given IPv4 address for use by an instance.
dataset/ETHPy150Open ganeti/ganeti/lib/config/__init__.py/ConfigWriter.ReserveIp