Skip to content
forked from osmhpi/cohydra

Co-simulation and Hybrid Testbed for Distributed Applications

Notifications You must be signed in to change notification settings

Degreeno/cohydra

 
 

Repository files navigation

cohydra

master

Contributors

  • Malte Andersch
  • Arne Boockmeyer
  • Felix Gohla
  • Martin Michaelis
  • Benedikt Schenkel

Installation

Installation With Docker

Cohydra can be obtained via docker. The easiest solution is using the VSCode Remote - Containers extension. After cloning the repository and opening it in the container, your scenarios will by executing them with python3.

Otherwise, you can build the Dockerfile in the project's root directory yourself by running make. In the container, cohydra will be added to your PYTHONPATH. But you need to make sure, that you run the container with privileges to access the host network in order to have access to the host's network interfaces. You of course need to modify the volume mount to allow cohydra access to your scenarios.

docker run -it --rm --cap-add=ALL -v /var/run/docker.sock:/var/run/docker.sock --net host --pid host --userns host --privileged osmhpi/cohydra:latest

The main image osmhpi/cohydra is based on the images in the docker directory. The osmhpi/cohydra:base image installs all neccessary dependencies for cohydra, osmhpi/cohydra:dev is for development purposes (docker-cli in the container).

Installation Without Docker

In the case you do not want to use the prebuilt docker, a normal ns-3 installation with NetAnim Python bindings will work, too. The Python libraries / directory provided by ns-3 has to be in your PYTHONPATH, though. Cohydra so far has only been tested with Debian 10 Buster and Ubuntu 18.04 Bionic Beaver.

There is no installation via pip.

About

Co-simulation and Hybrid Testbed for Distributed Applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.3%
  • Dockerfile 1.8%
  • Shell 1.7%
  • Makefile 1.2%