mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
python3: ipaddress is now part of the standard library (removing python-ipaddr)
IPNetwork doesn't exists anymore and is replaced by ip_network. IPv?Network (4 and 6) objects take an optional argument "strict" that defaults to True. If strict is set and the ip address has the host bit set it will raise an exception. This is bad for ifupdown2, so we need to replace all calls to IPNetwork and IPv?Network with function who will set strict to False. That way we can limit the number of changes for this patch. Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
2
debian/control
vendored
2
debian/control
vendored
@@ -17,7 +17,7 @@ Architecture: all
|
||||
Provides: ifupdown
|
||||
Conflicts: ifupdown
|
||||
Replaces: ifupdown
|
||||
Depends: ${python:Depends}, ${misc:Depends}, iproute2, python-argcomplete, python-ipaddr
|
||||
Depends: ${python:Depends}, ${misc:Depends}, iproute2, python3-argcomplete
|
||||
Suggests: isc-dhcp-client, bridge-utils, ethtool, python-gvgen, python-mako
|
||||
Description: Network Interface Management tool similar to ifupdown
|
||||
ifupdown2 is ifupdown re-written in Python. It replaces ifupdown and provides
|
||||
|
Reference in New Issue
Block a user