HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/Constants.cpython-36.pyc
3

�nd��@sZdZddlmZddlmZddlmZddlmZddlZejd�Gdd	�d	e�Z	dS)
zs
  Constants - manage VDO constants.

  $Id: //eng/vdo-releases/aluminum/src/python/vdo/vdomgmnt/Constants.py#1 $

�)�absolute_import)�division)�print_function)�unicode_literalsNZvdomgmntc@s6eZdZdZdZdZdZedd�edd��\Z	Z
ZZZ
Zd	Zd
ZdZdZd
ZdZdZdZeZdZeeeeeeegZeeede	e
eee
eg��Zeeeed�ed�ed�ed�ed�ed�ed�g��ZegeZeeiZ e j!e�eed�iZ"e"j!e�dZ#dZ$e#e$gZ%dZ&dZ'dZ(dZ)Gd d!�d!�Z*e+d"d#��Z,d$S)%�	Constantsz"Constants manages constant values.z
/var/lock/vdoiicCsdd|S)N��
�)�xr	r	�/usr/lib/python3.6/Constants.py�<lambda>&szConstants.<lambda>���b�k�m�g�t�p�e�sZ	megabyteszB(ytes)zK(ilobytes)zM(egabytes)zG(igabytes)zT(erabytes)zP(etabytes)z
E(xabytes)z	S(ectors)�disabled�enabled��errorZonlineZopeningc@s$eZdZdZdZdZdZdZdZdS)zConstants.dmsetupStatusFieldsr
����rN)	�__name__�
__module__�__qualname__ZsectorCountZ
storageDeviceZ	modeStateZ
inRecoveryZdeduplicationStatusZcompressionStatusr	r	r	r�dmsetupStatusFieldsQsr"cCs|r
|jS|jS)N)rr)�cls�valuer	r	r�enableStringYszConstants.enableStringN)-rr r!�__doc__ZLOCK_DIRZSECTOR_SIZEZVDO_BLOCK_SIZE�map�rangeZKBZMBZGBZTBZPBZEBZ
lvmByteSuffixZ
lvmKiloSuffixZ
lvmMegaSuffixZ
lvmGigaSuffixZ
lvmTeraSuffixZ
lvmPetaSuffixZlvmExaSuffixZlvmSectorSuffixZlvmDefaultSuffixZlvmDefaultUnitsTextZ
lvmSiSuffixes�dict�zipZlvmSiSuffixSizeMap�_ZlvmSiSuffixTextMapZlvmSuffixesZlvmSuffixSizeMap�updateZlvmSuffixTextMaprrZ
enableChoicesZDEDUPLICATION_TIMEOUTZdeduplicationStatusErrorZdeduplicationStatusOnlineZdeduplicationStatusOpeningr"�classmethodr%r	r	r	rr!sP 



r)
r&Z
__future__rrrr�gettextZinstall�objectrr	r	r	r�<module>s