I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 275ae36c authored by zzz's avatar zzz
Browse files

prop 150 updates

parent 0576e4dd
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ Garlic Farm Protocol ...@@ -5,7 +5,7 @@ Garlic Farm Protocol
:author: zzz :author: zzz
:created: 2019-05-02 :created: 2019-05-02
:thread: http://zzz.i2p/topics/2234 :thread: http://zzz.i2p/topics/2234
:lastupdated: 2019-05-17 :lastupdated: 2019-05-20
:status: Open :status: Open
.. contents:: .. contents::
...@@ -396,7 +396,7 @@ SnapshotSyncRequest 5 ...@@ -396,7 +396,7 @@ SnapshotSyncRequest 5
Application Application
~~~~~~~~~~~ ~~~~~~~~~~~
Application contents are UTF-8 encoded JSON. Application contents are UTF-8 encoded [JSON]_.
See the Application Layer section below. See the Application Layer section below.
...@@ -541,7 +541,7 @@ The publisher of the Meta LS2 is NOT necessarily the Raft Leader. ...@@ -541,7 +541,7 @@ The publisher of the Meta LS2 is NOT necessarily the Raft Leader.
Application Data Contents Application Data Contents
------------------------- -------------------------
Application contents are UTF-8 encoded JSON, Application contents are UTF-8 encoded [JSON]_,
for simplicity and extensibility. for simplicity and extensibility.
The full specification is TBD. The full specification is TBD.
The goal is to provide enough data to write an algorithm to determine the "best" The goal is to provide enough data to write an algorithm to determine the "best"
...@@ -557,22 +557,32 @@ The data may optionally contain configuration information posted ...@@ -557,22 +557,32 @@ The data may optionally contain configuration information posted
by an administrator client. by an administrator client.
These data would not be supported in the first release. These data would not be supported in the first release.
If "name: value" is listed, that specifies the JSON map key and value.
Otherwise, specification is TBD.
Config data (top level):
Cluster data (top level):
- cluster: Cluster name - cluster: Cluster name
- date: Date of this data (long, ms since the epoch) - date: Date of this data (long, ms since the epoch)
- id: Raft ID (integer) - id: Raft ID (integer)
MetaInfo publishing status (meta): Configuration data (config):
- Any configuration parameters
MetaLS publishing status (meta):
- Publisher status off/on - destination: the metals destination, base64
- Publisher request never/yes/force-on - lastPublishedLS: if present, base64 encoding of the last published metals
- lastPublishedTime: in ms, or 0 if never
- publishConfig: Publisher config status off/on/auto
- publishing: metals publisher status boolean true/false
Router data (router): Router data (router):
- Current router info - lastPublishedRI: if present, base64 encoding of the last published router info
- Uptime - uptime: Uptime in ms
- Job lag - Job lag
- Exploratory tunnels - Exploratory tunnels
- Participating tunnels - Participating tunnels
...@@ -584,8 +594,8 @@ List ...@@ -584,8 +594,8 @@ List
Destination data: Destination data:
- Full destination - destination: the destination, base64
- Uptime - uptime: Uptime in ms
- Configured tunnels - Configured tunnels
- Current tunnels - Current tunnels
- Configured bandwidth - Configured bandwidth
...@@ -617,11 +627,6 @@ Meta LS sensing data: ...@@ -617,11 +627,6 @@ Meta LS sensing data:
- Closest floodfills profile data - Closest floodfills profile data
for time periods yesterday, today, and tomorrow for time periods yesterday, today, and tomorrow
Admin data:
- Raft parameters?
- TBD
Administration Interface Administration Interface
======================== ========================
...@@ -692,6 +697,9 @@ References ...@@ -692,6 +697,9 @@ References
.. [JRAFT] .. [JRAFT]
https://github.com/datatechnology/jraft https://github.com/datatechnology/jraft
.. [JSON]
https://json.org/
.. [RAFT] .. [RAFT]
https://ramcloud.stanford.edu/wiki/download/attachments/11370504/raft.pdf https://ramcloud.stanford.edu/wiki/download/attachments/11370504/raft.pdf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment