Skip to main content

Tenjin is The SDN Framework writing with rust, this library is implement tenjin into python

Project description

Tenjin SDN (For Python)

This Project is want to implement Tenjin SDN for python. Tenjin is The sdn framework that you can use for control network.

Installation

install tenjin with pip

pip install tenjin_sdn

Install from source

git clone https://github.com/Arikato111/Tenjin-py
cd Tenjin-py
pip install .

Example

With openflow 1.3

from tenjin_sdn import Ctrl13

controller = Ctrl13(address="127.0.0.1", port=6653)
controller.run()

With openflow 1.0

from tenjin_sdn import Ctrl10

controller = Ctrl10(address="0.0.0.0", port=6653)
controller.run()

Mininet

Mininet is a network emulator to create virtual networks for rapid prototyping of Software-Defined. Using mininet for testing this SDN Framework.

Run Mininet with Openflow 1.3

sudo mn --controller=remote,ip=127.0.0.1 --mac --switch=ovsk,protocols=OpenFlow13 --topo=tree,2

Run Mininet with Openflow 1.0

sudo mn --controller=remote,ip=127.0.0.1 --mac --switch=ovsk,protocols=OpenFlow10 --topo=tree,2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tenjin_sdn-0.0.5.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

tenjin_sdn-0.0.5-cp311-cp311-manylinux_2_34_x86_64.whl (605.1 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

File details

Details for the file tenjin_sdn-0.0.5.tar.gz.

File metadata

  • Download URL: tenjin_sdn-0.0.5.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.1

File hashes

Hashes for tenjin_sdn-0.0.5.tar.gz
Algorithm Hash digest
SHA256 57694858cae6854c13c8bd5ea6d7e66cc7e0c420ce8b5bb6e199c3fb78d2802a
MD5 08e1c343bf6bd7c0fe9bf99d2a8ff8f5
BLAKE2b-256 babb10d305bd30ae7445f582c9674c52c096c3a450663d0487d415185fe5617e

See more details on using hashes here.

File details

Details for the file tenjin_sdn-0.0.5-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tenjin_sdn-0.0.5-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 92cdd66f7b5095a8ddaef0d85042027849e3360587e6b4e5b430b59e020fe238
MD5 0f72b8ff9f987e0bc8a7f66525fe1bc2
BLAKE2b-256 6768c002f8016eb4b04423ea7d6bf731d6b93dcc7dd0f78a9e0d40a150487f0c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page