<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Sample app to read XR system time using gNMI in Tools</title>
    <link>https://community.cisco.com/t5/tools/sample-app-to-read-xr-system-time-using-gnmi/m-p/3795391#M2199</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ydk-white-256.png" style="width: 60px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/29391i5C292CFF21772310/image-dimensions/60x60?v=v2" width="60" height="60" role="button" title="ydk-white-256.png" alt="ydk-white-256.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;YDK 0.8.0 introduced support for &lt;A href="https://community.cisco.com/t5/yang-development-kit-ydk/new-release-of-ydk-py-has-been-posted-0-8-0/td-p/3766195" target="_self"&gt;gNMI&lt;/A&gt;.&amp;nbsp; That includes a&amp;nbsp;&lt;A href="http://ydk.cisco.com/py/docs/api/providers/gnmi_provider.html" target="_self"&gt;gNMI service provider&lt;/A&gt; and a &lt;A href="http://ydk.cisco.com/py/docs/api/services/gnmi_service.html" target="_self"&gt;gNMI service&lt;/A&gt;.&amp;nbsp; 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:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/CiscoDevNet/ydk-py-samples/blob/master/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-shellutil-oper/gn-read-xr-shellutil-oper-10-ydk.py" target="_self"&gt;gn-read-xr-shellutil-oper-10-ydk.py&lt;/A&gt; - boilerplate for system time&lt;BR /&gt;&lt;A href="https://github.com/CiscoDevNet/ydk-py-samples/blob/master/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-shellutil-oper/gn-read-xr-shellutil-oper-20-ydk.py" target="_self"&gt;gn-read-xr-shellutil-oper-20-ydk.py&lt;/A&gt; - custom app for system time&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These apps&amp;nbsp;use&amp;nbsp;the &lt;A href="http://ydk.cisco.com/py/docs/api/services/crud_service.html" target="_self"&gt;CRUD service&lt;/A&gt; and the &lt;A href="http://ydk.cisco.com/py/docs/api/providers/gnmi_provider.html" target="_self"&gt;gNMI service provider&lt;/A&gt;.&amp;nbsp; New to gNMI?&amp;nbsp; Watch "&lt;A href="http://youtu.be/8zAebRr6Pg4" target="_self"&gt;gNMI programmatic configuration&lt;/A&gt;" from the recent Tech Field Day.&amp;nbsp; New to OpenConfig? watch "&lt;A href="http://youtu.be/B43PRZV-CD8" target="_self"&gt;Getting started with OpenConfig&lt;/A&gt;" from the MPLS+SDN+NFV World Congress 2018.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What to compare&amp;nbsp;these gNMI apps&amp;nbsp;with the NETCONF apps performing the same task? See:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/CiscoDevNet/ydk-py-samples/blob/master/samples/basic/crud/models/cisco-ios-xr/Cisco-IOS-XR-shellutil-oper/nc-read-xr-shellutil-oper-10-ydk.py" target="_self"&gt;nc-read-xr-shellutil-oper-10-ydk.py&lt;/A&gt; &lt;/SPAN&gt;- boilerplate for system time&lt;BR /&gt;&lt;A href="https://github.com/CiscoDevNet/ydk-py-samples/blob/master/samples/basic/crud/models/cisco-ios-xr/Cisco-IOS-XR-shellutil-oper/nc-read-xr-shellutil-oper-20-ydk.py" target="_self"&gt;nc-read-xr-shellutil-oper-20-ydk.py&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- custom app for system time&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Enjoy!&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2019 20:51:52 GMT</pubDate>
    <dc:creator>saalvare</dc:creator>
    <dc:date>2019-03-27T20:51:52Z</dc:date>
    <item>
      <title>Sample app to read XR system time using gNMI</title>
      <link>https://community.cisco.com/t5/tools/sample-app-to-read-xr-system-time-using-gnmi/m-p/3795391#M2199</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ydk-white-256.png" style="width: 60px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/29391i5C292CFF21772310/image-dimensions/60x60?v=v2" width="60" height="60" role="button" title="ydk-white-256.png" alt="ydk-white-256.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;YDK 0.8.0 introduced support for &lt;A href="https://community.cisco.com/t5/yang-development-kit-ydk/new-release-of-ydk-py-has-been-posted-0-8-0/td-p/3766195" target="_self"&gt;gNMI&lt;/A&gt;.&amp;nbsp; That includes a&amp;nbsp;&lt;A href="http://ydk.cisco.com/py/docs/api/providers/gnmi_provider.html" target="_self"&gt;gNMI service provider&lt;/A&gt; and a &lt;A href="http://ydk.cisco.com/py/docs/api/services/gnmi_service.html" target="_self"&gt;gNMI service&lt;/A&gt;.&amp;nbsp; 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:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/CiscoDevNet/ydk-py-samples/blob/master/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-shellutil-oper/gn-read-xr-shellutil-oper-10-ydk.py" target="_self"&gt;gn-read-xr-shellutil-oper-10-ydk.py&lt;/A&gt; - boilerplate for system time&lt;BR /&gt;&lt;A href="https://github.com/CiscoDevNet/ydk-py-samples/blob/master/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-shellutil-oper/gn-read-xr-shellutil-oper-20-ydk.py" target="_self"&gt;gn-read-xr-shellutil-oper-20-ydk.py&lt;/A&gt; - custom app for system time&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These apps&amp;nbsp;use&amp;nbsp;the &lt;A href="http://ydk.cisco.com/py/docs/api/services/crud_service.html" target="_self"&gt;CRUD service&lt;/A&gt; and the &lt;A href="http://ydk.cisco.com/py/docs/api/providers/gnmi_provider.html" target="_self"&gt;gNMI service provider&lt;/A&gt;.&amp;nbsp; New to gNMI?&amp;nbsp; Watch "&lt;A href="http://youtu.be/8zAebRr6Pg4" target="_self"&gt;gNMI programmatic configuration&lt;/A&gt;" from the recent Tech Field Day.&amp;nbsp; New to OpenConfig? watch "&lt;A href="http://youtu.be/B43PRZV-CD8" target="_self"&gt;Getting started with OpenConfig&lt;/A&gt;" from the MPLS+SDN+NFV World Congress 2018.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What to compare&amp;nbsp;these gNMI apps&amp;nbsp;with the NETCONF apps performing the same task? See:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/CiscoDevNet/ydk-py-samples/blob/master/samples/basic/crud/models/cisco-ios-xr/Cisco-IOS-XR-shellutil-oper/nc-read-xr-shellutil-oper-10-ydk.py" target="_self"&gt;nc-read-xr-shellutil-oper-10-ydk.py&lt;/A&gt; &lt;/SPAN&gt;- boilerplate for system time&lt;BR /&gt;&lt;A href="https://github.com/CiscoDevNet/ydk-py-samples/blob/master/samples/basic/crud/models/cisco-ios-xr/Cisco-IOS-XR-shellutil-oper/nc-read-xr-shellutil-oper-20-ydk.py" target="_self"&gt;nc-read-xr-shellutil-oper-20-ydk.py&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- custom app for system time&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Enjoy!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 20:51:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/sample-app-to-read-xr-system-time-using-gnmi/m-p/3795391#M2199</guid>
      <dc:creator>saalvare</dc:creator>
      <dc:date>2019-03-27T20:51:52Z</dc:date>
    </item>
  </channel>
</rss>

