Comment 6 for bug 1736050

Revision history for this message
Tim Penhey (thumper) wrote :

If there are no spaces, nor bindings specified, juju should report the address that would be used to contact the API servers.

This has been done in python by opening a UDP socket to the server, and looking at the client IP address, then closing the socket. Since it is a UDP socket, there is no traffic, just a file handle that is released quickly.