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
Metadata
Release files for tenjin-sdn 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tenjin_sdn-0.0.5.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tenjin_sdn-0.0.5-cp311-cp311-manylinux_2_34_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.34+ x86-64 | Details |
Total release size: 613.0 kB
Release files / tenjin_sdn-0.0.5.tar.gz
| Download URL | tenjin_sdn-0.0.5.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57694858cae6854c13c8bd5ea6d7e66cc7e0c420ce8b5bb6e199c3fb78d2802a
|
|
BLAKE2b-256 checksum How to use checksums |
babb10d305bd30ae7445f582c9674c52c096c3a450663d0487d415185fe5617e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.7.1
|
Release files / tenjin_sdn-0.0.5-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | tenjin_sdn-0.0.5-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 605.1 kB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
92cdd66f7b5095a8ddaef0d85042027849e3360587e6b4e5b430b59e020fe238
|
|
BLAKE2b-256 checksum How to use checksums |
6768c002f8016eb4b04423ea7d6bf731d6b93dcc7dd0f78a9e0d40a150487f0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.7.1
|