Skip to content

zahichemaly/network-traffic-in-sdn-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Traffic Engineering in a Software Defined Network (SDN)

This project requires a virtual network such as mininet and a controller to manage the network such as HP SDN Controller. The user can call intelligent Python scripts via the controller to:

  • Redirect the traffic from a source to a destination
  • Block a certain traffic passing through a specific switch (In case of a malicious host for example)

Prerequisites

Installation

  1. Move the script files inside \mininet to the root directory of mininet

  2. Move the files inside \controller to the root directory of HP SDN Controller

  3. Follow this tutorial install the hp-sdn-client Python library so you can call the scripts on the controller.

How to use

  • To redirect the traffic between 2 nodes, and passing through specific switches

      python traffic.py "IP_SOURCE" "IP_DESTINATION" ["DPID_SWITCH_1", "DPID_SWITCH_2", ... , "DPID_SWITCH_N"]
    
  • To implement an access list on a specific switch:

      python access.py "IP_SOURCE" "DPID_SWITCH"
    

This script will block all incoming/outcoming traffic from IP_SOURCE (and that passes through switch DPID_SWITCH)

About

Smart and useful algorithms in a Software Defined Network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages