There is no proper way to lookup host by its hostname ie find "host" with fqdn "host.example.com" besides using name__ic (ie startswith).
Since there is no direct analogue for this field in netbox, we need to add a dot to hostnames (top-level fqdn part) so we would not receive all devices with a common name prefix.
There is no proper way to lookup host by its hostname ie find "host" with fqdn "host.example.com" besides using name__ic (ie startswith). Since there is no direct analogue for this field in netbox, we need to add a dot to hostnames (top-level fqdn part) so we would not receive all devices with a common name prefix.