code: def _get_ids_from_ip(self, ip_address):  # pylint: disable=inconsistent-return-statements
          
          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]
docs: List VS ids which match the given ip address.