google / gnxi

gNXI Tools - gRPC Network Management/Operations Interface Tools
Apache License 2.0
260 stars 115 forks source link

Add support for Origin. #15

Open mike-albano opened 6 years ago

mike-albano commented 6 years ago

Add support, via flag, for the gNMI Origin in gnmi_set. This will disambiguate the namespace when a vendor utilizes both OpenConfig and rfc7951 (or otherwise vendor-specific) YANG modules.

When sending OpenConfig JSON, the origin key will have a value of "openconfig".

larryleguo commented 6 years ago

we are working on a new version of gnmi server, which will cover this feature. If there is an immediate need for it, we can have an update based on the current version.

samribeiro commented 6 years ago

I think albano specifically mentioned the client gnmi_set to support this.

larryleguo commented 6 years ago

Got it.

mike-albano commented 6 years ago

Sorry, missed this in my inbox. Sam is correct; I was referencing the client in this Issue. Thanks for the work, looking forward to the new version!

phani2410 commented 5 years ago

Hi, I have added a pull request to solve this particular issue. Travis is not able to build the code for go 1.8 version for the reason unknown.

Please check this request.

https://github.com/google/gnxi/pull/38

idefixcert commented 5 years ago

we are working on a new version of gnmi server, which will cover this feature. If there is an immediate need for it, we can have an update based on the current version.

@larryleguo I this already the new version of gnmi server? Or is a new one planned?