code: 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, **kwargsf _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)
docs: Helper function to send configuration commands to the device over a
      proxy minion or native minion using NX-API or SSH.