network-importer
network-importer copied to clipboard
Error when name of device has FQDN but device is not configured with FQDN as hostname
Environment
- Python version: 3.7.7
- Network Importer version: 3.0.3
Steps to Reproduce
- Create a device in Nautobot with an FQDN (eg. device1.nautobot.com)
- In the device config, set the "hostname" to the non-FQDN version (eg. device1)
- Name the config file with the FQDN (eg. device1.nautobot.com.conf), though this doesn't seem to matter.
- Run the
network-importer apply
command.
Expected Behavior
The device should be imported and executed on correctly.
Observed Behavior
Batfish does not load the device. It throws this error:
WARNING - Unable to find information for nnnustnath01sw16-scheduling.example.com in Batfish, SKIPPING