- ページ 12
サーバー Cisco NCS 1001のPDF 設定マニュアルをオンラインで閲覧またはダウンロードできます。Cisco NCS 1001 36 ページ。 Data models configuration guide
Cisco NCS 1001 にも: マニュアル (8 ページ), スタートマニュアル (40 ページ)
gRPC
using HTTP/2 (RFC 7540). HTTP/2 is a replacement for HTTP that has been optimized for high performance.
HTTP/2 provides many powerful capabilities including bidirectional streaming, flow control, header
compression and multi-plexing. gRPC builds on those features, adding libraries for application-layer
flow-control, load-balancing and call-cancellation.
gRPC supports distributed applications and services between a client and server. gRPC provides the
infrastructure to build a device management service to exchange configuration and operational data between
a client and a server in which the structure of the data is defined by YANG models.
Cisco gRPC IDL
The protocol buffers interface definition language (IDL) is used to define service methods, and define parameters
and return types as protocol buffer message types.
gRPC requests can be encoded and sent across to the router using JSON. gRPC IDL also supports the exchange
of CLI.
For gRPC transport, gRPC IDL is defined in .proto format. Clients can invoke the RPC calls defined in the
IDL to program XR. The supported operations are - Get, Merge, Delete, Replace. The gRPC JSON arguments
are defined in the IDL.
syntax = "proto3";
package IOSXRExtensibleManagabilityService;
service gRPCConfigOper {
rpc GetConfig(ConfigGetArgs) returns(stream ConfigGetReply) {};
rpc MergeConfig(ConfigArgs) returns(ConfigReply) {};
rpc DeleteConfig(ConfigArgs) returns(ConfigReply) {};
rpc ReplaceConfig(ConfigArgs) returns(ConfigReply) {};
rpc CliConfig(CliConfigArgs) returns(CliConfigReply) {};
}
gRPC Operations
• oper get-config—Retrieves a configuration
• oper merge-config— Appends to an existing configuration
• oper delete-config—Deletes a configuration
• oper replace-config—Modifies a part of an existing configuration
• oper get-oper—Gets operational data using JSON
• oper cli-config—Performs a configuration
• oper showcmdtextoutput
Data Models Configuration Guide for Cisco NCS 1001
8
Data models