mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
As mentioned in a previous commit: python3 ipaddress behave differently from python2-ipaddr, this is a serious problem for us since it breaks most of the ip addresses code. >>> import ipaddress >>> ipaddress.ip_network("10.10.10.242/10", False) IPv4Network('10.0.0.0/10') This is a problem for us, so we need to use a custom IPNetwork object. Our custom IPNetwork object uses ipaddress.IPAddress under the hood Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>