networktocode/network-importer

Error when name of device has FQDN but device is not configured with FQDN as hostname

matt852 opened this issue · 0 comments

Environment

  • Python version: 3.7.7
  • Network Importer version: 3.0.3

Steps to Reproduce

  1. Create a device in Nautobot with an FQDN (eg. device1.nautobot.com)
  2. In the device config, set the "hostname" to the non-FQDN version (eg. device1)
  3. Name the config file with the FQDN (eg. device1.nautobot.com.conf), though this doesn't seem to matter.
  4. 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