'Lists IDs and names for shared IP groups.
If details lists all details for shared IP groups.
:param       details: True if details is required
:type        details: ``bool``
:rtype: ``list`` of :class:`OpenStack_1_0_SharedIpGroup`'

def ex_list_ip_groups(self, details=False):

    uri = ('/shared_ip_groups/detail' if details else '/shared_ip_groups')
    resp = self.connection.request(uri, method='GET')
    groups = findall(resp.object, 'sharedIpGroup', self.XML_NAMESPACE)
    return [self._to_shared_ip_group(el) for el in groups]
