<?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 Re: YANG models to Protobuf encoding in Tools</title>
    <link>https://community.cisco.com/t5/tools/yang-models-to-protobuf-encoding/m-p/3827311#M2236</link>
    <description>&lt;P&gt;If you are using XR, you can find the protobuf files per version at&amp;nbsp;&lt;A href="https://github.com/ios-xr/model-driven-telemetry/tree/master/protos&amp;nbsp;" target="_blank"&gt;https://github.com/ios-xr/model-driven-telemetry/tree/master/protos&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;-- Santi&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2019 17:25:51 GMT</pubDate>
    <dc:creator>sfloresk</dc:creator>
    <dc:date>2019-03-27T17:25:51Z</dc:date>
    <item>
      <title>YANG models to Protobuf encoding</title>
      <link>https://community.cisco.com/t5/tools/yang-models-to-protobuf-encoding/m-p/3480532#M2233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does YDK has support for protobuf encoding ? That is given a YANG model, can YDK generate encoders/decoders to send/receive data in protobuf format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The below link says, its one of the non-standard approaches. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;A href="http://events.linuxfoundation.org/sites/events/files/slides/ONS-SDN-metrics-from-SDOs-ward.pdf" title="http://events.linuxfoundation.org/sites/events/files/slides/ONS-SDN-metrics-from-SDOs-ward.pdf"&gt;http://events.linuxfoundation.org/sites/events/files/slides/ONS-SDN-metrics-from-SDOs-ward.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a way to decode telemetry data that is sent through grpc/protobuf with a given YANG model. That is YANG model -&amp;gt; cpp code -&amp;gt; (protobuf encoding/decoding) &amp;lt;-&amp;gt; grpc (transport)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 23:34:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/yang-models-to-protobuf-encoding/m-p/3480532#M2233</guid>
      <dc:creator>hariharan.a</dc:creator>
      <dc:date>2017-10-17T23:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: YANG models to Protobuf encoding</title>
      <link>https://community.cisco.com/t5/tools/yang-models-to-protobuf-encoding/m-p/3480533#M2234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It really depends what kind of protobuf you are looking at here. As you note, there isn't a standard for this as such. We work with a fairly simple protobuf envelope most of the time, with real data nested in the envelope. The nested format has two different formats:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Simple recursive key-value encoding.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  "Strongly typed" .proto, based on an underlying YANG model.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see some of the IDL we use on XR &amp;amp; NX here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;https://github.com/cisco/bigmuddy-network-telemetry-proto/blob/master/proto_archive/telemetry.proto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In either case, you have a .proto file available for the data, so why not just use that .proto definition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Einar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 13:07:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/yang-models-to-protobuf-encoding/m-p/3480533#M2234</guid>
      <dc:creator>einarnn</dc:creator>
      <dc:date>2017-10-18T13:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: YANG models to Protobuf encoding</title>
      <link>https://community.cisco.com/t5/tools/yang-models-to-protobuf-encoding/m-p/3480534#M2235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Einar. As you know, the key-value encoding wont be much useful in production for large and high frequency data sets due to its size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strongly typed.proto is preferred for the above case. As far the .proto definition, is there a way to get the definitions for each IOS-XR release (like the yang models) in github ? The bigmuddy-network-telemetry .proto definitions are 7 months old and couldnt figure for which IOS-XR version they are.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 22:44:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/yang-models-to-protobuf-encoding/m-p/3480534#M2235</guid>
      <dc:creator>hariharan.a</dc:creator>
      <dc:date>2017-10-18T22:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: YANG models to Protobuf encoding</title>
      <link>https://community.cisco.com/t5/tools/yang-models-to-protobuf-encoding/m-p/3827311#M2236</link>
      <description>&lt;P&gt;If you are using XR, you can find the protobuf files per version at&amp;nbsp;&lt;A href="https://github.com/ios-xr/model-driven-telemetry/tree/master/protos&amp;nbsp;" target="_blank"&gt;https://github.com/ios-xr/model-driven-telemetry/tree/master/protos&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;-- Santi&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 17:25:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/yang-models-to-protobuf-encoding/m-p/3827311#M2236</guid>
      <dc:creator>sfloresk</dc:creator>
      <dc:date>2019-03-27T17:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: YANG models to Protobuf encoding</title>
      <link>https://community.cisco.com/t5/tools/yang-models-to-protobuf-encoding/m-p/3829021#M2237</link>
      <description>&lt;P&gt;Making proto files part of the YDK model bundle generation could certainly be an interesting enhancement&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 17:31:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/yang-models-to-protobuf-encoding/m-p/3829021#M2237</guid>
      <dc:creator>saalvare</dc:creator>
      <dc:date>2019-03-29T17:31:11Z</dc:date>
    </item>
  </channel>
</rss>

