Allow url parameter to be a list
A list would be very handy in order to allow more URLs, in case one fails.
I think this is rather load balancer responsibility to handle failover
I've forked openwisp-config to https://github.com/BlancLoup/openwisp-config I've added redundant urls with backward compatibility, but have some issue to resolve: Only way to check url connection is curl to "curl -Is --connect-timeout 10 -k -X POST https://server/controller/register/" that returns header "X-Openwisp-Controller: true". It's hack, not solution. Perfect: url something like "https://server/controller/heartbeat/" on controller's side. NB: i have not tested yet this modification
@BlancLoup could you open a pull request marked as WIP (work in progress) please? That way it will be easier to review and track.
Remember to reference this issue by adding #15 in the description of the pull request.
@nemesisdesign can you review my pull request cause i have little experience with git?