[TASK] Handle unsanitary NetBox response parameters #75
Labels
accepted
this proposal was accepted
connection
THis issue is linked to the NetBox API connection
help wanted
Extra attention is needed
high-priority
This needs to be done ASAP
translation
This issue is linked to the information translation
After further investigation, the erroneously
null
fields in NetBox's responses to theInterface
endpoints definitely looks like this is a problem on NetBox's end.Looking at the fields
link_peers_type
andconnected_endpoints
in theInterface
struct, we can see that the schema requires them to be aString
and aVec
. Which gets translated correctly inthanix_client
.However, the application returns both of these values as
null
, which does not correspond with the schema.This leads to several conclusions:
v0.1.0
to be working with NetBoxv3.6.x
as per the decision made in [EPIC] Port API calls to NetBoxv4.x
#74.Backend bug hunting must also be conducted as we cannot be sure this problem is fixed with NetBox
v4.x
.I had opened an issue with NetBox about a possible bug on this end (netbox-community/netbox#16301) they asserted that this is not an issue with them. We need to collect further information before we can proceed to report a bug again.
Originally posted by @ByteOtter in #73 (comment)
The text was updated successfully, but these errors were encountered: