<?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: Few yang models are missing in the complied ydk-models-cisco-ios-xr package in Tools</title>
    <link>https://community.cisco.com/t5/tools/few-yang-models-are-missing-in-the-complied-ydk-models-cisco-ios/m-p/4048154#M2059</link>
    <description>&lt;P&gt;Hi Kousalya&lt;/P&gt;&lt;P&gt;The YDK is not built to work with Pyang 1.7. If you want to work with current YDK releases of 0.5.5 or 0.8.4, you have to downgrade your Pyang installation to 1.6.&lt;/P&gt;&lt;P&gt;Also. When building the model bundle with generate.py you can use '-v' flag to enable debugging logging. That will help you to identify the issues with 'um' modules.&lt;/P&gt;&lt;P&gt;Regarding enhancement. I am not a Cisco employee anymore and not in position to provide you with requested help. If your team is really need this and other YDK enhancement, please talk to your managers, who should find internal resources or hire me to do this work.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Mar 2020 16:11:03 GMT</pubDate>
    <dc:creator>yangorelik</dc:creator>
    <dc:date>2020-03-18T16:11:03Z</dc:date>
    <item>
      <title>Few yang models are missing in the complied ydk-models-cisco-ios-xr package</title>
      <link>https://community.cisco.com/t5/tools/few-yang-models-are-missing-in-the-complied-ydk-models-cisco-ios/m-p/4046763#M2056</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;When tried to compile ydk-models-cisco-ios-xr with latest 7.2.1 models,&amp;nbsp; we could not compile the below UM models for our YDK 0.5.5 environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pyang version : 1.7.4 or later&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cisco-IOS-XR-um-if-arp-cfg.yang&amp;nbsp;&lt;BR /&gt;Cisco-IOS-XR-um-if-bundle-cfg.yang&amp;nbsp;&lt;BR /&gt;Cisco-IOS-XR-um-if-ip-address-cfg.yang&amp;nbsp;&lt;BR /&gt;Cisco-IOS-XR-um-if-tunnel-cfg.yang&amp;nbsp;&lt;BR /&gt;Cisco-IOS-XR-um-if-vrf-cfg.yang&amp;nbsp;&lt;BR /&gt;Cisco-IOS-XR-um-traps-mpls-ldp-cfg.yang&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are not able to isolate the issue as there are no specific errors, but these models are silently ignored. Corresponding .py file for these models are not generated, so we could not import these YANG models in our automation. Could you please help us to get better insight on this, as we are not getting a clue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logs:&lt;/P&gt;&lt;P&gt;(exec-20.03.10) jkalaise@theneer ~ &amp;gt; python&lt;/P&gt;&lt;P&gt;Python 3.5.0 (default, Jun 14 2016, 17:27:33)&lt;/P&gt;&lt;P&gt;[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux&lt;/P&gt;&lt;P&gt;Type "help", "copyright", "credits" or "license" for more information.&lt;/P&gt;&lt;P&gt;import ydk&lt;/P&gt;&lt;P&gt;from ydk.models.cisco_ios_xr import Cisco_IOS_XR_um_router_static_cfg as xr_um_static_cfg &lt;STRONG&gt;----- Can import this model&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;from ydk.models.cisco_ios_xr import Cisco_IOS_XR_um_if_vrf_cfg as test -----&lt;STRONG&gt; Could not import this as we could not generate .py out of this YANG and no error reported, it was siliently ignored&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;ImportError: cannot import name 'Cisco_IOS_XR_um_if_vrf_cfg'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kousalya&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 17:45:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/few-yang-models-are-missing-in-the-complied-ydk-models-cisco-ios/m-p/4046763#M2056</guid>
      <dc:creator>kmathiya</dc:creator>
      <dc:date>2020-03-16T17:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Few yang models are missing in the complied ydk-models-cisco-ios-xr package</title>
      <link>https://community.cisco.com/t5/tools/few-yang-models-are-missing-in-the-complied-ydk-models-cisco-ios/m-p/4047025#M2057</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Kousalya&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is expected outcome, because YDK currently does not support YANG 1.1. The installation of pyang 1.7 is also not supported, because its API is not compatible with pyang 1.6, which is one of requirements for YDK-0.5.5 installation.&lt;/P&gt;&lt;P&gt;Cisco needs to find resources to address this very important enhancement.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 06:03:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/few-yang-models-are-missing-in-the-complied-ydk-models-cisco-ios/m-p/4047025#M2057</guid>
      <dc:creator>yangorelik</dc:creator>
      <dc:date>2020-03-17T06:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Few yang models are missing in the complied ydk-models-cisco-ios-xr package</title>
      <link>https://community.cisco.com/t5/tools/few-yang-models-are-missing-in-the-complied-ydk-models-cisco-ios/m-p/4047763#M2058</link>
      <description>&lt;P&gt;Hi Yan,&lt;/P&gt;&lt;P&gt;Thank you so much for your reply.&lt;/P&gt;&lt;P&gt;I have few more queries on this compilation issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I tried upgrading to pyang 1.7.4 in YDK0.5.5 env,&amp;nbsp; able to compile models without any errors( UM models were missing in Package)&lt;/P&gt;&lt;P&gt;2. Generated same package with YDK 0.8.3 + pyang 1.7.4 and found UM models are missing in that as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per your comment, API is not compatible with 1.6 and cannot upgrade to Pyang 1.7.4 in YDK0.5.5 env.&lt;/P&gt;&lt;P&gt;Please correct me if I am wrong, I am able to upgrade Pyang 1.7.4 in both YDK0.5.5 and YDK0.8.3, able to generate pkg but UM models are not added.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also could you help me with exact requirement to get this enhancement added. So that I can request CISCO dev team to address the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kousalya&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 05:50:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/few-yang-models-are-missing-in-the-complied-ydk-models-cisco-ios/m-p/4047763#M2058</guid>
      <dc:creator>kmathiya</dc:creator>
      <dc:date>2020-03-18T05:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Few yang models are missing in the complied ydk-models-cisco-ios-xr package</title>
      <link>https://community.cisco.com/t5/tools/few-yang-models-are-missing-in-the-complied-ydk-models-cisco-ios/m-p/4048154#M2059</link>
      <description>&lt;P&gt;Hi Kousalya&lt;/P&gt;&lt;P&gt;The YDK is not built to work with Pyang 1.7. If you want to work with current YDK releases of 0.5.5 or 0.8.4, you have to downgrade your Pyang installation to 1.6.&lt;/P&gt;&lt;P&gt;Also. When building the model bundle with generate.py you can use '-v' flag to enable debugging logging. That will help you to identify the issues with 'um' modules.&lt;/P&gt;&lt;P&gt;Regarding enhancement. I am not a Cisco employee anymore and not in position to provide you with requested help. If your team is really need this and other YDK enhancement, please talk to your managers, who should find internal resources or hire me to do this work.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 16:11:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/few-yang-models-are-missing-in-the-complied-ydk-models-cisco-ios/m-p/4048154#M2059</guid>
      <dc:creator>yangorelik</dc:creator>
      <dc:date>2020-03-18T16:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Few yang models are missing in the complied ydk-models-cisco-ios-xr package</title>
      <link>https://community.cisco.com/t5/tools/few-yang-models-are-missing-in-the-complied-ydk-models-cisco-ios/m-p/4061191#M2060</link>
      <description>&lt;P&gt;I don't think your models are missing.&amp;nbsp; Make sure you understand the structure of the YANG modules.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Cisco-IOS-XR-um-if-* are augmentations of&amp;nbsp;Cisco-IOS-XR-um-interfaces-cfg.&amp;nbsp; You won't see separate Python modules for the augmentations.&amp;nbsp; All data nodes should resides under the Cisco_IOS-XR_um_interfaces_cfg module.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cisco-IOS-XR-um-traps-mpls-ldp-cfg is also an augmentation.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 19:49:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/few-yang-models-are-missing-in-the-complied-ydk-models-cisco-ios/m-p/4061191#M2060</guid>
      <dc:creator>saalvare</dc:creator>
      <dc:date>2020-04-07T19:49:06Z</dc:date>
    </item>
  </channel>
</rss>

