File: //lib/python3.6/site-packages/sos/cleaner/mappings/__pycache__/ipv6_map.cpython-36.opt-1.pyc
3
\��h./ � @ s6 d dl Z d dlmZ G dd� de�ZG dd� d�ZdS )� N)�SoSMapc @ sH e Zd ZdZi ZddddgZdgZdZdZd d
� Z dd� Z
ddd�ZdS )�
SoSIPv6Mapat Mapping for IPv6 addresses and networks.
Much like the IP map handles IPv4 addresses, this map is designed to take
IPv6 strings and obfuscate them consistently to maintain network topology.
To do this, addresses will be manipulated by the ipaddress library.
If an IPv6 address is encountered without a netmask, it is assumed to be a
/64 address.
z^::1/.*z::/0zfd53:.*z^53..:�534fF� c C s� d|krdS x�|d D ]|}t j|�}|d | d }| j||�}|j| j|j<