cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
374
Views
0
Helpful
0
Replies
Highlighted
Cisco Employee

Sample app to read XR system time using gNMI

ydk-white-256.png

 

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-shellutil-oper-10-ydk.py - boilerplate for system time
gn-read-xr-shellutil-oper-20-ydk.py - custom app for system time

 

These apps use the CRUD service and the gNMI service provider.  New to gNMI?  Watch "gNMI programmatic configuration" from the recent Tech Field Day.  New to OpenConfig? watch "Getting started with OpenConfig" from the MPLS+SDN+NFV World Congress 2018.

 

What to compare these gNMI apps with the NETCONF apps performing the same task? See:

nc-read-xr-shellutil-oper-10-ydk.py - boilerplate for system time
nc-read-xr-shellutil-oper-20-ydk.py - custom app for system time


Enjoy!

Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.