apcboston / yuma123 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vlvassilev/yuma123
The yuma123 repository
License: Other
This project forked from vlvassilev/yuma123
The yuma123 repository
License: Other
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 / ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.