imip-agent

Annotated imiptools/handlers/scheduling/manifest.py

1039:a12150034cbd
2016-02-08 Paul Boddie Added a journal storage area, maintaining quota and collective scheduling data for scheduling decisions. Introduced confirmation and retraction functions for resource scheduling so that quotas and collective schedules can be maintained and thus queried by scheduling functions. Updated the documentation, tools and tests.
paul@1039 1
confirmation_functions = {}
paul@1039 2
retraction_functions = {}
paul@1028 3
scheduling_functions = {}
paul@1039 4
paul@1039 5
from imiptools.handlers.scheduling.quota import (
paul@1039 6
    confirmation_functions as c,
paul@1039 7
    retraction_functions as r,
paul@1039 8
    scheduling_functions as s)
paul@1039 9
paul@1039 10
confirmation_functions.update(c)
paul@1039 11
retraction_functions.update(r)
paul@1039 12
scheduling_functions.update(s)
paul@1039 13
paul@1039 14
from imiptools.handlers.scheduling.freebusy import (
paul@1039 15
    confirmation_functions as c,
paul@1039 16
    retraction_functions as r,
paul@1039 17
    scheduling_functions as s)
paul@1039 18
paul@1039 19
confirmation_functions.update(c)
paul@1039 20
retraction_functions.update(r)
paul@1039 21
scheduling_functions.update(s)
paul@1039 22
paul@1039 23
from imiptools.handlers.scheduling.access import (
paul@1039 24
    confirmation_functions as c,
paul@1039 25
    retraction_functions as r,
paul@1039 26
    scheduling_functions as s)
paul@1039 27
paul@1039 28
confirmation_functions.update(c)
paul@1039 29
retraction_functions.update(r)
paul@1039 30
scheduling_functions.update(s)
paul@1039 31