5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-09-19 14:59:37 +00:00

Add getRoutes and getSourceSubnets

This commit is contained in:
Neil Alexander 2018-12-10 22:24:10 +00:00
parent 286fadbc80
commit 45d88b1a36
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -231,6 +231,12 @@ Returns zero or more strings containing the enabled multicast peering interfaces
If zero strings are returned then it is implied that multicast peering is not allowed on any interface. If zero strings are returned then it is implied that multicast peering is not allowed on any interface.
#### `getRoutes`
Expects no additional request fields.
Returns zero or more records where the subnet (`string`) is mapped to the public key (`string`).
#### `addRoute` #### `addRoute`
Expects: Expects:
@ -255,6 +261,12 @@ Returns:
- Zero or more successful `string` routes in the `"removed"` section - Zero or more successful `string` routes in the `"removed"` section
- Zero or more failed `string` routes in the `"not_removed"` section - Zero or more failed `string` routes in the `"not_removed"` section
#### `getSourceSubnets`
Expects no additional request fields.
Returns zero or more records for allowed crypto-key routing source subnets (`string`).
#### `addSourceSubnet` #### `addSourceSubnet`
Expects: Expects: