def _configure_device(commands, **kwargs):
    '''
    Helper function to send configuration commands to the device over a
    proxy minion or native minion using NX-API or SSH.
    '''
    if salt.utils.platform.is_proxy():
        return __proxy__['nxos.proxy_config'](commands, **kwargs)
    else:
        return _nxapi_config(commands, **kwargs)
def _configure_device ( commands , ** kwargs ) : if salt . utils . platform . is_proxy ( ) : return __proxy__ [ 'nxos.proxy_config' ] ( commands , ** kwargs ) else : return _nxapi_config ( commands , ** kwargs )
Helper function to send configuration commands to the device over a
    proxy minion or native minion using NX-API or SSH.