Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios parsing error for vlan ranges #49

Open
TestingBytes opened this issue Feb 27, 2021 · 0 comments
Open

ios parsing error for vlan ranges #49

TestingBytes opened this issue Feb 27, 2021 · 0 comments

Comments

@TestingBytes
Copy link

If an ios config contains a range of vlans a parsing error is observed.

Example config:

vlan 60
name VLAN_A
!
vlan 64-65
!
vlan 80
name VLAN_B

Result:

File "/home/.local/lib/python3.7/site-packages/ntc_rosetta/parsers/openconfig/ios/openconfig_vlan/vlans.py", line 44, in vlan_id
return int(self.yy.key)
ValueError: invalid literal for int() with base 10: '64-65'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant