Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Yes, you now got over 200 Python sample apps to using OpenConfig and XR native data models. You'll find examples handling both config and operational data. You can find the apps at:
https://github.com/CiscoDevNet/ydk-py-samples/tree/master/sampl...
The YDK-Py Vagrant sandbox is now updated with YDK 0.8.2:
vagrant@ydk-py:~$ pip3 list | grep ydk
ydk 0.8.2
ydk-models-cisco-ios-xe 16.9.3
ydk-models-cisco-ios-xr 6.5.2
ydk-models-cis...
Here's a second batch of gNMI sample apps. This time, we'll configure XR CDP using its native configuration data model:
gn-create-xr-cdp-cfg-20-ydk.py - Basic CDPgn-create-xr-cdp-cfg-22-ydk.py - CDP w/custom timersgn-create-xr-cdp-cfg-24-ydk.py - ...
YDK 0.8.0 introduced support for gNMI. That includes a gNMI service provider and a gNMI service. Here's a basic sample app showing how to read the system time on an IOS XR device using the CRUD service with the gNMI service provider:
gn-read-xr-...
If you're interested in OpenConfig, you may want to check this brief overview from last year's MPLS+SDN+NFV World Congress:
Getting Started with OpenConfig - https://youtu.be/B43PRZV-CD8
The demo scripts can now be found in the YDK-Py Samples...
What's the specific version string you're having issues with? We've been creating and posting post releases for a long time w/o any issues.
https://pypi.org/project/ydk-models-ietf/#history
user@host:bundles(master %=)$ ls -1 *post*
cisco-ios-xe...
I don't think your models are missing. Make sure you understand the structure of the YANG modules. Cisco-IOS-XR-um-if-* are augmentations of Cisco-IOS-XR-um-interfaces-cfg. You won't see separate Python modules for the augmentations. All data nod...
Are you referring in the RPC? It is captured as the origin:
=============== Get Request Sent ================
path {
origin: "openconfig-interfaces"
elem {
name: "interfaces"
}
}
encoding: JSON_IETF
2020-02-20 19:34:47,233 - ydk - INFO...