pkg-yuma123 Code
Brought to you by:
vlvassilev
File | Date | Author | Commit |
---|---|---|---|
debian | 2017-09-30 | Vladimir Vassilev | [f2d0d6] Release 2.10-1 |
example-modules | 2017-09-30 | Vladimir Vassilev | [2b27a3] Imported Upstream version 2.10 |
libtecla | 2016-08-20 | Vladimir Vassilev | [89708d] Imported Upstream version 2.9 |
libtoaster | 2017-09-30 | Vladimir Vassilev | [2b27a3] Imported Upstream version 2.10 |
netconf | 2017-09-30 | Vladimir Vassilev | [2b27a3] Imported Upstream version 2.10 |
CHANGELOG | 2017-09-30 | Vladimir Vassilev | [2b27a3] Imported Upstream version 2.10 |
Makefile.am | 2017-09-30 | Vladimir Vassilev | [2b27a3] Imported Upstream version 2.10 |
README | 2017-09-30 | Vladimir Vassilev | [2b27a3] Imported Upstream version 2.10 |
TODO | 2017-09-30 | Vladimir Vassilev | [2b27a3] Imported Upstream version 2.10 |
configure.ac | 2017-09-30 | Vladimir Vassilev | [2b27a3] Imported Upstream version 2.10 |
Yuma123 README ----------- ==What is Yuma123== The purpose of the Yuma123 project is to provide an opensource YANG API in C and netconf cli (yangcli) and server (netconfd) 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 ==Checkout, Build and Installation steps (ment for Debian should be easy to figure out on other systems)== ===Option 1: Install from the Debian repository== sudo add-apt-repository "deb http://yuma123.org/repos/apt/debian jessie main" wget -O - http://yuma123.org/repos/yuma123.gpg.key | sudo apt-key add - sudo apt-get install netconfd yangcli ===Option 2: Build from source=== sudo apt-get install git autoconf gcc libtool libxml2-dev libssh2-1-dev make libncurses5-dev zlib1g-dev libreadline-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== touch /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" sudo /etc/init.d/ssh restart You can verify everything is OK: yangcli --user="$USER" --server=localhost ... xget /helloworld or xget /