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
parent 26b0908270
commit 70e33ef92c
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