yumapro  20.10-10
YumaPro SDK

YumaPro gNMI implementation integrated into the server. More...

Collaboration diagram for YP-GNMI:

Functions

status_t agt_ypgnmi_init (void)
 Initialize the YP-GNMI subsysystem handler. More...
 
void agt_ypgnmi_cleanup (void)
 Cleanup the YP-GNMI Module. More...
 
status_t agt_ypgnmi_get_setup (ses_cb_t *scb, rpc_msg_t *msg, val_value_t *input_val)
 handle the YP-GNMI get request from the subsystem More...
 
status_t agt_ypgnmi_set_setup (ses_cb_t *scb, rpc_msg_t *msg, val_value_t *input_val)
 handle the YP-GNMI SET request from the subsystem More...
 

Detailed Description

YumaPro gNMI implementation integrated into the server.

The server communicates with a GO subsystem that implements gNMI

Function Documentation

void agt_ypgnmi_cleanup ( void  )

Cleanup the YP-GNMI Module.

Only present if WITH_GNMI=1 and WITH_RESTCONF=1 and WITH_YCONTROL=1.

status_t agt_ypgnmi_get_setup ( ses_cb_t scb,
rpc_msg_t msg,
val_value_t input_val 
)

handle the YP-GNMI get request from the subsystem

Only present if WITH_GNMI=1 and WITH_RESTCONF=1 and WITH_YCONTROL=1.

Parameters
scbsession control block for YControl session
msgrpc msg header for the ypgnmi <get> request
input_valval_value_t representing the <get> container
Returns
status of the operation

Here is the call graph for this function:

status_t agt_ypgnmi_init ( void  )

Initialize the YP-GNMI subsysystem handler.

Only present if WITH_GNMI=1 and WITH_RESTCONF=1 and WITH_YCONTROL=1.

Returns
status of the initialization procedure

Here is the call graph for this function:

Here is the caller graph for this function:

status_t agt_ypgnmi_set_setup ( ses_cb_t scb,
rpc_msg_t msg,
val_value_t input_val 
)

handle the YP-GNMI SET request from the subsystem

Only present if WITH_GNMI=1 and WITH_RESTCONF=1 and WITH_YCONTROL=1.

Parameters
scbsession control block for YControl session
msgrpc msg header for the ypgnmi <set> request
input_valval_value_t representing the <set> container
Returns
status of the operation

Here is the call graph for this function: