%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/openstack_designate.cpython-312.pyc

�

i��d���^�ddlmZmZmZGd�de�ZGd�dee�ZGd�dee�Zy)	�)�Plugin�RedHatPlugin�UbuntuPluginc�(�eZdZdZdZdZdZd�Zd�Zy)�OpenStackDesignatezOpenstack Designate�openstack_designate)�	openstack�openstack_controllerz//var/lib/config-data/puppet-generated/designatec�&�|jd|jd�d��|jd|jdz|jdzg�|j	d�r|jd	d
g�n|jddg�gd
�}|j|D�cgc]}d|z��	c}�d}|j|�}|ddk(rB|dj
�D]+}|j�d}|jd|zd���-yycc}w)Nz6designate-manage pool generate_file --file /dev/stdoutz.*designate_centralz&openstack_designate_current_pools.yaml)�	container�suggest_filename�/etc/designate/*z/etc/designate/designate.confz/etc/designate/pools.yaml�all_logsz/var/log/designate/*z/var/log/containers/designate/*z/var/log/designate/*.logz#/var/log/containers/designate/*.log)zdns service listzdns quota listzptr record listztld listz<tsigkey list --column name --column algorithm --column scopezzone blacklist listzzone export listzzone import listz	zone listzzone transfer accept listzzone transfer request listzopenstack %s --all-projectsz"openstack zone list -f value -c id�statusr�outputz*openstack recordset list --all-projects %s�	recordset)�subdir)�add_cmd_output�get_container_by_name�
add_copy_spec�var_puppet_gen�
get_option�exec_cmd�
splitlines�split)�self�subcmds�sub�cmd�ret�zones      �H/usr/lib/python3/dist-packages/sos/report/plugins/openstack_designate.py�setupzOpenStackDesignate.setupsH��	
���D��0�0�1F�G�E�	�	
�	
�������"A�A����"=�=�
�	��?�?�:�&����&�1� �
�

���*�5� �
�

��	
���;B�
�47�)�C�/�
�	�
3���m�m�C� ���x�=�A���H�
�0�0�2�
(���z�z�|�A����#�#�@�4�G�&�$�(�
(���
s�Dc��gd�}ddj|�z}|jd|d�|j|jdz|d�y)N)�password�
connection�
transport_url�admin_password�ssl_key_password�ssl_client_key_password�memcache_secret_keyz(^\s*(%s)\s*=\s*)(.*)�|rz\1*********)�join�do_path_regex_subr)r�protect_keys�regexps   r"�postproczOpenStackDesignate.postprocNsS��
��
*�C�H�H�\�,B�B�����1�6�>�J�������"4�4��N�	
�N)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesrr#r1�r2r"rrs!��&�J�'�K�4�H�F�N�7(�r
r2rc��eZdZdZy)�RedHatdesignate)zopenstack-selinuxN�r3r4r5�packagesr9r2r"r;r;]s��%�Hr2r;c��eZdZdZy)�Ubuntudesignate)zdesignate-commonNr<r9r2r"r?r?bs��$�Hr2r?N)�sos.report.pluginsrrrrr;r?r9r2r"�<module>rAs;��B�A�N
��N
�b&�(�,�&�
%�(�,�%r2

Zerion Mini Shell 1.0