--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/7d5041cb-d141-46e2-b27f-23110b250a19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There's no tool already made for this use case, but you could write a script which reads the csv and for each row uses the device registration HTTP resource of openwisp-controller to register the device using the shared secret of the specific organization you want the device to register to (or have the shared secret part of the csv if you want to register devices for multiple organizations using this strategy).This is the shell code used by the openwisp-config deamon on OpenWRT to register a device:You can use this code as a guide for what you have to do in your script.I hope it helps.Federico
On Wed, Jul 10, 2019 at 5:07 AM Amit Goyal <amitg...@gmail.com> wrote:
Hi , Can someone help here ?--
On Friday, July 5, 2019 at 4:28:50 PM UTC+5:30, Amit Goyal wrote:HiI have requirement of registering AP in openwisp from backend. Client is providing AP information like name , mac address etc in csv file .We have to get all information from csv file and need to register AP using that information .Is there any API or script exist in openwisp where we can pass these information as arguments and register AP in openwisp.RegardsAmit
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open...@googlegroups.com.
Hi FedericoThanks for providing so details answer. Sure it will help me .One more query -: Can we register device only with MAC address information ? If we do device registration using HTTP resource , minimum information required is UUID and KEY or Shared_Secret .Client does want to share shared_secret due to security reason and UUID & Key is generated by Openwisp itself . Is there way we can generate UUID & Key using Device Mac Address ?