Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
Tenjin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nawasan Wisitsingkhon
Tenjin
Commits
7156a2c4
Commit
7156a2c4
authored
Aug 07, 2024
by
Nawasan Wisitsingkhon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update reaadme
parent
1b7d0f41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
3 deletions
+22
-3
README.md
README.md
+22
-3
No files found.
README.md
View file @
7156a2c4
...
@@ -6,6 +6,25 @@ Software-defined networking with Rust.
...
@@ -6,6 +6,25 @@ Software-defined networking with Rust.
To understand The software-defined networking well, I trying to create a simple SDN with Rust language to support Openflow 1.0 first and 1.3 later.
To understand The software-defined networking well, I trying to create a simple SDN with Rust language to support Openflow 1.0 first and 1.3 later.
## Installation
### Install [Rust](https://www.rust-lang.org/)
[
official webpage installation
](
https://www.rust-lang.org/tools/install
)
or run this command below. (For macOS, Linux, or another Unix-like OS)
```
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
### Install Tenjin
```
cargo install tenjin_sdn
```
## Run with command line
## Run with command line
#### Run Controller by default (Controller13 with OpenFlow 1.3)
#### Run Controller by default (Controller13 with OpenFlow 1.3)
...
@@ -58,7 +77,6 @@ fn main() {
...
@@ -58,7 +77,6 @@ fn main() {
cargo run
--release
cargo run
--release
```
```
### Openflow 1.0
### Openflow 1.0
import Controller10 into main func.
import Controller10 into main func.
...
@@ -81,14 +99,15 @@ cargo run --release
...
@@ -81,14 +99,15 @@ cargo run --release
## Mininet
## Mininet
Mininet is a network emulator to create virtual networks for rapid prototyping of Software-Defined.
Mininet is a network emulator to create virtual networks for rapid prototyping of Software-Defined.
Using mininet for testing this SDN Framework.
Using mininet for testing this SDN Framework.
### Run Mininet with Openflow 1.3
### Run Mininet with Openflow 1.3
```
bash
```
bash
sudo
mn
--controller
=
remote,ip
=
127.0.0.1
--mac
--switch
=
ovsk,protocols
=
OpenFlow13
--topo
=
tree,2
sudo
mn
--controller
=
remote,ip
=
127.0.0.1
--mac
--switch
=
ovsk,protocols
=
OpenFlow13
--topo
=
tree,2
```
```
### Run Mininet with Openflow 1.3
### Run Mininet with Openflow 1.3
```
bash
```
bash
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment