Difference between revisions of "Sweetcomb/gNMIServer"

From fd.io
Jump to: navigation, search
(Created page with "= 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 ==...")
 
m (Testing gNMI server functionalities)
Line 16: Line 16:
  
 
<code>
 
<code>
 +
gnmi_capabilities -notls -target_addr localhost:50051
 
gnmi_get -notls -target_addr localhost:50051 -xpath "/ietf-interfaces/interface-state"
 
gnmi_get -notls -target_addr localhost:50051 -xpath "/ietf-interfaces/interface-state"
 
</code>
 
</code>

Revision as of 13:46, 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

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"