Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/gnmi_cli_py/py_gnmicli.py b/gnmi_cli_py/py_gnmicli.py
index 150239a..1d43eb6 100644
--- a/gnmi_cli_py/py_gnmicli.py
+++ b/gnmi_cli_py/py_gnmicli.py
@@ -56,7 +56,7 @@ __version__ = '0.5'
_RE_PATH_COMPONENT = re.compile(r'''
^
(?P<pname>[^[]+) # gNMI path name
-(\[(?P<key>\w+) # gNMI path key
+(\[(?P<key>\w\D+) # gNMI path key
=
(?P<value>.*) # gNMI path value
\])?$
3 changes: 2 additions & 1 deletion dockers/docker-ptf/gnxi-patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
0006-Add-support-for-extensive-configurations.patch
0007-Fix-py_gnmicli.py-POLL-mode.patch
0008-Fix-ipv6-addr-port-format-for-grpc.patch
0009-chore-remove-deprecated-use_aliases-field-and-fix-syntax.patch
0009-chore-remove-deprecated-use_aliases-field-and-fix-syntax.patch
0010-Fix-regex-to-allow-hyphen-character-in-key-name.patch
Loading