code: def offline(path):
      '''
      Mark a cache storage device as offline. The storage is identified by a path
      which must match exactly a path specified in storage.config. This removes
      the storage from the cache and redirects requests that would have used this
      storage to other storage. This has exactly the same effect as a disk
      failure for that storage. This does not persist across restarts of the
      traffic_server process.
  
      .. code-block:: bash
  
          salt '*' trafficserver.offline /path/to/cache
      '''
  
      if _TRAFFICCTL:
          cmd = _traffic_ctl('storage', 'offline', path)
      else:
          cmd = _traffic_line('--offline', path)
  
      return _subprocess(cmdf offline(path):
      '''
      Mark a cache storage device as offline. The storage is identified by a path
      which must match exactly a path specified in storage.config. This removes
      the storage from the cache and redirects requests that would have used this
      storage to other storage. This has exactly the same effect as a disk
      failure for that storage. This does not persist across restarts of the
      traffic_server process.
  
      .. code-block:: bash
  
          salt '*' trafficserver.offline /path/to/cache
      '''
  
      if _TRAFFICCTL:
          cmd = _traffic_ctl('storage', 'offline', path)
      else:
          cmd = _traffic_line('--offline', path)
  
      return _subprocess(cmd)
docs: Mark a cache storage device as offline. The storage is identified by a path
      which must match exactly a path specified in storage.config. This removes
      the storage from the cache and redirects requests that would have used this
      storage to other storage. This has exactly the same effect as a disk
      failure for that storage. This does not persist across restarts of the
      traffic_server process.
  
      .. code-block:: bash
  
          salt '*' trafficserver.offline /path/to/cache