Skip to content

Statistics monitorization for SDN networks over Mininet and POX

License

Notifications You must be signed in to change notification settings

oaraque/sdn-diagnosis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdn-diagnosis

Fault Diagnosis on SDN Networks

Mininet

Launch mininet:

sudo mn --mac --custom sdn-monitor/mininet/topo.py --topo minivideostreaming --switch ovsk --controller remote

Lauch with monitor module enabled and grepping for interesting data only:

sudo ./pox.py forwarding.l2_pairs openflow.discovery openflow.spanning_tree --no-flood --hold-down monitor log.level --DEBUG 2>&1 | grep -i "Monitor\|connected\|ports"

Aditionally, another combination of pox modules:

./pox.py openflow.discovery proto.arp_responder  l3_rules --rules_path=<rules-path> stats_monitor log.level --INFO 2>&1 | grep -i "Monitor\|connected\|ports\|rule\|discovery\|arp"

Video streaming

To launch a server to stream video via HTTP (this can depend on the video source):

vlc <video-source> :sout='#transcode{vcodec=h264,scale=Auto,acodec=mpga,ab=128,channels=2,samplerate=44100}:http{mux=ffmpeg{mux=flv},dst=:8080/test}' :sout-keep

To launch a client that listens to this streaming:

vlc http://<server-ip>:8080/test

Net errors emulation

To emulate an error on a link using tc:

 <switch> tc qdisc change dev <switch>-<interface> parent 5:1 handle 10: netem <options>

About

Statistics monitorization for SDN networks over Mininet and POX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published