Skip to content

clicon/clixon-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Examples

This repo consists of examples broken out from the main clixon repository. The intention is to show how clixon can be used and submissions are welcome.

To start with, the examples are generated OAM modules from YANG, but lacking backend semantics. You can configure, using generated CLI, Netconf or Restconf, but nothing "happens".

The examples include a local install and docker build (which can run directly from dockerhub).

Simple CI smoketest, just start a docker and run show version

Build and install:

Single native installation example

Example: wifi host installation

> ./configure
> cd wifi/src
> make
> sudo make install  # Install example applications locally

Single docker example

Example: wifi docker installation

> ./configure --disable-native-compile
> cd wifi/docker
> make docker

All examples

Install all examples

> ./configure
> make 
> sudo make install  # Install example applications locally
> make docker        # Build example docker containers
> make push          # Push docker containers to github (requires changing target)

See instructions on how to run the examples as locally installed or as docker containers in the clixon docs quick start or in the specific example documentation

Example of a plugin is in the wifi example