Hi Michal,
We are executing a custom RPC viea Netopeer2-cli and facing below issue.
While subscribing the RPC with rpc_subscribe_example and sending the RPC request via the rpc_send_example the RPC is correctly recognized and received by the rpc_subscribe_example application. But on executing the same user-rpc via the CLIgetting the error message : "There are no matching subscribers for RPC/action "/examples:oper"". Even though the subscriber application keeps running. I am currently using version : netopeer2-cli 2.2.0. Please suggest. Thanks is advance!
rpc.xml:
hello-from-client
cli message:
user-rpc --content rpc.xml
ERROR
message: There are no matching subscribers for RPC/action "/examples:oper".
examples.yang:
module examples {
namespace "urn:examples";
prefix e;
container cont {
leaf l {
type string;
}
}
container stats {
config false;
leaf counter {
type uint64;
}
leaf counter2 {
type uint64;
}
}
rpc oper {
input {
leaf arg {
type string;
}
}
output {
leaf ret {
type int64;
}
}
}
notification notif {
leaf val {
type decimal64 {
fraction-digits 2;
}
}
}
}
Hi Michal,
We are executing a custom RPC viea Netopeer2-cli and facing below issue.
While subscribing the RPC with rpc_subscribe_example and sending the RPC request via the rpc_send_example the RPC is correctly recognized and received by the rpc_subscribe_example application. But on executing the same user-rpc via the CLIgetting the error message : "There are no matching subscribers for RPC/action "/examples:oper"". Even though the subscriber application keeps running. I am currently using version : netopeer2-cli 2.2.0. Please suggest. Thanks is advance!
rpc.xml:
hello-from-client
cli message:
ERROR
examples.yang: