Skip to content

Handles communication with umboxes in the Data Node as part of the Kalki project.

License

Notifications You must be signed in to change notification settings

SEI-TAS/kalki-umbox-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Umbox Controller

The Kalki Umbox Controller is a component of the Control Node of Kalki which handles deployment of umboxes on the Data Node. It also contains the ovs-docker-server Data Node component, which receives commands from Umbox Controller, and maintains both umboxes and the OVS virtual switch they connect to on the Data Node.

Kalki is an IoT platform for allowing untrusted IoT devices to connect to a network in a secure way, protecting both the IoT device and the network from malicious attackers.

Kalki comprises a total of 8 GitHub projects:

  • kalki-node-setup (Kalki Main Repository, composes all non-UI components)
  • kalki-controller (Kalki Main Controller)
  • kalki-umbox-controller (Kalki Umbox Controller)
  • kalki-device-controller (Kalki Device Controller)
  • kalki-dashboard (Kalki Dashboard)
  • kalki-db (Kalki Database Library)
  • kalki-iot-interface (Kalki IoT Interface)
  • kalki-umboxes (Kalki Umboxes, sample umboxes and umboxes components)

Prerequisites

  • Docker is required to compile and run this program.
  • Docker-compose 1.18.0+ is required as well.
  • The Kalki-db build env image should be created before compiling this program. You can find more details here: https://github.com/SEI-TTG/kalki-db
  • The Kalki-db test Postgres image should be created and running before compiling this program. You can find more details here: https://github.com/SEI-TTG/kalki-db
  • The Kalki-db Postgres container has to be running for this program to work. You can find more details here: https://github.com/SEI-TTG/kalki-db

Configuration

The config.json file has several configurable parameters. However, they usually do not need to be changed from their defaults. The parameters are:

  • db_name, db_user, db_password: need to be consistent with the actual DB information being used.
  • umbox_class: the type of umboxes to create (default value should be ok most of the times).

Usage

To create the docker image for this program, execute the following command:

bash build_container.sh

To execute the program inside docker, execute the following command:

bash run_compose.sh

To see the logs:

bash compose_logs.sh

To stop it:

bash stop_compose.sh

About

Handles communication with umboxes in the Data Node as part of the Kalki project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •