Open alistaitsacle opened 2 years ago
The test reports the same error, I don't see useful log information.
@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.
@suquant implement it on Linux, and when you figure it out, write cross-platform code
or you can try to write different code for each system like in C++ (don't know how golang works)
@BitHeaven-Official Yes, it's one of the ways. I think it will fix the issue at least for Linux through the NetLink module.
how soon will you implement this feature under linux?
that very important feature
@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
Any solutions for that?
Create new Device This api returns a 501 error (501 Not Implemented),other api tests are correct