No description
Find a file
2017-05-26 11:31:04 +02:00
apps docs 2017-05-07 18:50:38 +02:00
datastore debugging text datastore, pretty-print datastore 2017-05-26 11:31:04 +02:00
doc docs 2017-05-07 19:03:10 +02:00
docker dual license 2016-12-30 16:14:48 +01:00
etc dual license 2016-12-30 16:14:48 +01:00
example docs 2017-05-07 18:11:20 +02:00
include Removed curl dependency 2017-04-10 21:52:39 +02:00
lib Strings in xmldb_put not properly encoded, eg eth/0 became eth.00000 2017-05-25 15:10:51 +02:00
test docs 2017-05-07 19:03:10 +02:00
CHANGELOG.md Strings in xmldb_put not properly encoded, eg eth/0 became eth.00000 2017-05-25 15:10:51 +02:00
clixon.conf.cpp.cpp docs 2017-05-01 16:50:22 +02:00
clixon.mk.cpp dual license 2016-12-30 16:14:48 +01:00
config.guess Inital commit 2016-02-22 22:17:30 +01:00
config.sub Inital commit 2016-02-22 22:17:30 +01:00
configure Strings in xmldb_put not properly encoded, eg eth/0 became eth.00000 2017-05-25 15:10:51 +02:00
configure.ac Strings in xmldb_put not properly encoded, eg eth/0 became eth.00000 2017-05-25 15:10:51 +02:00
develop.md Preparing for 3.3.0 2017-05-07 17:38:43 +02:00
install-sh Inital commit 2016-02-22 22:17:30 +01:00
LICENSE.md dual license 2016-12-30 16:14:48 +01:00
Makefile.in Ongoing: xmldb datastore plugin framework 2017-04-08 20:39:04 +02:00
README.md docs 2017-05-07 19:05:01 +02:00

Clixon

Clixon is an automatic configuration manager where you generate interactive CLI, NETCONF, RESTCONF and embedded databases with transaction support from a YANG specification.

Table of contents

Documentation

Installation

A typical installation is as follows:

     configure	       	       # Configure clixon to platform
     make                      # Compile
     sudo make install         # Install libs, binaries, and config-files
     sudo make install-include # Install include files (for compiling)

One example application is provided, a IETF IP YANG datamodel with generated CLI and configuration interface.

Dependencies

Clixon is dependend on the following software packages, which need to exist on the target machine.

  • CLIgen is required for building Clixon. If you need to build and install CLIgen:
    git clone https://github.com/olofhagsand/cligen.git
    cd cligen; configure; make; make install
  • Yacc/bison
  • Lex/Flex
  • Fcgi (if restconf is enabled)
  • Qdbm key-value store (if keyvalue datastore is enabled)

There is no yum/apt/ostree package for Clixon (please help?)

Licenses

Clixon is dual license. Either Apache License, Version 2.0 or GNU General Public License Version 2. You choose.

See LICENSE.md for license, CHANGELOG for recent changes.

Background

We implemented Clixon since we needed a generic configuration tool in several projects, including KTH. Most of these projects were for embedded network and measuring-probe devices. We started with something called Clicon which was based on a key-value specification and data-store. But as time passed new standards evaolved and we started adapting it to XML, Yang and netconf. Finally we made Clixon where the legacy key specification has been replaced completely by YANG and using XML as configuration data. This means that legacy Clicon applications do not run on Clixon.

SDK

clixon sdk

The figure shows the SDK runtime of Clixon.

YANG and XML is at the heart of Clixon. Yang modules are used as a specification for handling XML configuration data. The spec is also used to generate an interactive CLI client as well as provide Netconf and Restconf clients.

The YANG RFC 6020 is implemented with the following exceptions:

  • object-references
  • if-feature
  • unique
  • rpc