- Want to write a custom rpc for a module.. Not able to understand where to write the code specific to the rpc..
- Is it possible to execute the samples on a linux environment.
Regarding your first question, the executor service is used to execute custom RPCs. See the documentation at:
The RPCs must be defined in YANG. Cisco IOS XR supports a growing number of custom RPCs. You can find sample apps for the executor service at:
Regarding the second question, we support Linux (debian and RPM-based). You can find the YDK installation instructions at:
Once you install YDK, you can clone the YDK-Py samples repo and run the apps against any XR or OC compatible device: