Feature #1784
closed
New Insert Protocol: Watching prefix
Added by Weiqi Shi over 11 years ago.
Updated over 8 years ago.
Description
‘Watching Prefix’ is a new protocol for repo insertion. Under this protocol, repo will keep sending interest to request the data with same prefix but with different exclude selectors(updated every time). Repo will stop watching the prefix until a command interest tell it to stop, the total amount of sent interests reaches a specific number or time out.
Files
The attachment is the protocol design.
- Blocks Feature #1791: ndnwatchfile: Tool to execute repo watch protocol added
Few comments to change Watched Prefix Insertion Protocol
Split command verb into module and verb. This way we will be able to define commands in more consistent way:
- start as
/ucla/cs/repo/watch/start/...
- check as
/ucla/cs/repo/watch/check/...
- stop as
/ucla/cs/repo/watch/stop/... (stop definition is missing right now)
I would suggest the same change in repo protocol in general, but this can deferred to later.
You cannot use negative numbers anywhere in definitions. All our numbers are nonNegativeInteger. If needed, use 0 as indicator of infinity (though it should be handled properly).
Instead of "Formats" section, define RepoCommandParameters for each of the commands (start, check, stop).
Why do you need WatchStatus parameter? If it is used just a flag, then it is not necessary. Name of the commands already defines what this command is for.
The redundant parameter component WatchStatus is removed and wiki has been updated.
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
- Tracker changed from Task to Feature
Also available in: Atom
PDF