Skip to content

Barista: An Event-centric Composable NOS for Software-Defined Networks (SDN Controller)

Notifications You must be signed in to change notification settings

jwkim90/barista

 
 

Repository files navigation

Introduction

  • Barista: An Event-centric Composable NOS for Software-Defined Networks (SDN Controller)

Notification

  • If you find any bugs or have any questions, please send an e-mail to us.

Configuration

  • The configuration of the Barista NOS: config.mk
  • The configurations of components and applications: bin/config
  • The credentials for a CLI and a database: bin/secrect

Test environment

  • The current Barista is tested on Ubuntu 16.04.
  • It may work on other Linux platforms if its dependency issues are solved.

Compilation

  1. Install dependencies

$ ./deps.sh
Enter 'yes' when asking for the installation of MariaDB
After setting 'root' password for MariaDB, update 'bin/secret/db_password.txt' as well

  1. Compile the source code of Barista NOS

$ make

  1. Clean up the compiled files for Barista NOS

$ make clean

Execution (monolithic-kernel mode)

  • Run the Barista NOS

$ cd bin
$ ./barista

  • Run the Barista NOS automatically

$ ./barista -r

  • Run the Barista NOS as a daemon

$ ./barista -d

  • Run the Barista NOS with base components

$ ./barista -b

  • Connect the CLI of the Barista NOS

$ telnet localhost 8000 (default port)
(default ID: admin, default PW: password)

Execution (micro-kernel mode)

  • Set up Docker environments

$ ./docker_setup.sh

  • Run the Barista Docker containers

$ cd dockers; ./start.sh

Default barista applications (i.e., base, l2_learning, rbac) will be running on individual Docker containers.

CLI commands

  • Change the current mode to a privilegd mode

Barista> turn on

  • Load configurations (privileged mode)

Barista# load

  • Start the Barista NOS (privileged mode)

Barista# start

  • Stop the Barista NOS (privileged mode)

Barista# stop

  • More information?

Barista> help

Author

About

Barista: An Event-centric Composable NOS for Software-Defined Networks (SDN Controller)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.8%
  • Shell 1.1%
  • Makefile 1.1%
  • Other 1.0%