HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/ipaclient/plugins/__pycache__/topology.cpython-36.opt-1.pyc
3

�d[e��@s\ddlZddlmZddlmZddlmZejr6eZ	e�Z
e
ddd�Gdd�de��ZdS)	�N)�MethodOverride)�Registry)�_T)�overrideZno_failc@seZdZdd�ZdS)�topologysuffix_verifycOsF|dd}|dd}|rB|rBtd�}|j|d|di�|r�td�}|j|d|di�|jttd���x:|D]2}td	�}	|	|dd
j|d�d�}	|j|	�q|W|�rB|jttd
���|jttd��|ddg�xX|D]P}td�}	|	|dt|d�d�}	|j|	�x|dD]}
|j|
d��q(Wq�WdS)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�argsZoptionsrr	�header�err�msgZreplica�r�/usr/lib/python3.6/topology.py�output_for_clis2



z$topologysuffix_verify.output_for_cliN)�__name__�
__module__�__qualname__rrrrrrsr)ZsixZipaclient.frontendrZipalib.plugablerZipalibrZPY3�strr�registerrrrrr�<module>s