'Convert a node\'s internal hostname to a public address.  If the
hostname does not exist in ``_public_addresses``, just return the
hostname, and hope it is public.
:param IPAddress hostname: Hostname for Flocker node.
:return IPAddress: Public IP address for node.'

def public_address(self, hostname):

    return self._public_addresses.get(hostname, hostname)
