Open naciohr opened 3 weeks ago
Hi @naciohr, thanks for raising the issue. At the moment diode doesn't have support for custom validators. The workaround could be to specify tenant along with device during ingestion, but tenant is not supported object type in diode yet either, so we would have to plan work needed to cover both use cases. We're going to keep you updated over here once we know more.
Dear Netboxlabs team,
I've been doing tests with the diode client and the server. While I found the data ingestion process successful, the reconciler happens to fail to create new devices due to the empty tenant restriction. Actually, I reached to the same if I try to add a device directly in Netbox.
I checked the documentation and there's no option to specify a tenant for a Device object.
The following messages come out the diode-reconciler container:
This seems to be in effect by the Validation configuration of Netbox server.
Although this validation can be disabled in the configuration, I find it necessary for a correct organisational structure.
In addition to this, I tested to edit an existent device and while it's able to spot it correctly, it fails to update the properties (status in this case) even though it's linked to an existent tenant.
Therefore I would like to ask you if there's a way to overcome this constraint or if there's a parameter I'm missing in the documentation.
Thanks and regards,