netdb-client-lib v3.2 fails to list reserved IPv6 addresses for subnet
Hi,
following the announcement of the release of NetDB WebAPI 4.0, I validated that our use-cases are still functional with it and found one operation broken: Listing reserved IPv6 addresses of a given subnet.
Python 3.8.14 (default, Sep 19 2022, 09:47:48)
[GCC 9.1.1 20190605 (Red Hat 9.1.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import netdb_client
>>> import netdb_client.dns
>>> api = netdb_client.APISession(
... netdb_client.APIEndpoint(
... base_url='api.netdb-devel.scc.kit.edu',
... debug=True,
... endpoint=None,
... token='4230.ey...T44'
... )
... )
>>> netdb_client.dns.IpAddr.list(api, value_cidr_old='2a00:139c:2:579::/64', is_reserved_old=True)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/netdb_client/dns.py", line 735, in list
return [cls(**s) for s in res.json()[0]]
File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/netdb_client/dns.py", line 735, in <listcomp>
return [cls(**s) for s in res.json()[0]]
TypeError: __init__() missing 1 required positional argument: 'is_dhcp_unique'
As far as I can tell, there is no version 4.0 of netdb-client-lib
, so this was done with the latest 3.2.
/cc @domrim, @klara.mall, @janis.streib