HEX
Server: LiteSpeed
System: Linux us-phx-web1284.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: u300739242 (300739242)
PHP: 8.2.30
Disabled: system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/alt/python311/lib/python3.11/site-packages/pyroute2/ndb/__pycache__/compat.cpython-311.pyc
�

�;f����d�ZdS)c��i}|j���D�]d}|���}d|d<d|d<	td�|j����|j���D����|d<np#|j���5}|�|j����td	�|D����|d<d
d
d
��n#1swxYwYYnxYw	td�|j����|j���D����|d
<np#|j���5}|�|j����td�|D����|d
<d
d
d
��n#1swxYwYYnxYw	td�|j	����|j���D����|d<no#|j	���5}|�|j���td�|D����|d<d
d
d
��n#1swxYwYYnxYw|||j<��f|S)a�Provide read-only interfaces view with IPDB layout.

    In addition to standard NDB fields provides some IPDB
    specific fields.

    The method returns a simple dict structure, no background
    updates or system changes are supported.

    Please open a ticket on the project page if you are
    missing any attribute used in your project:

    https://github.com/svinota/pyroute2/issues
    �system�
ipdb_scope��
ipdb_priorityc3�2K�|]}|j|jfV��dS�N��address�	prefixlen��.0�xs  �F/opt/alt/python311/lib/python3.11/site-packages/pyroute2/ndb/compat.py�	<genexpr>z'ipdb_interfaces_view.<locals>.<genexpr>s?��������Y���,���������index�ipaddr)�ifnamec3�2K�|]}|j|jfV��dSrr	rs  rrz'ipdb_interfaces_view.<locals>.<genexpr>"s+����>�>�!�a�i���-�>�>�>�>�>�>rNc3�$K�|]}|jV��dSrrrs  rrz'ipdb_interfaces_view.<locals>.<genexpr>&s8��������G������r)�master�portsc3�$K�|]}|jV��dSrrrs  rrz'ipdb_interfaces_view.<locals>.<genexpr>2s$����+D�+D��A�G�+D�+D�+D�+D�+D�+Drc3�$K�|]}|jV��dSr��dstrs  rrz'ipdb_interfaces_view.<locals>.<genexpr>5s8��������E������r)�ifindex�
neighboursc3�$K�|]}|jV��dSrrrs  rrz'ipdb_interfaces_view.<locals>.<genexpr>As$����0G�0G�1���0G�0G�0G�0G�0G�0Gr)
�
interfaces�dump�_as_dict�tuple�	addresses�select_recordsr�summaryrr)�ndb�ret�record�	interface�reports     r�ipdb_interfaces_viewr-s���
�C��.�%�%�'�'�1'�1'���O�O�%�%�	�"*�	�,��%&�	�/�"�	�"'����
�*�*�,�,�;�;�&�,�;�O�O����#�#�I�h����	���&�&�(�(�
�F��%�%��
�-?�%�@�@�@�&+�>�>�v�>�>�>�'�'�	�(�#�
�
�
�
�
�
�
�
�
�
�
����
�
�
�
������
	F�!&�����+�+�-�-�<�<�#)�<�=������	"�	"�I�g����	F���$�$�&�&�
F�&��%�%��
�-?�%�@�@�@�%*�+D�+D�V�+D�+D�+D�%E�%E�	�'�"�
F�
F�
F�
F�
F�
F�
F�
F�
F�
F�
F����
F�
F�
F�
F������	I�&+�����+�+�-�-�<�<�$*�L�=������	'�	'�I�l�#�#��	I���$�$�&�&�
I�&��%�%�f�l�%�;�;�;�*/�0G�0G��0G�0G�0G�*H�*H�	�,�'�
I�
I�
I�
I�
I�
I�
I�
I�
I�
I�
I����
I�
I�
I�
I������'��F�M����Js��AB�C8�&9C+�C8�+C/�/C8�2C/�3C8�<AE	�	F6�$9F)�F6�)F-�-F6�0F-�1F6�:AH�I3�"8I&�I3�&I*�*I3�-I*�.I3N)r-�rr�<module>r/s#��C�C�C�C�Cr