Exemple #1
0
def agent_info(**kwargs):
    ''' Get information for the specified agent '''
    required = {'agent_id': 'agentId'}
    optional = {}

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='agentInfo', **req_args)
Exemple #2
0
def get_jobs(**kwargs):
    ''' Get jobs for the specified custom agent '''
    required = {'agent_id': 'agentId'}
    optional = {}

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='getJobs', **req_args)
Exemple #3
0
def agent_info(**kwargs):
    ''' Get information for the specified agent '''
    required = {'agent_id': 'agentId'}
    optional = {}

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='agentInfo', **req_args)
Exemple #4
0
def get_jobs(**kwargs):
    ''' Get jobs for the specified custom agent '''
    required = {'agent_id': 'agentId'}
    optional = {}

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='getJobs', **req_args)
Exemple #5
0
def get_agents(**kwargs):
    ''' Get user's custom agents '''
    required = {}
    optional = {'load_tests': 'loadTests', 'load_params': 'loadParams',
                'type': 'type'}

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='getAgents', **req_args)
Exemple #6
0
def get_agents(**kwargs):
    ''' Get user's custom agents '''
    required = {}
    optional = {
        'load_tests': 'loadTests',
        'load_params': 'loadParams',
        'type': 'type'
    }

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='getAgents', **req_args)