reference icon indicating copy to clipboard operation
reference copied to clipboard

Clarification needed for adding namespace in path

Open preetbhansali opened this issue 2 years ago • 0 comments

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/

preetbhansali avatar Sep 20 '23 07:09 preetbhansali