HEX
Server: LiteSpeed
System: Linux shams.tasjeel.ae 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: infowars (1469)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //usr/lib/python3.9/site-packages/ipaclient/plugins/__pycache__/topology.cpython-39.opt-1.pyc
a

}�f��@s\ddlZddlmZddlmZddlmZejr6eZ	e�Z
e
ddd�Gdd�de��ZdS)	�N)�MethodOverride)�Registry)�_T)�overrideZno_failc@seZdZdd�ZdS)�topologysuffix_verifycOs6|dd}|dd}|s>|s>td�}|�|d|di�|r�td�}|�|d|di�|�ttd���|D]2}td	�}	|	|dd
�|d�d�}	|�|	�qv|�r2|�ttd
���|�ttd��|ddg�|D]L}td�}	|	|dt|d�d�}	|�|	�|dD]}
|�|
d��qq�dS)N�result�connect_errors�max_agmts_errorsz8Replication topology of suffix "%(suffix)s" is in order.�suffixrz<Replication topology of suffix "%(suffix)s" contains errors.zTopology is disconnectedz2Server %(srv)s can't contact servers: %(replicas)sz, �)�srvZreplicasz=Recommended maximum number of agreements per replica exceededz(Maximum number of agreements per replicaZ	max_agmtsz3Server "%(srv)s" has %(n)d agreements with servers:�)r�n)rZprint_h1Zprint_dashed�unicode�joinZprint_indentedZprint_attribute�len)�selfZtextui�output�args�optionsrr	�header�err�msgZreplica�r�>/usr/lib/python3.9/site-packages/ipaclient/plugins/topology.py�output_for_clis4
�
z$topologysuffix_verify.output_for_cliN)�__name__�
__module__�__qualname__rrrrrrsr)ZsixZipaclient.frontendrZipalib.plugablerZipalibrZPY3�strr�registerrrrrr�<module>s