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.4.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

tenjin_sdn-0.0.4-cp311-cp311-manylinux_2_34_x86_64.whl (521.7 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

File details

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

File metadata

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

File hashes

Hashes for tenjin_sdn-0.0.4.tar.gz
Algorithm Hash digest
SHA256 9565c692b63766b3a8677947855b347880145ee1f931cb5f4130845b3d26df71
MD5 d4c4bacce2d898aa24b5a7a3d43f5d92
BLAKE2b-256 af0dba587c6256424f93259873f83b8f09bda94902fee5e69b80743895e5dc3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tenjin_sdn-0.0.4-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 76f893941258a6dd9e5b1f7705e6da935a80bdf757f4b82690d0b993b6761674
MD5 46b44a6f92bf48904665d4a763fbd950
BLAKE2b-256 a2969c51e0926abcace48396ae015816ac9ea5bc1f5ff308ad8b7c245b741c8e

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