Commit 01e0a111 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Added the set-scheduling and get-scheduling requests. The current

implementation only supports priority==0 and weight==1.  Test suite
improvement.  Minor doc fixes.  Changed status of set-keep-commented
from experimental to recommended.  Clarify the description of
get-stats-description and get-stats.
parent 3047a07f
2003-08-14 Per Cederqvist <ceder@ceder.dyndns.org>
Added the set-scheduling and get-scheduling requests. The current
implementation only supports priority==0 and weight==1.
* doc/Protocol-A.texi (Session Information): Added Scheduling-Info.
(get-scheduling): New request.
(set-scheduling): New request.
(Error Codes): Added priority-denied, weight-denied and
weight-zero.
* src/server/prot-a.c (prot_a_reply): Handle rt_scheduling_info.
* src/server/prot-a-output.h, src/server/prot-a-output.c
(prot_a_output_scheduling_info): New function.
* src/server/fncdef.txt: Added get_scheduling and set_scheduling.
* src/server/connections.h (enum res_type): Added
rt_scheduling_info.
(union result_holder): Added scheduling_info.
* src/server/connections.c (get_scheduling): New request.
(may_change_scheduling): New static function.
(set_scheduling): New request.
* src/include/services.h (set_scheduling): New request.
(get_scheduling): New request.
* src/include/kom-types.h (Scheduling_info): New struct.
* src/include/kom-errno.h (enum kom_err): Added
KOM_PRIORITY_DENIED, KOM_WEIGHT_DENIED and KOM_WEIGHT_ZERO.
* src/server/testsuite/lyskomd.0/01.exp: Test get-scheduling and
set-scheduling.
* src/server/testsuite/lyskomd.0/03.exp: Ditto.
Test suite improvement.
* src/server/testsuite/Makefile.am
(../../libraries/adns/client/adnshost): New target.
(site.exp): Depend on adnshost, so that "make check" works even if
"make check" has not been run in the adns directory.
Minor doc fixes.
* doc/lyskomd.texi (Parameters): Document the default value of
"Low penalty". Removed some text that was left behind a
cut-n-paste operation.
(Adding a New Protocol Request): Added a CHK_CONNECTION call to
the example.
Changed status of set-keep-commented from experimental to
recommended.
* doc/Protocol-A.texi (Protocol Requests): Changed the status of
set-keep-commented from experimental to recommended.
(set-keep-commented): Ditto.
Clarify the description of get-stats-description and get-stats.
* doc/Protocol-A.texi (get-stats-description): State that this
always returns the same during a session, so clients can cache
this value aggressively.
(get-stats): Elaborate on the access-denied error code.
2003-08-13 Per Cederqvist <ceder@ceder.dyndns.org> 2003-08-13 Per Cederqvist <ceder@ceder.dyndns.org>
Use AM_PATH_PYTHON to find the Python interpreter. (Bug 329). Use AM_PATH_PYTHON to find the Python interpreter. (Bug 329).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment