napalm-automation / napalm

Network Automation and Programmability Abstraction Layer with Multivendor support
Apache License 2.0
2.24k stars 552 forks source link

Fixes napalm-automation/napalm#2086 stripping whitespace #2087

Closed Smertan closed 4 months ago

Smertan commented 4 months ago

VLAN names are cleaned up if the ports are in the self._get_vlan_all_ports(output) function. However, if no ports are found the whitespace remains.

The change removes the whitespace if no ports are found in ios.py line 3797