HEX
Server: Apache
System: Linux 162-240-236-42.bluehost.com 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
User: bt667 (1004)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //lib/python2.7/site-packages/vdo/statistics/Command.pyo
�
.�t_c@s,dZddlZdefd��YZdS(s�
  Command -- a command which is implemented as an ioctl

  $Id: //eng/vdo-releases/magnesium/src/python/vdo/statistics/Command.py#1 $
i����NtCommandcBs eZdZd�Zd�ZRS(s�
  Command represents a command which may be sent to a VDO via an ioctl.
  Commands have no return data. For ioctls which fetch statistics, use
  StatStruct.
  cCs
||_dS(sH
    :param ioctl: The numeric value of the ioctl for this command.
    N(tioctl(tselfR((s:/usr/lib/python2.7/site-packages/vdo/statistics/Command.pyt__init__"scCsOt|d��:}tj||j�}|rEtdj|���nWdQXdS(sc
    Send the command to a device.

    :param device: The name of the device on which to act.
    trsioctl failed with result {0}N(topentfcntlRt	Exceptiontformat(Rtdevicetfdtresult((s:/usr/lib/python2.7/site-packages/vdo/statistics/Command.pytact(s(t__name__t
__module__t__doc__RR(((s:/usr/lib/python2.7/site-packages/vdo/statistics/Command.pyRs	(RRtobjectR(((s:/usr/lib/python2.7/site-packages/vdo/statistics/Command.pyt<module>s