Support communicating with Xen API over TLS (#85)
This commit adds two new config flags:
remote_url: url to use when connecting to the Xen API (defaults tohttp://{remote_host})remote_url_tls_skip_verify: disables certificate verification forremote_url
I've added the second option because we are using self-signed certs on some of our our Xen servers (there are plans to fix this soon), but it could also be useful for others during testing/evaluation.
@chqr - thanks for the PR.
Rather than make the user specify the full URL, do you not just need to be able to configure between using HTTP/HTTPS? I think having a protocol value default to HTTP which can be overiden might be nice from a config perspective. What do you think?
@rdobson You are right, since there is existing configuration option called remote_host, remote_protocol probably makes more sense