@staticmethod
def get_floating_ip(node):
    """Get the floating ip for a vm.

        :param node: libcloud node object
        """
    for key in node.extra['addresses']:
        for network in node.extra['addresses'][key]:
            if network['OS-EXT-IPS:type'] != 'floating':
                continue
            return network['addr']
