Menu

Tree [efba3a] master /
 History

HTTPS access


File Date Author Commit
 debian 2025-05-20 Vladimir Vassilev Vladimir Vassilev [4f66db] Bumped up release version for new 2.15 release ...
 example-modules 2025-07-23 Vladimir Vassilev Vladimir Vassilev [efba3a] Added multistream support. Currently 2 stream l...
 libtecla 2018-05-03 Eric Kinzie Eric Kinzie [67f7d3] add missing files to distribution tarball
 libtoaster 2022-09-23 Vladimir Vassilev Vladimir Vassilev [80a028] libxml2 made optional and only usecases that ac...
 netconf 2025-07-19 Vladimir Vassilev Vladimir Vassilev [f55469] Updated installation instruction for python bin...
 rpm 2019-03-21 Eric Kinzie Eric Kinzie [a3d6c6] update rpm spec for changes to installed files
 .gitignore 2021-08-24 Vincent Bernat Vincent Bernat [39ffe0] Add a simple .gitignore
 CHANGELOG 2025-05-20 Vladimir Vassilev Vladimir Vassilev [4f66db] Bumped up release version for new 2.15 release ...
 Makefile.am 2024-09-07 Vladimir Vassilev Vladimir Vassilev [8359d6] Added experimental agt_fd_event_cb.h API enabli...
 README 2024-09-03 Vladimir Vassilev Vladimir Vassilev [97636f] Removed quotes from subsystem command specifica...
 TODO 2017-07-06 Vladimir Vassilev Vladimir Vassilev [edff49] Removing completed tasks.
 configure.ac 2025-05-20 Vladimir Vassilev Vladimir Vassilev [4f66db] Bumped up release version for new 2.15 release ...
 LICENSE 2021-02-11 Vladimir Vassilev Vladimir Vassilev [fd17f6] Added symbolic link LICENSE -> debian/copyright...

Read Me

Yuma123 README
-----------

==What is Yuma123==
The purpose of the Yuma123 project is to provide an opensource YANG API in C and cli (yangcli) and server (netconfd) YANG automation enabled appications.
Branching from the last BSD licensed branch of the Yuma project the code has evolved in the following direction:
- a more mainstream build system based on autoconf/automake was added
- a number of critical bugs have been fixed
- new IETF standards support was added (ietf-nacm, ietf-system, etc.)
- support was added for new YANG extensions
- added to debian.org repositories

==Compilation==
 #Build dependencies resolution for Debian Bullseye. Replace with appropriate command line if you are not using Debian.
 sudo apt-get install git autoconf automake pkg-config gcc libtool libxml2-dev libssh2-1-dev make libncurses5-dev zlib1g-dev libreadline-dev libssl-dev
 git clone git://git.code.sf.net/p/yuma123/git yuma123-git
 cd yuma123-git
 autoreconf -i -f
 ./configure CFLAGS='-g -O0' CXXFLAGS='-g -O0' --prefix=/usr
 make
 sudo make install

==Configure and start==
 #Runtime dependencies resolution for Debian Bullseye. Replace with appropriate command line if you are not using Debian.
 sudo apt-get install openssh-server

 echo '<config/>' > /tmp/startup-cfg.xml
 /usr/sbin/netconfd --module=helloworld --startup=/tmp/startup-cfg.xml --log-level="debug4" --superuser="$USER"

The server is now started with the example helloworld module.

Tell sshd to listen on port 830. Add the following 2 lines to /etc/ssh/sshd_config:

 Port 830
 Subsystem netconf /usr/sbin/netconf-subsystem --ncxserver-sockname=830@/tmp/ncxserver.sock


Start sshd (on Debian):
 sudo /etc/init.d/ssh restart
 
You can verify everything is OK:

 root@lmf:~# yangcli --user="$USER" --server=localhost --password='mysecretpass'
 ...
 yangcli root@localhost> xget /helloworld-state 
 
 RPC Data Reply 2 for session 3:
 
 rpc-reply {
   data {
     helloworld-state {
       message 'Hello World!'
     }
   }
 }
 
 yangcli root@localhost>

or

 yangcli root@localhost> xget /
 ...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.