Closed roaet closed 11 years ago
My flake8 is broken. Please wait before PR.
Alright. tox passed.
Merge conflict after Stones' patch
I'll fix the conflicts. Damn you stooooooones.
Tox werkz.
Used DEFAULT_ROUTE as per @asadoughi
LGTM, waiting for travis-ci. It's good that you used IPNetwork.value because that makes it version-agnostic.
>>> a = netaddr.IPNetwork("0.0.0.0/0")
>>> b = netaddr.IPNetwork("::/0")
>>> a == b
False
>>> a.value == b.value
True
>>> c = netaddr.IPNetwork("0.0.0.0/0")
>>> a == c
True
We probably have that bug in a couple of other places.
Task 977 required a special case for the route collision if the other route was the default route (0.0.0.0/0).
The db_api errors was the lack of the scope parameter for most of the route calls.