diff options
-rw-r--r-- | netmodel/interfaces/vpp/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netmodel/interfaces/vpp/__init__.py b/netmodel/interfaces/vpp/__init__.py index b234c0c1..0c3abb9a 100644 --- a/netmodel/interfaces/vpp/__init__.py +++ b/netmodel/interfaces/vpp/__init__.py @@ -47,7 +47,7 @@ def parse(s): header = kw_name + kw_idx + kw_state + kw_counter + kw_count - interface = (pp.Word(pp.alphanums + '/' + '-').setResultsName('device_name') + \ + interface = (pp.Word(pp.alphanums + '/-.').setResultsName('device_name') + \ pp.Word(pp.nums).setResultsName('index') + \ pp.oneOf(['up', 'down']).setResultsName('state') + \ pp.Optional(kw_rx_packets + pp.Word(pp.nums).setResultsName('rx_packets')) + \ |