networktocode / network-importer

The network importer is a tool/library to analyze and/or synchronize an existing network with a Network Source of Truth (SOT), it's designed to be idempotent and by default it's only showing the difference between the running network and the remote SOT.
Other
170 stars 41 forks source link

Extra VLANs Created #282

Open scetron opened 2 years ago

scetron commented 2 years ago

Environment

Steps to Reproduce

  1. Import a type of IOS Device

Expected Behavior

VLANs in the configuration are created. Extra VLANs are imported with both 'cli' and 'config' import options.

Observed Behavior

VLANs that don't exist on the device are created in the SoT. The device being imported is a Cisco 2960 running 15.2(2)E9. There is no switchport trunk allowed vlan all configured on any interfaces.

jvanderaa commented 2 years ago

This is an issue with Batfish I believe and how it deciphers switchport trunk set up without specifying allowed VLANs.

Workarounds: