'Lists all namespace objects.
For a full list of available parameters, please refer to the official
API reference:
http://developer.openstack.org/api-ref/image/v2/metadefs-index.html#list-objects'

def list_namespace_objects(self, namespace, **kwargs):

    url = ('metadefs/namespaces/%s/objects' % namespace)
    if kwargs:
        url += ('?%s' % urllib.urlencode(kwargs))
    (resp, body) = self.get(url)
    self.expected_success(200, resp.status)
    body = json.loads(body)
    return rest_client.ResponseBody(resp, body)
