Make ios_vlan identify vlans starting with 9 (#42247)

* Make ios_vlan identify vlans starting with 9

* Add unit test for vlan id start with 9
This commit is contained in:
Zhikang Zhang 2018-07-09 09:50:06 -04:00 committed by GitHub
commit 70e33ef92c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 2 deletions

View file

@ -218,7 +218,7 @@ def parse_to_logical_rows(out):
if not l:
"""Skip empty lines."""
continue
if '0' < l[0] < '9':
if '0' < l[0] <= '9':
"""Line starting with a number."""
if started_yielding:
yield cur_row