You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`lon`: (required, number) longitude in degrees, range [-180,180], EPSG:3857.
48
48
*`elev`: (optional, number) elevation in meters above mean sea level.
49
49
*`aliases`: (optional, array): each element is an object with the following keys:
50
+
*`type`: (required, string) this value may, for example, describe the routing protocol where the router is known under this alias, see the [example](#json-example) below.
50
51
*`alias`: (required, string): alias name under which the router is known (for example in OLSR- or BATMAN-networks). Note that MAC-addresses or other information may be stored here. You may want to use a hash of MAC-addresses for privacy reasons. If you do that, just make sure that the same hash function is used for the `links`, see below.
51
-
*`type`: (optional, string) this value may, for example, describe the routing protocol where the router is known under this alias, see the [example](#json-example) below.
52
52
*`links`: (optional, array) each element is an object with the following keys:
53
-
*`alias`: (required, string) an alias name of the remote router.
54
-
*`type`: (optional, string) the alias type of the remote router, see `aliases` above.
53
+
*`type`: (required, string) the alias type of the remote router, see `aliases` above.
54
+
*`alias_local`: (required, string) an alias name of this router (the `alias`-`type` pair should also be contained in the `aliases` field).
55
+
*`alias_remote`: (required, string) an alias name of the remote router.
55
56
*`quality`: (optional, number) quality of the link, in range [0, 1] where 0 is the poorest and 1 is the best link quality.
56
57
*`attributes`: (optional, object) you may store arbitrary information for a link here, e.g. link information that depends on the routing protocol (like LQ, NLQ and ETX values in OLSR).
57
58
*`site`: (optional, string) a site this router belongs to, e.g. `"roof town hall"`.
0 commit comments