<?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: Hitting errors while generating ydk model files for xr yang files in Tools</title>
    <link>https://community.cisco.com/t5/tools/hitting-errors-while-generating-ydk-model-files-for-xr-yang/m-p/4185438#M1706</link>
    <description>&lt;P&gt;You need to follow all the pyang errors and resolve them before you build the bundle (model API), meaning add all missing modules to the YANG models directory, and resolve all the errors in the models. Alternatively you can reduce number of YANG models in directory or limit set of files in the bundle profile. In both cases you need to have clean model check before you can build the bundle.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 18:42:44 GMT</pubDate>
    <dc:creator>yangorelik</dc:creator>
    <dc:date>2020-11-18T18:42:44Z</dc:date>
    <item>
      <title>Hitting errors while generating ydk model files for xr yang files</title>
      <link>https://community.cisco.com/t5/tools/hitting-errors-while-generating-ydk-model-files-for-xr-yang/m-p/4184533#M1705</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We followed the exact procedure mentioned in wiki&amp;nbsp;&lt;A title="https://wwwin-github.cisco.com/cafy/cafykit/wiki/YDK-model-updation-in-Cafykit-environment" href="https://wwwin-github.cisco.com/cafy/cafykit/wiki/YDK-model-updation-in-Cafykit-environment" target="_blank" rel="noopener"&gt;https://wwwin-github.cisco.com/cafy/cafykit/wiki/YDK-model-updation-in-Cafykit-environment&lt;/A&gt; but still hitting errors.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(venv) bash-4.2$ pyang *.yang&lt;/P&gt;
&lt;P&gt;Cisco-IOS-XR-config-valid-ccv-oper.yang:11: error: module "Cisco-IOS-XR-config-valid-ccv-oper-sub2" not found in search path&lt;/P&gt;
&lt;P&gt;Cisco-IOS-XR-config-valid-ccv-oper.yang:76: error: grouping "CCV-YVE-VALIDATION-FAILURE-ITEM-BAG" not found in module Cisco-IOS-XR-config-valid-ccv-oper&lt;/P&gt;
&lt;P&gt;Cisco-IOS-XR-config-valid-ccv-oper.yang:92: error: grouping "CCV-YVE-VALIDATION-FAILURE-ITEM-BAG" not found in module Cisco-IOS-XR-config-valid-ccv-oper&lt;/P&gt;
&lt;P&gt;openconfig-interfaces.yang:177: error: openconfig-bfd:interface in the path for subinterface at openconfig-bfd.yang:742 (at openconfig-interfaces.yang:173) is not found&lt;/P&gt;
&lt;P&gt;openconfig-interfaces.yang:177: error: openconfig-bfd:interface in the path for subinterface at openconfig-bfd.yang:742 (at openconfig-interfaces.yang:173) is not found&lt;/P&gt;
&lt;P&gt;openconfig-interfaces.yang:177: error: openconfig-if-tunnel:interface in the path for subinterface at openconfig-if-tunnel.yang:118 (at openconfig-interfaces.yang:173) is not found&lt;/P&gt;
&lt;P&gt;openconfig-interfaces.yang:177: error: openconfig-if-tunnel:interface in the path for subinterface at openconfig-if-tunnel.yang:118 (at openconfig-interfaces.yang:173) is not found&lt;/P&gt;
&lt;P&gt;openconfig-interfaces.yang:177: error: openconfig-if-tunnel:interface in the path for subinterface at openconfig-if-tunnel.yang:118 (at openconfig-interfaces.yang:173) is not found&lt;/P&gt;
&lt;P&gt;openconfig-interfaces.yang:177: error: openconfig-if-tunnel:interface in the path for subinterface at openconfig-if-tunnel.yang:118 (at openconfig-interfaces.yang:173) is not found&lt;/P&gt;
&lt;P&gt;openconfig-interfaces.yang:177: error: openconfig-network-instance:interface in the path for subinterface at openconfig-network-instance.yang:1000 (at openconfig-interfaces.yang:173) is not found&lt;/P&gt;
&lt;P&gt;openconfig-interfaces.yang:177: error: openconfig-network-instance:interface in the path for subinterface at openconfig-network-instance.yang:1000 (at openconfig-interfaces.yang:173) is not found&lt;/P&gt;
&lt;P&gt;openconfig-interfaces.yang:177: error: openconfig-network-instance:interface in the path for subinterface at openconfig-network-instance.yang:1000 (at openconfig-interfaces.yang:173) is not found&lt;/P&gt;
&lt;P&gt;sysdef_datapath.yang:18: error: module "sysdef_ext" not found in search path&lt;/P&gt;
&lt;P&gt;tailf-netconf-monitoring.yang:187: error: node ietf-netconf-monitoring::datastores is not found&lt;/P&gt;
&lt;P&gt;tailf-netconf-monitoring.yang:201: error: node ietf-netconf-monitoring::datastores is not found&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(venv) bash-4.2$ pip freeze&lt;BR /&gt;alabaster==0.7.12&lt;BR /&gt;Babel==2.8.0&lt;BR /&gt;bcrypt==3.2.0&lt;BR /&gt;cffi==1.14.3&lt;BR /&gt;cryptography==3.1.1&lt;BR /&gt;docutils==0.16&lt;BR /&gt;enum34==1.1.3&lt;BR /&gt;gitdb==0.6.4&lt;BR /&gt;GitPython==1.0.1&lt;BR /&gt;imagesize==1.2.0&lt;BR /&gt;Jinja2==2.11.2&lt;BR /&gt;lxml==4.5.2&lt;BR /&gt;MarkupSafe==1.1.1&lt;BR /&gt;ncclient==0.6.9&lt;BR /&gt;paramiko==2.7.2&lt;BR /&gt;pyang==1.6&lt;BR /&gt;pycparser==2.20&lt;BR /&gt;Pygments==2.7.1&lt;BR /&gt;PyNaCl==1.4.0&lt;BR /&gt;pytz==2020.1&lt;BR /&gt;rstr==2.2.6&lt;BR /&gt;six==1.15.0&lt;BR /&gt;smmap==3.0.4&lt;BR /&gt;snowballstemmer==2.0.0&lt;BR /&gt;Sphinx==1.4a1&lt;BR /&gt;sphinx-rtd-theme==0.1.9&lt;BR /&gt;(venv) bash-4.2$&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 07:02:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/hitting-errors-while-generating-ydk-model-files-for-xr-yang/m-p/4184533#M1705</guid>
      <dc:creator>amuppall</dc:creator>
      <dc:date>2020-11-17T07:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hitting errors while generating ydk model files for xr yang files</title>
      <link>https://community.cisco.com/t5/tools/hitting-errors-while-generating-ydk-model-files-for-xr-yang/m-p/4185438#M1706</link>
      <description>&lt;P&gt;You need to follow all the pyang errors and resolve them before you build the bundle (model API), meaning add all missing modules to the YANG models directory, and resolve all the errors in the models. Alternatively you can reduce number of YANG models in directory or limit set of files in the bundle profile. In both cases you need to have clean model check before you can build the bundle.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 18:42:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/hitting-errors-while-generating-ydk-model-files-for-xr-yang/m-p/4185438#M1706</guid>
      <dc:creator>yangorelik</dc:creator>
      <dc:date>2020-11-18T18:42:44Z</dc:date>
    </item>
  </channel>
</rss>

