This is a network latency project built on OpenDaylight.
git clone https://github.com/mingming9/latency.git
cd latency
mvn clean install -DskipTestsBefore building ODLMapleAdapter, please make sure your maven can access the
repository of OpenDaylight. Edit your settings.xml of maven like the following
link:
Start Latency from karaf:
username@ubuntu:$(latency_directory)./karaf/target/assembly/bin/karafAfter booting Latency project, we connect mininet to it.
In mininet VM:
username@ubuntu:sudo mn --controller=remote,ip=${controller_ip_address} --mac --switch=ovsk,protocols=OpenFlow13 --topo tree,depth=2,fanout=3Now the environment is ready! Let's begin to test!
Login dulx: http://192.168.126.152:8181/index.html.
In Topology tag, we can see network topology.
In Yang UI tag, we can find "latency" restconf interface.
Path "latency/operations/network-latency", choose type "SWITCHES", send the input. Then we can see latency detecting of network in console.
Path "latency/operations/switch-switch-latency", fill in A switch dpId and B switch dpId, send the input. Then we can see latency dection between these two switches in console.