networktocode/network-importer

Allow remove of network.fqdns for batfish comparison

zombah opened this issue · 0 comments

Environment

  • Python version: 3.92
  • Network Importer version: 3.0.2

Proposed Functionality

Batfish by default add node as hostname parsed in device
config and if it is different from device name which is case
when multiple fqdn's used in inventory it is not matched.

Allow to remove of network.fqdns for batfish comparison
to match device with hostname.fqdn as SOT name
to batfish node name with hostname only.

Maybe with extra argument for such function or just
if network.fqdns defined as it looks pretty safe even
when fqdns not used for device name it SOT.

Use Case

This will add flexibility for device naming in multiple
fqdn enviroments.

Configuration Changes

network.fqdns config option already present but used
only for link discovery.