Difference between revisions of "Sweetcomb/gNMIServer"

From fd.io
Jump to: navigation, search
m (Testing gNMI server functionalities)
m (gNMI Server)
Line 6: Line 6:
 
* Set
 
* Set
 
* Subscribe
 
* Subscribe
 +
 +
A demo of gNMI server can be found here [https://www.youtube.com/watch?v=hTv6hFnyAhE FD.io's vpp meets gNMI]
  
 
=== Testing gNMI server functionalities ===
 
=== Testing gNMI server functionalities ===

Revision as of 14:26, 3 April 2019

gNMI Server

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

  • Capabilities
  • Get
  • Set
  • Subscribe

A demo of gNMI server can be found here FD.io's vpp meets gNMI

Testing gNMI server functionalities

There are multiple gNMI clients available:

gnmi_capabilities -notls -target_addr localhost:50051

gnmi_get -notls -target_addr localhost:50051 -xpath "/ietf-interfaces/interface-state"

NB: Please note that gnmi client don't work with ":" separator in xpath. They only use "/".