gRPC Operations
You can issue the following gRPC operations:
gRPC Operation |
Description |
---|---|
GetConfig |
Retrieves a configuration |
GetModels |
Gets the supported Yang models on the router |
MergeConfig |
Appends to an existing configuration |
DeleteConfig |
Deletes a configuration |
ReplaceConfig |
Modifies a part of an existing configuration |
CommitReplace |
Replaces existing configuration with the new configuration file provided |
GetOper |
Gets operational data using JSON |
CliConfig |
Invokes the CLI configuration |
ShowCmdTextOutput |
Displays the output of show command |
ShowCmdJSONOutput |
Displays the JSON output of show command |
gRPC Operation to Get Configuration
This example shows how a gRPC GetConfig request works for LLDP feature.
The client initiates a message to get the current configuration of LLDP running on the router. The router responds with the current LLDP configuration.
gRPC Request (Client to Router) |
gRPC Response (Router to Client) |
---|---|
|
|