code: def shutdown(name, **kwargs):
      '''
      Shuts down the device.
  
      .. code-block:: yaml
  
              shut the device:
                junos:
                  - shutdown
                  - in_min: 10
  
      Parameters:
        Optional
          * kwargs:
              * reboot:
                Whether to reboot instead of shutdown. (default=False)
              * at:
                Specify time for reboot. (To be used only if reboot=yes)
              * in_min:
                Specify delay in minutes for shutdown
      '''
      ret = {'name': name, 'changes': {}, 'result': True, 'comment': ''}
      ret['changes'] = __salt__['junos.shutdown'](**kwargs)
      return ref shutdown(name, **kwargs):
      '''
      Shuts down the device.
  
      .. code-block:: yaml
  
              shut the device:
                junos:
                  - shutdown
                  - in_min: 10
  
      Parameters:
        Optional
          * kwargs:
              * reboot:
                Whether to reboot instead of shutdown. (default=False)
              * at:
                Specify time for reboot. (To be used only if reboot=yes)
              * in_min:
                Specify delay in minutes for shutdown
      '''
      ret = {'name': name, 'changes': {}, 'result': True, 'comment': ''}
      ret['changes'] = __salt__['junos.shutdown'](**kwargs)
      return ret
docs: Shuts down the device.
  
      .. code-block:: yaml
  
              shut the device:
                junos:
                  - shutdown
                  - in_min: 10
  
      Parameters:
        Optional
          * kwargs:
              * reboot:
                Whether to reboot instead of shutdown. (default=False)
              * at:
                Specify time for reboot. (To be used only if reboot=yes)
              * in_min:
                Specify delay in minutes for shutdown