ietf-wg-ppm / draft-ietf-ppm-dap

This document describes the Distributed Aggregation Protocol (DAP) being developed by the PPM working group at IETF.
Other
46 stars 22 forks source link

Make task start time & end time both optional. #634

Open branlwyd opened 2 weeks ago

branlwyd commented 2 weeks ago

Currently, tasks have two parameters specifying the time interval in which the task is "valid": task_start and task_duration. Since the end time of the task is determined by task_start + task_duration, if the task has and end time it must also have a start time.

I think it would be better if both the start & end times were, independently, optional. So a task could have neither, either, or both of these parameters specified.

One way to do this would be to directly specify task_start and task_end, and specify that these parameters are optional. I believe we avoided specifying things this way previously to avoid a validity check (task_end >= task_start), but IMO allowing these parameters to be optional is more important.