%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/cleaner/parsers/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/cleaner/parsers/__pycache__/ipv6_parser.cpython-312.pyc

�

i��d	��2�ddlmZddlmZGd�de�Zy)�)�SoSCleanerParser)�
SoSIPv6Mapc�B��eZdZdZdZdZdgZddgZdZ�fd�Z	d	�Z
�xZS)
�
SoSIPv6Parserz/Parser for handling IPv6 networks and addresseszIPv6 Parser�ipv6_mapz�(?<![:\\.\\-a-z0-9])((([0-9a-f]{1,4})(:[0-9a-f]{1,4}){7})|(([0-9a-f]{1,4}(:[0-9a-f]{0,4}){0,5}))([^.])::(([0-9a-f]{1,4}(:[0-9a-f]{1,4}){0,5})?))(/\d{1,3})?(?![:\\a-z0-9])zetc/dnsmasq.conf.*z.*modinfo.*Fc�J��t�|_tt|�|�y)N)r�mapping�superr�__init__)�self�config�	__class__s  ��A/usr/lib/python3/dist-packages/sos/cleaner/parsers/ipv6_parser.pyrzSoSIPv6Parser.__init__&s���!�|���
�m�T�+�F�3�c�N�|jjid�}|jjD]r}|jj|}|jid�|d|j<|j
D])}|j
|}||d|jd|<�+�t|S)zsStructure the dataset contents properly so that they can be reloaded
        on subsequent runs correctly.
        )�version�networks)�
obfuscated�hostsrr)r	rr�obfuscated_address�original_addressr)r�_d�net�_net�host�_ob_hosts      r�get_map_contentszSoSIPv6Parser.get_map_contents*s���
�|�|�+�+��
���<�<�(�(�	P�C��<�<�(�(��-�D�"�5�5��5�B�z�N�4�0�0�1��
�
�
P���:�:�d�+��GO��:��t�4�4�5�g�>�t�D�
P�
	P��	r)�__name__�
__module__�__qualname__�__doc__�name�map_file_key�regex_patterns�
skip_files�compile_regexesrr�
__classcell__)rs@rrrs<���9��D��L�	?��N�	���J��O�4�rrN)�sos.cleaner.parsersr�sos.cleaner.mappings.ipv6_maprr�rr�<module>r+s��1�4�-�$�-r

Zerion Mini Shell 1.0