def _get_ids_from_ip(self, ip_address):
        try:
            # Does it look like an ip address?
            socket.inet_aton(ip_address)
        except socket.error:
            return []

        # Find the VS via ip address. First try public ip, then private
        results = self.list_instances(public_ip=ip_address, mask="id")
        if results:
            return [result['id'] for result in results]

        results = self.list_instances(private_ip=ip_address, mask="id")
        if results:
            return [result['id'] for result in results]
Convenience method for logging an ERROR with exception information.
dataset/ETHPy150Open softlayer/softlayer-python/SoftLayer/managers/vs.py/VSManager._get_ids_from_ip--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/__init__.py/Logger.exception