netopeer2
netopeer2 copied to clipboard
There are no matching subscribers for RPC/action "/o-ran-usermgmt:chg-password".
Hi i am new here,please guide me where i went wrong.
When i am trying use user-rpc --content /home/wifi/Netconf/Mplane-dev/o-ran-usermgmt_rpc.xml. I am getting an error in netopeer2-cli as
There are no matching subscribers for RPC/action "/o-ran-usermgmt:chg-password".

You did not do anything particularly wrong. You have tried to execute the RPC /o-ran-usermgmt:chg-password that should run the specific Remote Procedure Call on the server. However, there is no subscription that would actually execute the RPC so it fails, naturally. You can use sysrepo/examples/rpc_subscribe_example /o-ran-usermgmt:chg-password to create a simple subscription that will simply print the RPC it receives.
Hi, can you suggest me how to add output of rpc.
If i am adding directly the output node "status" in to the xml, it throws an error Invalid opaque node "status" found
else it throws an error Mandatory node "status" instance does not exist.

Look, you really should try to learn more about 1.) YANG and 2.) NETCONF. Then, read through sysrepo docs. And only then try to actually use sysrepo/netopeer2. Otherwise you will keep having these basic problems.
Thank you it really helped and i solved my issue.