reference
reference copied to clipboard
Clarification needed for adding namespace in path
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?
- /oc-if:interfaces/oc-if:interface/
- /openconfig-interfaces:interfaces/openconfig-interfaces:interface/