I have been trying to ping a destination using Cisco-IOS-XR-ping-act yang model. I am using an IOS XR box connected to opendaylight controller via netconf on sound bound interface, the controller is connected to a python application on its northbound interface using restconf. Unfortunately, I am unable to get the desired result may be due to incorrect format or URI. I am getting 500 internal server error.
Below are the details of my operation
URI : http://controller.project.net:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/AS-500-R1/yang-ext:mount/Cisco-IOS-XR-ping-act:ping
Body :
<ping xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act">
<destination>150.2.2.2</destination>
<source>155.1.53.2</source>
</ping>
Method: GET
Thanks