Difference between revisions of "Sweetcomb/gNMIServer"

From fd.io
Jump to: navigation, search
m (Testing gNMI server functionalities)
m
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= gNMI Server =
 
= gNMI Server =
 +
 +
A gNMI interface has been developped on top of sysrepo. It is available here: https://github.com/YohanPipereau/sysrepo-gnxi/releases .
  
 
gNMI stands for gRPC Network Management Interface, it works like a client server protocol offering a set of 4 RPCs:
 
gNMI stands for gRPC Network Management Interface, it works like a client server protocol offering a set of 4 RPCs:
Line 6: Line 8:
 
* Set
 
* Set
 
* Subscribe
 
* Subscribe
 
=== Testing gNMI server functionalities ===
 
 
There are multiple gNMI clients available:
 
 
* [https://github.com/google/gnxi/tree/master/gnmi_capabilities gnmi_capabilities]
 
* [https://github.com/google/gnxi/tree/master/gnmi_get gnmi_get] : It will try to send a message with a default JSON IETF encoding.
 
* [https://github.com/google/gnxi/tree/master/gnmi_set gnmi_set]
 
 
<code>
 
gnmi_capabilities -notls -target_addr localhost:50051
 
</code>
 
 
<code>
 
gnmi_get -notls -target_addr localhost:50051 -xpath "/ietf-interfaces/interface-state"
 
</code>
 

Latest revision as of 15:32, 13 June 2019

gNMI Server

A gNMI interface has been developped on top of sysrepo. It is available here: https://github.com/YohanPipereau/sysrepo-gnxi/releases .

gNMI stands for gRPC Network Management Interface, it works like a client server protocol offering a set of 4 RPCs:

  • Capabilities
  • Get
  • Set
  • Subscribe