update vlan parsers
This commit is contained in:
@@ -40,7 +40,7 @@ class BaseDevice(Protocol):
|
||||
|
||||
unamed_vlan_splitter: str = ','
|
||||
unamed_vlan_counter = '-'
|
||||
unamed_vlans_parse_pattern = r"^vlan\s+(?:\w+\s+)?([\d,-]*[ ,][\d (to),-]*)$"
|
||||
unamed_vlans_parse_pattern = r"vlan\s+(?:\w+\s+)?([\d,-]*[ ,][\d (to),-]*)$"
|
||||
|
||||
def __init__(self, config):
|
||||
self.config: str = config
|
||||
|
||||
Reference in New Issue
Block a user