tempest/services/orchestration/json/orchestration_client.py
def list_stacks(self, region, params=None):
        """Lists all stacks for a user."""

        uri = 'stacks'
        if params:
            uri += '?%s' % urllib.urlencode(params)
        resp, body = self.get(uri, region)
        if resp['status'] == '200':
            body = json.loads(body)
            return resp, body['stacks']
        else:
            return resp, body
Lists all stacks for a user.
Lists all stacks for a user.
Lists all stacks for a user .
def list_stacks(self, region, params=None):
        uri = 'stacks'
        if params:
            uri += '?%s' % urllib.urlencode(params)
        resp, body = self.get(uri, region)
        if resp['status'] == '200':
            body = json.loads(body)
            return resp, body['stacks']
        else:
            return resp, body
def list_stacks ( self , region , params = None ) : uri = 'stacks' if params : uri += '?%s' % urllib . urlencode ( params ) resp , body = self . get ( uri , region ) if resp [ 'status' ] == '200' : body = json . loads ( body ) return resp , body [ 'stacks' ] else : return resp , body
Lists all stacks for a user.
Lists all stacks for a user .
"""Lists all stacks for a user."""
self
region
params