networktocode/network-importer

Serial number being passed with hostname as Device name

susanhooks opened this issue · 0 comments

Environment

  • Python version: <3.10>
  • Network Importer version: <3.1.0>

Steps to Reproduce

  1. Change import_cabling = "cdp"
  2. Run against a Cisco device that has neighbors that don't have DNS names.

Expected Behavior

The serial number would not be included as part of the device name.

Observed Behavior

2022-12-07 16:49:51,751 - network-importer - INFO - Unable to create Cable AA-D-100-AS1__TenGigabitEthernet1/1/1__MS-D-07-F3(FXXXXXXXXX)__Ethernet1/29 in Nautobot, unable to find the interface MS-D-82-SLF3(FXXXXXXXXX) Ethernet1/29