<?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 Is YANG Development Kit maintained? Should I look for alternatives? in Tools</title>
    <link>https://community.cisco.com/t5/tools/is-yang-development-kit-maintained-should-i-look-for/m-p/4557494#M1493</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What come below may come across as complaints, but my intent is constructive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been experimenting with ydk-cpp and ydk-py from the &lt;STRONG&gt;YANG Development Kit&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I have tried to get it working on Fedora 35, CentOS 8 and Ubuntu, but I experience build issues and application crashes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on documents and sample code it seems to be just what I need, if it would work on a non-Legacy platform. i.e CentOS 7 does not comply. (-:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The more I dig into the issues it becomes apparent that this is not maintained?&lt;/P&gt;&lt;P&gt;I find dependencies on retired projects, and build issues even on CentOS 8 stream.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Issues &lt;STRONG&gt;ydk-cpp&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use of retired libnetconf&lt;UL&gt;&lt;LI&gt;The fork reference in CMakeLists does not compile on CentOS 8, due to changes in libssh. CESNET/libnetconf fixed this with &lt;A href="https://github.com/CESNET/libnetconf/commit/159e155ffc0a98e2d74dcada0ea5868a5f7c59b9" target="_blank"&gt;https://github.com/CESNET/libnetconf/commit/159e155ffc0a98e2d74dcada0ea5868a5f7c59b9&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Switching to use libnetconf from &lt;A href="https://github.com/CESNET/libnetconf/commit/159e155ffc0a98e2d74dcada0ea5868a5f7c59b9" target="_blank"&gt;https://github.com/CESNET/libnetconf&lt;/A&gt; instead of the fork&lt;/LI&gt;&lt;LI&gt;But, looking at &lt;A href="https://github.com/CESNET/libnetconf" target="_self"&gt;https://github.com/CESNET/libnetconf&lt;/A&gt; it states that this is no longer maintained&lt;BR /&gt;&lt;PRE&gt;In 2016 we have moved our activity to libyang and libnetconf2.&lt;BR /&gt;The tools became mature in 2017 so the original libnetconf is&lt;BR /&gt;no more maintainedfrom that time.&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;On Ubuntu Focal the build fails on the ssh_threads, similar to the CentOS 8 issue. ssh_threads is no more, the symbols are in libssh since version 0.8.x afict.&lt;BR /&gt;&lt;PRE&gt;CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ssh_threads_location
    linked by target "ydk" in directory /root/ydk-cpp/core/ydk&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;On Fedora 35 the libnetconfig fork referenced in ydk-cpp does compile, since Fedora ship a symlink:&lt;PRE&gt;# ls -l /usr/lib64/libssh_threads.so
lrwxrwxrwx. 1 root root 11 Sep 21 17:51 /usr/lib64/libssh_threads.so -&amp;gt; libssh.so.4&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Issue &lt;STRONG&gt;ydk-py&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;After compiling ydk-cpp core (libydk) and installing ydk-py (ydk-models-openconfig) from pypi I get seg-fault issues&lt;BR /&gt;&lt;PRE&gt;Stack trace of thread 2535:
#0  0x00007f9c9af57591 method_dealloc (libpython3.10.so.1.0 + 0x127591)
#1  0x00007f9c9a3b4499 n/a (/home/rpmbuild/venv-ydk/lib/python3.10/site-packages/ydk_.so + 0x278499)&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;Debug log from my test application, I just get to doing NetconfServiceProvider() and then it crashes.&lt;BR /&gt;&lt;PRE&gt;2022-02-22 16:28:49,869 - ydk - DEBUG - Trace: Publickey athentication
2022-02-22 16:28:49,869 - ydk - DEBUG - Trace: Trying to authenticate using pair /home/rpmbuild/ml2netconf /home/rpmbuild/ml2netconf.pub
2022-02-22 16:28:49,941 - ydk - DEBUG - Trace: Writing message (session &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"&amp;gt;
  &amp;lt;capabilities&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:base:1.0&amp;lt;/capability&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:base:1.1&amp;lt;/capability&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:writable-running:1.0&amp;lt;/capability&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:candidate:1.0&amp;lt;/capability&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:startup:1.0&amp;lt;/capability&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:rollback-on-error:1.0&amp;lt;/capability&amp;gt;
  &amp;lt;/capabilities&amp;gt;
&amp;lt;/hello&amp;gt;

2022-02-22 16:28:49,995 - ydk - DEBUG - Trace: Received message (session &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"&amp;gt;
    &amp;lt;capabilities&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:base:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:base:1.1&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:writable-running:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:rollback-on-error:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:candidate:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:validate:1.1&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:confirmed-commit:1.1&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:notification:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:interleave:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=report-all&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;http://cisco.com/ns/yang/cisco-nx-os-device?revision=2021-12-14&amp;amp;amp;module=Cisco-NX-OS-device&amp;lt;/capability&amp;gt;
    &amp;lt;/capabilities&amp;gt;
    &amp;lt;session-id&amp;gt;877771875&amp;lt;/session-id&amp;gt;
&amp;lt;/hello&amp;gt;

2022-02-22 16:28:49,995 - ydk - DEBUG - NetconfSSHClient: NC session status: 1
2022-02-22 16:28:49,996 - ydk - INFO - Path where models are to be downloaded: /home/rpmbuild/.ydk/192.168.24.21
2022-02-22 16:28:49,996 - ydk - DEBUG - Creating libyang context in path: /home/rpmbuild/.ydk/192.168.24.21
2022-02-22 16:28:49,997 - ydk - DEBUG - [libyang] Extension plugin "/usr/local/lib/libyang/libyang_ext_test.so" successfully loaded.
2022-02-22 16:28:49,999 - ydk - DEBUG - [libyang] Extension plugin "/usr/local/lib/libyang/metadata.so" successfully loaded.
2022-02-22 16:28:50,001 - ydk - DEBUG - [libyang] Extension plugin "/usr/local/lib/libyang/nacm.so" successfully loaded.
2022-02-22 16:28:50,001 - ydk - DEBUG - [libyang] Reading module "ietf-yang-metadata".
2022-02-22 16:28:50,001 - ydk - DEBUG - [libyang] Module "ietf-yang-metadata@2016-08-05" successfully parsed as implemented.
2022-02-22 16:28:50,001 - ydk - DEBUG - [libyang] Reading module "yang".
2022-02-22 16:28:50,001 - ydk - DEBUG - [libyang] Resolving "yang" unresolved schema nodes and their constraints...
2022-02-22 16:28:50,002 - ydk - DEBUG - [libyang] All "yang" schema nodes and constraints resolved.
2022-02-22 16:28:50,002 - ydk - DEBUG - [libyang] Module "yang@2017-02-20" successfully parsed as implemented.
2022-02-22 16:28:50,002 - ydk - DEBUG - [libyang] Reading module "ietf-inet-types".
2022-02-22 16:28:50,002 - ydk - DEBUG - [libyang] Resolving derived type "union" failed, it will be attempted later.
2022-02-22 16:28:50,002 - ydk - DEBUG - [libyang] Resolving derived type "union" failed, it will be attempted later.
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] Resolving derived type "union" failed, it will be attempted later.
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] Resolving derived type "union" failed, it will be attempted later.
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] Resolving "ietf-inet-types" unresolved schema nodes and their constraints...
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] All "ietf-inet-types" schema nodes and constraints resolved.
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] Module "ietf-inet-types@2013-07-15" successfully parsed as implemented.
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] Reading module "ietf-yang-types".
2022-02-22 16:28:50,004 - ydk - DEBUG - [libyang] Module "ietf-yang-types@2013-07-15" successfully parsed as implemented.
2022-02-22 16:28:50,004 - ydk - DEBUG - [libyang] Reading module "ietf-datastores".
2022-02-22 16:28:50,004 - ydk - DEBUG - [libyang] Module "ietf-datastores@2017-08-17" successfully parsed as implemented.
2022-02-22 16:28:50,004 - ydk - DEBUG - [libyang] Reading module "ietf-yang-library".
2022-02-22 16:28:50,005 - ydk - DEBUG - [libyang] Module "ietf-yang-library@2017-08-17" successfully parsed as implemented.
2022-02-22 16:28:50,005 - ydk - DEBUG - Loading module 'ydk', revision '2016-02-26'
2022-02-22 16:28:50,005 - ydk - DEBUG - Getting module 'ydk' submodule 'none'
2022-02-22 16:28:50,005 - ydk - DEBUG - Looking for file in folder: /home/rpmbuild/.ydk/192.168.24.21
2022-02-22 16:28:50,005 - ydk - DEBUG - Opening file '/home/rpmbuild/.ydk/192.168.24.21/ydk@2016-02-26.yang'
2022-02-22 16:28:50,005 - ydk - DEBUG - Path found with revision: /home/rpmbuild/.ydk/192.168.24.21/ydk@2016-02-26.yang
2022-02-22 16:28:50,007 - ydk - DEBUG - [libyang] Module "ydk@2016-02-26" successfully parsed as implemented.
2022-02-22 16:28:50,007 - ydk - DEBUG - Loading module 'ietf-netconf', revision '2011-06-01'
2022-02-22 16:28:50,007 - ydk - DEBUG - Getting module 'ietf-netconf' submodule 'none'
2022-02-22 16:28:50,007 - ydk - DEBUG - Looking for file in folder: /home/rpmbuild/.ydk/192.168.24.21
2022-02-22 16:28:50,007 - ydk - DEBUG - Opening file '/home/rpmbuild/.ydk/192.168.24.21/ietf-netconf@2011-06-01.yang'
2022-02-22 16:28:50,007 - ydk - DEBUG - Path found with revision: /home/rpmbuild/.ydk/192.168.24.21/ietf-netconf@2011-06-01.yang
2022-02-22 16:28:50,008 - ydk - DEBUG - [libyang] Module "ietf-netconf@2011-06-01" successfully parsed as implemented.
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ietf-yang-metadata'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'yang'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ietf-inet-types'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ietf-yang-types'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ietf-datastores'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ietf-yang-library'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ydk'
2022-02-22 16:28:50,009 - ydk - DEBUG - Populating new module schema 'ietf-netconf'
2022-02-22 16:28:50,009 - ydk - INFO - Connected to 192.168.24.21 on port 830 using SSH with timeout of -1
2022-02-22 16:28:50,012 - ydk - INFO - Disconnected from device
2022-02-22 16:28:50,013 - ydk - DEBUG - Trace: Writing message (session 877771875): 
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"&amp;gt;
  &amp;lt;close-session/&amp;gt;
&amp;lt;/rpc&amp;gt;

2022-02-22 16:28:50,110 - ydk - DEBUG - Trace: Received message (session 877771875): 
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"&amp;gt;
    &amp;lt;ok/&amp;gt;
&amp;lt;/rpc-reply&amp;gt;

Segmentation fault (core dumped)&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, should I consider YANG Development Kit a non-candidate and move on?&lt;/P&gt;&lt;P&gt;If so are there any alternatives that can be recommended? (I did explore pyangbind, but it too seems non-maintained.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It certainly feels like some maintenance is required, is there a community interest? If so I'm volontaring to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My wishlist:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Switch to libnetconf2&lt;/LI&gt;&lt;LI&gt;Use catch from the distribution (if the distribution ship it.)&lt;/LI&gt;&lt;LI&gt;Use spdlog from the distribution (if the distribution ship it.)&lt;UL&gt;&lt;LI&gt;Fedora ship it&lt;/LI&gt;&lt;LI&gt;Ubuntu Focal ship it&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Use libnetconf2 from the distribution (if the distribution ship it.)&lt;UL&gt;&lt;LI&gt;Fedora does ship it&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Use libyang from the distribution (if the distribution ship it.)&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Ubuntu Focal does ship it&lt;/LI&gt;&lt;LI&gt;Fedora does ship it&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Provide packages in the distributions for libydk, just &lt;STRONG&gt;[apt-get|dnf] install libyang libyang-dev&lt;/STRONG&gt; would make these tools much easier to consume, and as such broaden the user base.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Harald&lt;/P&gt;</description>
    <pubDate>Tue, 22 Feb 2022 17:15:42 GMT</pubDate>
    <dc:creator>hjensas</dc:creator>
    <dc:date>2022-02-22T17:15:42Z</dc:date>
    <item>
      <title>Is YANG Development Kit maintained? Should I look for alternatives?</title>
      <link>https://community.cisco.com/t5/tools/is-yang-development-kit-maintained-should-i-look-for/m-p/4557494#M1493</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What come below may come across as complaints, but my intent is constructive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been experimenting with ydk-cpp and ydk-py from the &lt;STRONG&gt;YANG Development Kit&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I have tried to get it working on Fedora 35, CentOS 8 and Ubuntu, but I experience build issues and application crashes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on documents and sample code it seems to be just what I need, if it would work on a non-Legacy platform. i.e CentOS 7 does not comply. (-:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The more I dig into the issues it becomes apparent that this is not maintained?&lt;/P&gt;&lt;P&gt;I find dependencies on retired projects, and build issues even on CentOS 8 stream.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Issues &lt;STRONG&gt;ydk-cpp&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use of retired libnetconf&lt;UL&gt;&lt;LI&gt;The fork reference in CMakeLists does not compile on CentOS 8, due to changes in libssh. CESNET/libnetconf fixed this with &lt;A href="https://github.com/CESNET/libnetconf/commit/159e155ffc0a98e2d74dcada0ea5868a5f7c59b9" target="_blank"&gt;https://github.com/CESNET/libnetconf/commit/159e155ffc0a98e2d74dcada0ea5868a5f7c59b9&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Switching to use libnetconf from &lt;A href="https://github.com/CESNET/libnetconf/commit/159e155ffc0a98e2d74dcada0ea5868a5f7c59b9" target="_blank"&gt;https://github.com/CESNET/libnetconf&lt;/A&gt; instead of the fork&lt;/LI&gt;&lt;LI&gt;But, looking at &lt;A href="https://github.com/CESNET/libnetconf" target="_self"&gt;https://github.com/CESNET/libnetconf&lt;/A&gt; it states that this is no longer maintained&lt;BR /&gt;&lt;PRE&gt;In 2016 we have moved our activity to libyang and libnetconf2.&lt;BR /&gt;The tools became mature in 2017 so the original libnetconf is&lt;BR /&gt;no more maintainedfrom that time.&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;On Ubuntu Focal the build fails on the ssh_threads, similar to the CentOS 8 issue. ssh_threads is no more, the symbols are in libssh since version 0.8.x afict.&lt;BR /&gt;&lt;PRE&gt;CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ssh_threads_location
    linked by target "ydk" in directory /root/ydk-cpp/core/ydk&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;On Fedora 35 the libnetconfig fork referenced in ydk-cpp does compile, since Fedora ship a symlink:&lt;PRE&gt;# ls -l /usr/lib64/libssh_threads.so
lrwxrwxrwx. 1 root root 11 Sep 21 17:51 /usr/lib64/libssh_threads.so -&amp;gt; libssh.so.4&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Issue &lt;STRONG&gt;ydk-py&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;After compiling ydk-cpp core (libydk) and installing ydk-py (ydk-models-openconfig) from pypi I get seg-fault issues&lt;BR /&gt;&lt;PRE&gt;Stack trace of thread 2535:
#0  0x00007f9c9af57591 method_dealloc (libpython3.10.so.1.0 + 0x127591)
#1  0x00007f9c9a3b4499 n/a (/home/rpmbuild/venv-ydk/lib/python3.10/site-packages/ydk_.so + 0x278499)&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;Debug log from my test application, I just get to doing NetconfServiceProvider() and then it crashes.&lt;BR /&gt;&lt;PRE&gt;2022-02-22 16:28:49,869 - ydk - DEBUG - Trace: Publickey athentication
2022-02-22 16:28:49,869 - ydk - DEBUG - Trace: Trying to authenticate using pair /home/rpmbuild/ml2netconf /home/rpmbuild/ml2netconf.pub
2022-02-22 16:28:49,941 - ydk - DEBUG - Trace: Writing message (session &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"&amp;gt;
  &amp;lt;capabilities&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:base:1.0&amp;lt;/capability&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:base:1.1&amp;lt;/capability&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:writable-running:1.0&amp;lt;/capability&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:candidate:1.0&amp;lt;/capability&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:startup:1.0&amp;lt;/capability&amp;gt;
    &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:rollback-on-error:1.0&amp;lt;/capability&amp;gt;
  &amp;lt;/capabilities&amp;gt;
&amp;lt;/hello&amp;gt;

2022-02-22 16:28:49,995 - ydk - DEBUG - Trace: Received message (session &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"&amp;gt;
    &amp;lt;capabilities&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:base:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:base:1.1&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:writable-running:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:rollback-on-error:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:candidate:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:validate:1.1&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:confirmed-commit:1.1&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:notification:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:interleave:1.0&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=report-all&amp;lt;/capability&amp;gt;
        &amp;lt;capability&amp;gt;http://cisco.com/ns/yang/cisco-nx-os-device?revision=2021-12-14&amp;amp;amp;module=Cisco-NX-OS-device&amp;lt;/capability&amp;gt;
    &amp;lt;/capabilities&amp;gt;
    &amp;lt;session-id&amp;gt;877771875&amp;lt;/session-id&amp;gt;
&amp;lt;/hello&amp;gt;

2022-02-22 16:28:49,995 - ydk - DEBUG - NetconfSSHClient: NC session status: 1
2022-02-22 16:28:49,996 - ydk - INFO - Path where models are to be downloaded: /home/rpmbuild/.ydk/192.168.24.21
2022-02-22 16:28:49,996 - ydk - DEBUG - Creating libyang context in path: /home/rpmbuild/.ydk/192.168.24.21
2022-02-22 16:28:49,997 - ydk - DEBUG - [libyang] Extension plugin "/usr/local/lib/libyang/libyang_ext_test.so" successfully loaded.
2022-02-22 16:28:49,999 - ydk - DEBUG - [libyang] Extension plugin "/usr/local/lib/libyang/metadata.so" successfully loaded.
2022-02-22 16:28:50,001 - ydk - DEBUG - [libyang] Extension plugin "/usr/local/lib/libyang/nacm.so" successfully loaded.
2022-02-22 16:28:50,001 - ydk - DEBUG - [libyang] Reading module "ietf-yang-metadata".
2022-02-22 16:28:50,001 - ydk - DEBUG - [libyang] Module "ietf-yang-metadata@2016-08-05" successfully parsed as implemented.
2022-02-22 16:28:50,001 - ydk - DEBUG - [libyang] Reading module "yang".
2022-02-22 16:28:50,001 - ydk - DEBUG - [libyang] Resolving "yang" unresolved schema nodes and their constraints...
2022-02-22 16:28:50,002 - ydk - DEBUG - [libyang] All "yang" schema nodes and constraints resolved.
2022-02-22 16:28:50,002 - ydk - DEBUG - [libyang] Module "yang@2017-02-20" successfully parsed as implemented.
2022-02-22 16:28:50,002 - ydk - DEBUG - [libyang] Reading module "ietf-inet-types".
2022-02-22 16:28:50,002 - ydk - DEBUG - [libyang] Resolving derived type "union" failed, it will be attempted later.
2022-02-22 16:28:50,002 - ydk - DEBUG - [libyang] Resolving derived type "union" failed, it will be attempted later.
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] Resolving derived type "union" failed, it will be attempted later.
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] Resolving derived type "union" failed, it will be attempted later.
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] Resolving "ietf-inet-types" unresolved schema nodes and their constraints...
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] All "ietf-inet-types" schema nodes and constraints resolved.
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] Module "ietf-inet-types@2013-07-15" successfully parsed as implemented.
2022-02-22 16:28:50,003 - ydk - DEBUG - [libyang] Reading module "ietf-yang-types".
2022-02-22 16:28:50,004 - ydk - DEBUG - [libyang] Module "ietf-yang-types@2013-07-15" successfully parsed as implemented.
2022-02-22 16:28:50,004 - ydk - DEBUG - [libyang] Reading module "ietf-datastores".
2022-02-22 16:28:50,004 - ydk - DEBUG - [libyang] Module "ietf-datastores@2017-08-17" successfully parsed as implemented.
2022-02-22 16:28:50,004 - ydk - DEBUG - [libyang] Reading module "ietf-yang-library".
2022-02-22 16:28:50,005 - ydk - DEBUG - [libyang] Module "ietf-yang-library@2017-08-17" successfully parsed as implemented.
2022-02-22 16:28:50,005 - ydk - DEBUG - Loading module 'ydk', revision '2016-02-26'
2022-02-22 16:28:50,005 - ydk - DEBUG - Getting module 'ydk' submodule 'none'
2022-02-22 16:28:50,005 - ydk - DEBUG - Looking for file in folder: /home/rpmbuild/.ydk/192.168.24.21
2022-02-22 16:28:50,005 - ydk - DEBUG - Opening file '/home/rpmbuild/.ydk/192.168.24.21/ydk@2016-02-26.yang'
2022-02-22 16:28:50,005 - ydk - DEBUG - Path found with revision: /home/rpmbuild/.ydk/192.168.24.21/ydk@2016-02-26.yang
2022-02-22 16:28:50,007 - ydk - DEBUG - [libyang] Module "ydk@2016-02-26" successfully parsed as implemented.
2022-02-22 16:28:50,007 - ydk - DEBUG - Loading module 'ietf-netconf', revision '2011-06-01'
2022-02-22 16:28:50,007 - ydk - DEBUG - Getting module 'ietf-netconf' submodule 'none'
2022-02-22 16:28:50,007 - ydk - DEBUG - Looking for file in folder: /home/rpmbuild/.ydk/192.168.24.21
2022-02-22 16:28:50,007 - ydk - DEBUG - Opening file '/home/rpmbuild/.ydk/192.168.24.21/ietf-netconf@2011-06-01.yang'
2022-02-22 16:28:50,007 - ydk - DEBUG - Path found with revision: /home/rpmbuild/.ydk/192.168.24.21/ietf-netconf@2011-06-01.yang
2022-02-22 16:28:50,008 - ydk - DEBUG - [libyang] Module "ietf-netconf@2011-06-01" successfully parsed as implemented.
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ietf-yang-metadata'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'yang'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ietf-inet-types'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ietf-yang-types'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ietf-datastores'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ietf-yang-library'
2022-02-22 16:28:50,008 - ydk - DEBUG - Populating new module schema 'ydk'
2022-02-22 16:28:50,009 - ydk - DEBUG - Populating new module schema 'ietf-netconf'
2022-02-22 16:28:50,009 - ydk - INFO - Connected to 192.168.24.21 on port 830 using SSH with timeout of -1
2022-02-22 16:28:50,012 - ydk - INFO - Disconnected from device
2022-02-22 16:28:50,013 - ydk - DEBUG - Trace: Writing message (session 877771875): 
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"&amp;gt;
  &amp;lt;close-session/&amp;gt;
&amp;lt;/rpc&amp;gt;

2022-02-22 16:28:50,110 - ydk - DEBUG - Trace: Received message (session 877771875): 
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"&amp;gt;
    &amp;lt;ok/&amp;gt;
&amp;lt;/rpc-reply&amp;gt;

Segmentation fault (core dumped)&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, should I consider YANG Development Kit a non-candidate and move on?&lt;/P&gt;&lt;P&gt;If so are there any alternatives that can be recommended? (I did explore pyangbind, but it too seems non-maintained.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It certainly feels like some maintenance is required, is there a community interest? If so I'm volontaring to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My wishlist:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Switch to libnetconf2&lt;/LI&gt;&lt;LI&gt;Use catch from the distribution (if the distribution ship it.)&lt;/LI&gt;&lt;LI&gt;Use spdlog from the distribution (if the distribution ship it.)&lt;UL&gt;&lt;LI&gt;Fedora ship it&lt;/LI&gt;&lt;LI&gt;Ubuntu Focal ship it&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Use libnetconf2 from the distribution (if the distribution ship it.)&lt;UL&gt;&lt;LI&gt;Fedora does ship it&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Use libyang from the distribution (if the distribution ship it.)&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Ubuntu Focal does ship it&lt;/LI&gt;&lt;LI&gt;Fedora does ship it&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Provide packages in the distributions for libydk, just &lt;STRONG&gt;[apt-get|dnf] install libyang libyang-dev&lt;/STRONG&gt; would make these tools much easier to consume, and as such broaden the user base.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Harald&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 17:15:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/is-yang-development-kit-maintained-should-i-look-for/m-p/4557494#M1493</guid>
      <dc:creator>hjensas</dc:creator>
      <dc:date>2022-02-22T17:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is YANG Development Kit maintained? Should I look for alternatives</title>
      <link>https://community.cisco.com/t5/tools/is-yang-development-kit-maintained-should-i-look-for/m-p/4557509#M1494</link>
      <description>&lt;P&gt;Hi Harald&lt;/P&gt;
&lt;P&gt;The YDK language specific repositories (ydk-cpp, ydk-py, ydk-go) are holding old release (0.8.4) and&lt;I&gt;&amp;nbsp;&lt;/I&gt;not maintained anymore. Please move to YDK version &lt;A href="https://github.com/ygorelik/ydk-gen" target="_self"&gt;0.8.6&lt;/A&gt;, which supports newer platforms like Centos-8 and Ubuntu-20.&lt;/P&gt;
&lt;P&gt;With regards to switching to libssh2 and libnetconf2. Unfortunately these are not in the current plans due to lack of resources.&lt;/P&gt;
&lt;P&gt;Yan Gorelik&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1761"&gt;@cisco&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 18:06:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/is-yang-development-kit-maintained-should-i-look-for/m-p/4557509#M1494</guid>
      <dc:creator>ygorelik</dc:creator>
      <dc:date>2022-02-22T18:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is YANG Development Kit maintained? Should I look for alternatives</title>
      <link>https://community.cisco.com/t5/tools/is-yang-development-kit-maintained-should-i-look-for/m-p/4557523#M1495</link>
      <description>&lt;P&gt;Hi Yan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the quick reply!&lt;/P&gt;&lt;P&gt;I will check out ydk-gen repo, I notice the 0.8.6 version is only in your personal fork.&lt;/P&gt;&lt;P&gt;Will your commits be pulled into CiscoDevNet/ydk-gen at some point?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Harald&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 18:31:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/is-yang-development-kit-maintained-should-i-look-for/m-p/4557523#M1495</guid>
      <dc:creator>hjensas</dc:creator>
      <dc:date>2022-02-22T18:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is YANG Development Kit maintained? Should I look for alternatives</title>
      <link>https://community.cisco.com/t5/tools/is-yang-development-kit-maintained-should-i-look-for/m-p/4557686#M1496</link>
      <description>At this point I do not have admin privileges over CiscoDevNet/ydk-gen repository. Therefore, please use my fork ygorelik/ydk-gen, which has latest, most updated YDK code and documentation.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Yan&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2022 00:35:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/is-yang-development-kit-maintained-should-i-look-for/m-p/4557686#M1496</guid>
      <dc:creator>ygorelik</dc:creator>
      <dc:date>2022-02-23T00:35:09Z</dc:date>
    </item>
  </channel>
</rss>

