Skip to content

giggsoff/labsdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Only for RHEL 7, CentOS 7, ScientificLinux 7 and so on...

sudo sh prepare.sh

Testing

Tests with quantum links:

sudo mn --custom=mininet-tools/QKCustom.py --link=qk --topo=tree,depth=2,fanout=3

Tests with ryu:

Running mininet topology (in first terminal/screen)

sudo mn --custom=mininet-tools/topo_2sw-2host.py --topo mytopo --mac --controller remote --switch ovs

Running ryu application (in second terminal/screen)

sudo ryu-manager mininet-tools/rest_forward.py

Module RestAPI (from third terminal/screen):

Switch to raw channel:

curl -X GET http://localhost:8080/channel/1/1

Switch to quantum channel:

curl -X GET http://localhost:8080/channel/1/2

You can check packets and encryption of raw channel:

sudo tcpdump -i lo udp port 3338 -vv -X

You can check packets and encryption of quantum channel:

sudo tcpdump -i lo udp port 3339 -vv -X

You can obtain statistics:

curl -X GET http://localhost:8080/status
curl -X GET http://localhost:8080/channels
curl -X GET http://localhost:8080/statistics

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •