Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification needed for adding namespace in path #195

Open
preetbhansali opened this issue Sep 20, 2023 · 0 comments
Open

Clarification needed for adding namespace in path #195

preetbhansali opened this issue Sep 20, 2023 · 0 comments

Comments

@preetbhansali
Copy link

From the documentation given, I was unable to find which should be used as a namespace to distinguish the path. module-name or prefix or any of them.

For a openconfig-intefaces.yang defined as below
`
module openconfig-interfaces {

yang-version "1";

// namespace
namespace "http://openconfig.net/yang/interfaces";

prefix "oc-if";

`

What is the correct way to create a path for GNMI get request option#1 or 2 or both?

  1. /oc-if:interfaces/oc-if:interface/
  2. /openconfig-interfaces:interfaces/openconfig-interfaces:interface/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant