Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

babel: add API route to ip assignment that returns all IPs based on one IP of the node #77

Open
Noki opened this issue Jul 20, 2022 · 2 comments

Comments

@Noki
Copy link
Member

Noki commented Jul 20, 2022

An automatic migration path from OLSR to babel requires a way to automatically determine IPv6 IPs assigned to nodes so they can be added to nodes that are currently IPv4 only. This issue depends on #76 and #75 .

@nicolasberens
Copy link
Contributor

Random thoughts:

we might need the following endpoints:

request_ip:
receives the data that user enters into the wizard, returns a token, sends email to user to validate

check_nodename:
receives the name of the node, returns if its available (so that we can check if the name is available while typing)

get_ip:
router can query this endpoint with its token, when email was validated the endpoint returns the configuration

@Akira25
Copy link
Member

Akira25 commented Apr 4, 2024

As already mentioned on the meeting at c-base, I started by writing a self-documentory API:

https://github.com/freifunk-berlin/config.berlin.freifunk.net-API/tree/main

The current specification file is attached below. We might tweak it more to fit the requirements named by you, though.
openapi.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

3 participants