def _set_config(xpath, element):
    '''
    Sends a set request to the device.

    '''
    query = {'type': 'config',
             'action': 'set',
             'xpath': xpath,
             'element': element}

    response = __proxy__['panos.call'](query)

    return _validate_response(response)
Sends a set request to the device.