Created
December 22, 2017 16:47
-
-
Save ederlf/1b490301d496e7f2c3c3805eacb16ce2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graph test { | |
// global settings for measurements | |
counterexportfile="counters" | |
flowexport=text | |
flowsampling=1.0 | |
pktsampling=1.0 | |
exportcycle=60 | |
counterexport=True | |
counterexportinterval=1 | |
longflowtmo=60 | |
flowinactivetmo=60 | |
a [ | |
type="OpenflowSwitch" | |
controller="controller" | |
autoack="False" | |
ipdests="10.1.0.0/16" | |
traffic="m1" | |
// udp vbr flows | |
m1="modulator start=5 generator=s1 profile=((60,),(1,))" | |
s1="simple ipsrc=10.1.1.0/24 ipdst=10.3.1.0/24 flowlets=1 dport=randomunifint(1024,65535) sport=randomunifint(1024,65535) ipproto=udp pkts=normal(826,0) bytes=normal(1250000,0) continuous=True fps=1" | |
]; | |
b [ | |
type="OpenflowSwitch" | |
controller="controller" | |
autoack="False" | |
ipdests="10.2.0.0/16" | |
]; | |
c [ | |
type="OpenflowSwitch" | |
controller="controller" | |
autoack="False" | |
ipdests="10.3.0.0/16 10.4.0.0/16 10.0.0.0/8" | |
]; | |
controller [ | |
type="OpenflowController" | |
components="pox.forwarding.l2_learning" | |
]; | |
// data path links | |
// data path links | |
a -- b [weight=10, capacity=10000000, delay=0.043]; | |
b -- c [weight=10, capacity=10000000, delay=0.031]; | |
//a -- c [weight=30, capacity=1000000, delay=0.123]; | |
// control links between ofcontroller and each ofswitch | |
a -- controller [ capacity=10000000, delay=0.01 ] | |
b -- controller [ capacity=10000000, delay=0.01 ] | |
c -- controller [ capacity=10000000, delay=0.01 ] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment