tempest/services/orchestration/json/orchestration_client.py
def list_events(self, stack_name, stack_identifier, region):
        """Returns list of all events for a stack."""
        url = 'stacks/{stack_name}/{stack_identifier}/events'.format(**locals())
        resp, body = self.get(url, region)
        if resp['status'] == '200':
            body = json.loads(body)
            return resp, body['events']
        else:
            return resp, body
Returns list of all events for a stack.
Returns list of all events for a stack.
Returns list of all events for a stack .
def list_events(self, stack_name, stack_identifier, region):
        url = 'stacks/{stack_name}/{stack_identifier}/events'.format(**locals())
        resp, body = self.get(url, region)
        if resp['status'] == '200':
            body = json.loads(body)
            return resp, body['events']
        else:
            return resp, body
def list_events ( self , stack_name , stack_identifier , region ) : url = 'stacks/{stack_name}/{stack_identifier}/events' . format ( ** locals ( ) ) resp , body = self . get ( url , region ) if resp [ 'status' ] == '200' : body = json . loads ( body ) return resp , body [ 'events' ] else : return resp , body
Returns list of all events for a stack.
Returns list of all events for a stack .
"""Returns list of all events for a stack."""
self
stack_name
stack_identifier
region