google / google/gnxi

support for namespaced Path Elements

Open
#244 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
289
Forks
131
Avg merge
1d 28m
Merged PRs (30d)
1

Description

Hi all,
in [ParseElem]( https://github.com/google/gnxi/blob/master/utils/xpath/xpath.go#L210) the code doesn't allow for a pathElem to have a `:` char inside of it.

I wonder if this should be allowed to make the path to look life follows: `/root/ns:leaf`. Some vendors [use](https://content.cisco.com/chapter.sjs?uri=/searchable/chapter/content/en/us/td/docs/ios-xml/ios/prog/configuration/172/b_172_programmability_cg/grpc_network_management_interface.html.xml#ariaid-title8) namespaced paths in their gNMI implementations, and I am not sure if this violates the gNMI spec or not.

@robshakir do you have an opinion if the gNMI paths like `/root/ns:leaf` are valid and should be supported?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.