Want to encode an OpenConfig Telemetry configuration in XML? Here are some sample apps to get you started:
cd-encode-oc-telemetry-30-ydk.py - dialin single sensor-group/subscription
cd-encode-oc-telemetry-32-ydk.py - dialin multiple sensor-paths
cd-encode-oc-telemetry-34-ydk.py - dialin multiple sensor-groups
Give them a try!