Commit Graph

33 Commits

Author SHA1 Message Date
Lee Smet
430b7f9a79 Remove NoRoute status for subnets
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2026-03-10 13:43:09 +01:00
Lee Smet
39c01eba41 Keep track of forwarded packets/bytes by src/dst IP
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2026-01-28 16:28:35 +01:00
Lee Smet
93dd8452a5 Add API documentation for new proxy API methods
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-09-19 11:24:40 +02:00
Lee Smet
18865a046c Fix API docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
296552230c Add topic related API methods
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
8b3e71fad8 Add NoRoute API handler to docs.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
15472959bd Fix fallback route handler operation id in api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
dd434aea75 Add queried subnets API endpoint to api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
4b44c74371 Format API docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Maxime Van Hees
959cc7fd44 Fixed operation id in API docs 2024-05-31 13:42:21 +02:00
Maxime Van Hees
2ce576093d added api endpoint to get public key associated with an IP 2024-05-31 13:42:21 +02:00
Lee Smet
e69aecceef Load peer counters from peer manager
Don't load the counters from the peer itself, since they are now also
tracked on the peer manager. Additionally, this means we don't have to
save them on the peer itself anymore.

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-03-15 15:17:51 +01:00
Lee Smet
26819c2953 Expose API method to remove existing peer
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 17:20:06 +01:00
Lee Smet
a8122f8621 Fix operationId typo for addPeer in docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 16:01:41 +01:00
Lee Smet
c26d8f8812 Expose API method to add new peer
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 15:58:00 +01:00
Lee Smet
e2d1c52231 Add get_info endpoint to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 11:45:49 +01:00
Lee Smet
aca36211ca Correct get peers path in docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 11:30:12 +01:00
Florian Klink
f1b785c42d fix some typos, update example IPs to 400:/7 subnet 2024-02-26 20:55:47 +02:00
Lee Smet
b61581d52d Add get_fallback_routes endpoint to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-26 15:48:32 +01:00
Lee Smet
38df75fd28 Add get_selected_routes endpoint to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-26 15:07:50 +01:00
Lee Smet
a24ed4f0b1 Add Route tag to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-26 12:11:17 +01:00
Lee Smet
f8bc7f976f Document get_peers method in API spec
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-23 16:08:10 +01:00
a-kenji
8fa6c830fb Fix various typos 2024-02-20 11:23:09 +01:00
Lee Smet
d1ff31b084 Clsoe #62: Make topic part of init packet
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-15 15:46:50 +01:00
Lee Smet
0444ef0dfa Update api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-03 17:32:17 +01:00
Lee Smet
aac6081e6e Add reply methods to API spec
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-02 17:46:33 +01:00
Lee Smet
7d4628a295 Fix api doc LICENSE link
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 16:12:07 +02:00
Lee Smet
d0c8a813d5 Allow long poll when reading new messages
Also unify the peek and pop handlers

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 15:45:51 +02:00
Lee Smet
def11c5a6e Make status variable of message lowercase in API
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 13:08:06 +02:00
Lee Smet
b01d7f0fb3 Allow sending messages to public keys as well
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 13:05:33 +02:00
Lee Smet
c653c6be23 Add SRC and DST IP when peeking/popping message
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 11:37:37 +02:00
Lee Smet
08db57a6a0 Update message API doc paths
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 11:05:33 +02:00
Lee Smet
94eb831227 Add initial API spec
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-26 13:54:36 +02:00