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

Create new Device This api returns a 501 error (501 Not Implemented ) #19

Open
alistaitsacle opened this issue Feb 5, 2022 · 9 comments

Comments

@alistaitsacle
Copy link

Create new Device This api returns a 501 error (501 Not Implemented),other api tests are correct

@linny006
Copy link

linny006 commented Feb 5, 2022

The test reports the same error, I don't see useful log information.

@suquant
Copy link
Owner

suquant commented Feb 5, 2022

@alistaitsacle @linny006 Hey Guys,

Unfortunately, at this time the only unimplemented thing in wgrest is to create a device API endpoint.
There is one reason why is that the IP addresses management part (attach/detach) to the interface should be implemented in a cross-platform way. Meanwhile, I am happy to see PR if you have an idea how to do so.

@BitHeaven-Official
Copy link

@suquant implement it on Linux, and when you figure it out, write cross-platform code

@BitHeaven-Official
Copy link

or you can try to write different code for each system like in C++ (don't know how golang works)

@suquant
Copy link
Owner

suquant commented Mar 16, 2022

@BitHeaven-Official Yes, it's one of the ways. I think it will fix the issue at least for Linux through the NetLink module.

@BitHeaven-Official
Copy link

how soon will you implement this feature under linux?

@BitHeaven-Official
Copy link

that very important feature

@kolesaev
Copy link

@alistaitsacle @linny006 Hey Guys,

Unfortunately, at this time the only unimplemented thing in wgrest is to create a device API endpoint. There is one reason why is that the IP addresses management part (attach/detach) to the interface should be implemented in a cross-platform way. Meanwhile, I am happy to see PR if you have an idea how to do so.

Is it possible that you could find an answer in this repo?
https://github.com/freifunkMUC/wg-embed/tree/master/pkg/wgembed

@OnlyReFLeX
Copy link

Any solutions for that?

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

No branches or pull requests

6 participants