Code

junos: Introduced junos_invoke_method().
[libjunos.git] / README
1 libJUNOS
2 ========
4   This is a C client library to access routers running JUNOS software. It
5   offeres an API to connect to the device and issue JUNOScript commands.
7   This is free and open source software, licensed under the 2-clause BSD
8   license. See COPYING for details.
10 Prerequisites
11 -------------
13   To compile the libJUNOS package from source you need:
15   * A build environment: autotools, libtool, C compiler, ...
17   * A POSIX + Single UNIX Specification compatible C library.
19   * libssh2:
20     SSH client library used to connect to the router.
22   * libxml2:
23     GNOME XML library used to parse responses from the router.
25   * asciidoc, xsltproc:
26     The AsciiDoc text document format is used to write the manpages.
28 Configuring / Compiling / Installing
29 ------------------------------------
31   To configure, build and install libJUNOS with the default settings, run
32   `./configure && make && make install'. For detailed, generic instructions
33   see INSTALL. For a complete list of configure options and their description,
34   run `./configure --help'.
36   By default, libJUNOS will be installed into `/opt/libjunos'. You can adjust
37   this setting by specifying the `--prefix' configure option - see INSTALL for
38   details. If you pass DESTDIR=<path> to `make install', <path> will be
39   prefixed to all installation directories. This might be useful when creating
40   packages for libJUNOS.
42 Author
43 ------
45   Sebastian "tokkee" Harl <sh@tokkee.org>