<?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: DEVASC200-901 OSG .. yang module question/mistake? in DevNet General Discussions</title>
    <link>https://community.cisco.com/t5/devnet-general-discussions/devasc200-901-osg-yang-module-question-mistake/m-p/5290721#M2805</link>
    <description>&lt;P&gt;Thanks &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/352839"&gt;@bigevilbeard&lt;/a&gt;&amp;nbsp;I appreciate your response! So the next paragraph after the import "ietf-yang-types" is wrong too...?&amp;nbsp; &amp;nbsp;You cant use the prefix assigned to ietf-yang-types to call a data type from the ietf-inet-types module, right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I typically keep track of errata as I study.&amp;nbsp; It's a character flaw.&amp;nbsp; &amp;nbsp; I have a list of corrections that I was going to try to get in before the next rev. of OCG, but I saw the preorder open up on Amazon already, May be too late for that.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2025 16:02:40 GMT</pubDate>
    <dc:creator>jlw7595</dc:creator>
    <dc:date>2025-05-14T16:02:40Z</dc:date>
    <item>
      <title>DEVASC200-901 OSG .. yang module question/mistake?</title>
      <link>https://community.cisco.com/t5/devnet-general-discussions/devasc200-901-osg-yang-module-question-mistake/m-p/5290485#M2802</link>
      <description>&lt;P&gt;I think te first highlight is wrong module name.&amp;nbsp; The updated RFC calls the module ietf-inet-type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the second highlight, is this saying all of the ietf-inet-types are now merged into ietf-yang-types and they can all be referenced with the Yang prefix? How does the import know to import the network module also?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1000005113.jpg" style="width: 4080px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/244955i37843CFE3F967D65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1000005113.jpg" alt="1000005113.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 02:05:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-general-discussions/devasc200-901-osg-yang-module-question-mistake/m-p/5290485#M2802</guid>
      <dc:creator>jlw7595</dc:creator>
      <dc:date>2025-05-14T02:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: DEVASC200-901 OSG .. yang module question/mistake?</title>
      <link>https://community.cisco.com/t5/devnet-general-discussions/devasc200-901-osg-yang-module-question-mistake/m-p/5290555#M2803</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1854328"&gt;@jlw7595&lt;/a&gt;&amp;nbsp;Nice catch, I think you are right here and the module name is updated in more recent RFCs. The correct module name, as you pointed out and&amp;nbsp;the OCG&amp;nbsp; seems to be using an older version of the module name.&lt;/P&gt;
&lt;P&gt;Side note - cos i am a super geek for this type of stuff and love to Google such fact&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RFC 6991, which covers both ietf-yang-types and ietf-inet-types, was published in July 2013. This is before the book's publication date of 2020. It's possible the book refers to an earlier draft or has a minor inaccuracy.&lt;/LI-CODE&gt;
&lt;P&gt;The second question, from what i recall there is actually two separate IETF modules, the first is ietf-yang-types, this contains general data type and the second ietf-inet-types , which hs networking/internet specific data types. The import statement shown&amp;nbsp; in the example is only importing the ietf-yang-types module amd it does not automatically import ietf-inet-types. The prefix statement, defines how to reference the imported types (using the "yang:" prefix).&lt;/P&gt;
&lt;P&gt;Here are the links i used, to check this.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-sourcepos="3:1-3:105"&gt;ietf-yang-types: &lt;A class="ng-star-inserted" href="https://datatracker.ietf.org/doc/html/rfc6991" target="_blank" rel="noopener"&gt;RFC 6991 - Common YANG Data Types&lt;/A&gt;&lt;/LI&gt;
&lt;LI data-sourcepos="4:1-5:0"&gt;ietf-inet-types: This is also covered in &lt;A class="ng-star-inserted" href="https://datatracker.ietf.org/doc/html/rfc6991" target="_blank" rel="noopener"&gt;RFC 6991 - Common YANG Data Types&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For the OCG book, you want to check the book corrections on Cisco Press to see if has been brought up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 08:28:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-general-discussions/devasc200-901-osg-yang-module-question-mistake/m-p/5290555#M2803</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2025-05-14T08:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: DEVASC200-901 OSG .. yang module question/mistake?</title>
      <link>https://community.cisco.com/t5/devnet-general-discussions/devasc200-901-osg-yang-module-question-mistake/m-p/5290721#M2805</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/352839"&gt;@bigevilbeard&lt;/a&gt;&amp;nbsp;I appreciate your response! So the next paragraph after the import "ietf-yang-types" is wrong too...?&amp;nbsp; &amp;nbsp;You cant use the prefix assigned to ietf-yang-types to call a data type from the ietf-inet-types module, right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I typically keep track of errata as I study.&amp;nbsp; It's a character flaw.&amp;nbsp; &amp;nbsp; I have a list of corrections that I was going to try to get in before the next rev. of OCG, but I saw the preorder open up on Amazon already, May be too late for that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 16:02:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-general-discussions/devasc200-901-osg-yang-module-question-mistake/m-p/5290721#M2805</guid>
      <dc:creator>jlw7595</dc:creator>
      <dc:date>2025-05-14T16:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: DEVASC200-901 OSG .. yang module question/mistake?</title>
      <link>https://community.cisco.com/t5/devnet-general-discussions/devasc200-901-osg-yang-module-question-mistake/m-p/5290752#M2806</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1854328"&gt;@jlw7595&lt;/a&gt;&amp;nbsp;yes as far as iknow you cannot use the "yang:" prefix to access types from the ietf-inet-types module when you have&amp;nbsp; only imported ietf-yang-types.&amp;nbsp;They are distinct modules, and so each needs to be imported separately with its own prefix.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps the intention of this paragraph is to illustrate the general mechanism of using a prefix after an import, with ietf-yang-types as the initial example. I dont have this books to hand, and it been years since i read it, so it could be the&amp;nbsp;&lt;EM&gt;next&lt;/EM&gt;&amp;nbsp;parts would introduce additional modules and clarify that each requires its own import and prefix.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Difficult to say is this is updated in the next version of the book to align with the v2, some books sections remain very much the same and only sections/chapter change per the exam blue print.&lt;/P&gt;
&lt;P&gt;Hope this helps here.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 17:04:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-general-discussions/devasc200-901-osg-yang-module-question-mistake/m-p/5290752#M2806</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2025-05-14T17:04:02Z</dc:date>
    </item>
  </channel>
</rss>

