|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /opt/alt/python37/lib/python3.7/site-packages/clpackages/__pycache__/ |
Upload File : |
B
�cv% � @ s� d dl mZ d dl mZ d dlZd dlZd dlmZ d dlmZ d dl m
Z
mZ d dlm
Z
mZmZ dd lmZ d d
lmZ d dlmZ d dlmZmZmZ d d
lmZ G dd� de�ZdS )� )�print_function)�absolute_importN)� iteritems)�CloudlinuxLicenseLib)�print_dictionary�replace_params)�
ClQuotaLib�QuotaDisabledException�ClQuotaException� )�parse_cloudlinux_packages_opts)�
LveCtlPackage)�LvectlException)�DEFAULT_PACKAGE�is_active_reseller_limits�lve)�is_adminc @ sT e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Z ddd�Z
ddd�ZdS )�CloudlinuxPackagesz4
Class for run cloudlinux-packages commands
c C s8 d| _ t� | _t� | _t� | _dddddddd g| _d S )
NF�speed�nproc�pmem�vmem�
maxEntryProcs�io�iops�inodes)�_is_json�dict�_optsr
�_lvectl_pack_libr �_clquota_pack_lib�_LIMITS_KEYS)�self� r# �D/opt/alt/python37/lib/python3.7/site-packages/clpackages/packages.py�__init__"