-
Notifications
You must be signed in to change notification settings - Fork 4
vlvassilev/litenc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
litenc - light NETCONF session framer API allowing the user full control without going through any XML validation of the PDUs. litenc can be easily extended with wrappers doing more based on the simple core functionality see litenc_lxml. The entire litenc API is composed of 4+1 functions: * connect * send * receive * close ** rpc - is a sequence of send and receive calls. Handy when you do not need the full control provided by send and receive. For short example check: scripts/netconf_get - script connecting to netconf server sending <get> RPC and printing to the standard output the reply XML. Installation: sudo apt-get -y install python python-lxml libxml2-utils python-paramiko sudo python setup.py install cd tntapi sudo python setup.py install # In case you use yangrpc with yangcli syntax (recommended) you have to install yuma123 with client side python support yangrpc/yangcli cd ~ git clone https://github.com/vlvassilev/yuma123.git cd yuma123 apt-get -y install libxml2-dev libssh2-1-dev libncurses5-dev zlib1g-dev libreadline-dev libssl-dev autoreconf -i -f ./configure CFLAGS="-g -O0" CXXFLAGS="-g -O0" --prefix=/usr make make install cd netconf/python apt-get -y install python-all-dev autoreconf -i -f ./configure CFLAGS="-g -O0" CXXFLAGS="-g -O0" --prefix=/usr make make install python setup.py install Done.
About
NETCONF session framer.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published