All Projects → slankdev → tinet

slankdev / tinet

Licence: Apache-2.0 license
This is moved to http://github.com/tinynetwork/tinet

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
shell
77523 projects
Makefile
30231 projects
Rebol
56 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to tinet

tinet
TiNET is network emulator environment for network function developer, routing software developer and networking educator. this is very simple tool that generate just shell script to construct virtual network.
Stars: ✭ 102 (+148.78%)
Mutual labels:  container-networking, network-simulation
Weave
Simple, resilient multi-host containers networking and more.
Stars: ✭ 6,221 (+15073.17%)
Mutual labels:  container-networking
cni-benchmarks
A simple program to benchmark various container networking (CNI) plugins.
Stars: ✭ 85 (+107.32%)
Mutual labels:  container-networking
cf-networking-release
Container Networking for CloudFoundry
Stars: ✭ 66 (+60.98%)
Mutual labels:  container-networking
virl2-client
Client library for the Cisco VIRL 2 Network Simulation Platform
Stars: ✭ 39 (-4.88%)
Mutual labels:  network-simulation
Network-Simulation-Using-Cisco-Packet-Tracer
🖧 Designed this network configuration for the network of three companies, given some constraints. Its an interesting problem demonstrating the concepts of Classless IP Subnetting and using RIPv2 Protocol.
Stars: ✭ 47 (+14.63%)
Mutual labels:  network-simulation

TINET: Tiny Network

!!This is prototype version.!! UI may change without prior notice

An instant virtual network on your laptop with light-weight virtualization. Here we introduce the Container Network Simulation tools. Users can generate, from the YAML configuration file, the script to build the L2 container network. Quickstart guide is provided in QUICKSTART.md. It is tested on Ubuntu 16.04 LTS and later.

Setup and Usage

Prepare and install CNS like below. You should install docker before following.

$ sudo apt install python3 python3-pip graphviz
$ git clone https://github.com/slankdev/tinet && cd tinet
$ sudo pip3 install -r requirement.txt
$ sudo cp bin/tn /usr/local/bin/tn
$ tn version
Usage:
  tn [-f <arg>...] [options] [COMMAND] [ARGS...]
  tn -h|--help

Options:
  --verbose             Generate verbose shell
  --dry-run             Print the recipes that are needed to execute the
                        targets up to date, but not actually execute them.
  --project-name NAME   Specify an alternate project name
                        (default: none)
  --H, --host HOST      Daemon socket to connect to

COMMAND:
  ps         List services
  start      Start services
  stop       Stop services
  create     Create services
  rm         Remove stopped containers
  up         Create and start containers
  down       Stop and remove containers
  pull       Pull service images
  exec       Execute a command in a running container
  build      Generate a Docker bundle from the spec file
  conf       Execute config-cmd in a running container
  reconf     Remove, create, start and config
  restart    Remove, create, start
  version    Show the tinet version information
  test       Execute tests
  init       Generate template spec file
  img        Generate topology png file

Running on VM

##XXX: if cns will be running on VM
$ sudo apt install linux-image-extra-virtual

Author and Licence

This is just a hobby project. It does not relate to any activity of my company. It is developed under the Apache License. Please refer to the LICENCE.

  • Name: Hiroki Shirokura, IPA ICSCoE
  • Email: slankdev [at] coe.ad.jp (replace [at] to @)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].