Difference between revisions of "Sweetcomb/RPCop"

From fd.io
Jump to: navigation, search
(Created page with "== RPC Operations == This page aims at describing which data should be read when a user uses a RPC method on sweetcomb control agent. First, there are two types of data: * '...")
 
m (RPC Operations)
Line 4: Line 4:
  
 
First, there are two types of data:
 
First, there are two types of data:
* '''Configuration data''': data that is read from an intermediate database  (ex: data fetched by sr_get_item)
+
* '''Configuration data/desired state''': data that is read from an intermediate database  (ex: data fetched by sr_get_item)
 
* '''Operational data''': fresh data directly read from the networking devices (ex: telemetry data, all data fetched with VAPI)
 
* '''Operational data''': fresh data directly read from the networking devices (ex: telemetry data, all data fetched with VAPI)
  

Revision as of 16:57, 21 March 2019

RPC Operations

This page aims at describing which data should be read when a user uses a RPC method on sweetcomb control agent.

First, there are two types of data:

  • Configuration data/desired state: data that is read from an intermediate database (ex: data fetched by sr_get_item)
  • Operational data: fresh data directly read from the networking devices (ex: telemetry data, all data fetched with VAPI)

Second, there are three types of organization of YANG trees:

  • Openconfig style: 'config' and 'state' containers
  • IETF withtout NMDA: 'config' and 'state' top level trees
  • IETF with NMDA:

Third, as sweetcomb only supports NETCONF and gNMI, there are 5 RPCs supported:

  • gNMI get
  • gNMI set
  • NETCONF get
  • NETCONF get-config
  • NETCONF edit-config

In order to know if your IETF support NMDA, please use YangCatalog.

Openconfig style

IETF without NMDA

IETF with NMDA