napalm icon indicating copy to clipboard operation
napalm copied to clipboard

.get_vlans() does not return vlan if space is present in its name

Open angelopoggi opened this issue 2 years ago • 1 comments

Description of Issue/Question

.get_vlans() does not return vlan ID and their interfaces if a space is present in the VLANs name

Note: Please check https://guides.github.com/features/mastering-markdown/ to see how to properly format your request.

Did you follow the steps from https://github.com/napalm-automation/napalm#faq

(Place an x between the square brackets where applicable)

  • [x] Yes
  • [] No

Setup

napalm version

(Paste verbatim output from pip freeze | grep napalm between quotes below)

napalm @ file:///Users/angelopoggi/Library/Caches/pypoetry/artifacts/1e/05/4a/0f04304048b9cb7fe301a96a5005ceb897cd46989e146a223eb62d6167/napalm-3.4.0-py2.py3-none-any.whl

Network operating system version

(Paste verbatim output from show version - or equivalent - between quotes below)

Cisco IOS Software, s72033_rp Software (s72033_rp-ADVENTERPRISEK9-M), Version 15.1(2)SY10, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2017 by Cisco Systems, Inc.
Compiled Tue 21-Feb-17 02:00 by prod_rel_team

Steps to Reproduce the Issue

create a vlan ID with a space in the name

vlan 123
name client (12345)

Error Traceback

(Paste the complete traceback of the exception between quotes below)


angelopoggi avatar Apr 18 '22 15:04 angelopoggi