1 module rpcbench-payload {
3 namespace "rpcbench-payload";
6 import yang-ext { prefix ext; revision-date "2013-07-09"; }
8 revision "2015-07-02" {
9 description "Initial revision of rpcbenchmark model";
12 identity node-context {
13 description "Identity used to mark node context for Routed RPCs (determines the type of routing)";
19 "The input and output payload for the RPC Benchmark's Global RPC Server (a list of integers)";
27 rpc global-rpc-bench {
29 "Interface to the RPC Benchmark's Global RPC Server. In each RPC call, the input is copied on the output";
38 rpc routed-rpc-bench {
40 "Interface to RPC Benchmark's Routed RPC Servers. In each RPC call, the input is copied on the output";
43 ext:context-reference "node-context";
44 type "instance-identifier";
53 container rpcbench-rpc-routes {
56 "Routed RPC server context instances (i.e. instances to which RPC calls are routed)";
58 ext:context-instance "node-context";