Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Can I simulate latency/packet-loss/bandwidth with opendaylight?

asked 2015-01-09 03:44:43 -0700

udragon gravatar image

updated 2015-01-09 03:45:36 -0700

Hello guys,

I want to create a networking lab, In order to simulate different network topologies and different network limitation for applications. More precisely, I want the ability to control the "wires" virtually between the physical servers, and define the network parameters such as latency, bandwidth, and packet-loss, to stress test the applications. can open-daylight help me with that, or is it completely out of scope?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-09 10:23:12 -0700



The best tool to use with simulate different network topologies is mininet, you can build up topologies such tree and mesh by default or add a custom topology.

Mininet also allow you to sent the bandwidth and the latency on the link between the virtual switches. Watch out that OpenDaylight will only see the reported interface from the vswitch and not the bandwidth set for the virtual link between the interfaces. Intro into mininet and then you can dig deeper and get into setting up RED for packet drops with the Python API

edit flag offensive delete publish link more


Hey Chris, thank you for your answer. With mininet I can create a network between virtual linux hosts. I want to simulate a network topology between my physical servers, therefore I looked into the OpenFlow protocol. Unfortunately, I think OpenFlow doesn't quite do this things. Am I wrong? Are you familiar with other solutions that can help me?

udragon ( 2015-01-09 11:50:29 -0700 )edit

The OpenFlow protocol only push match and actions, Ie think it like this Frame/Packet match X then do Y like out which port and change what field. Mininet can be mapped to real interfaces to u have one server that does the network.

Chris O'Shea ( 2015-01-09 14:08:59 -0700 )edit

hi there , is it possible to control the bandwidth from opendaylight controller? For example, let's say i have a 10 Mb's internet connection and i want host1 to have 8mb's with priority1, and host2 with have 2mb's or the rest with priority.

buddah ( 2015-01-22 04:26:48 -0700 )edit

OpenFlow supports something called Metering, last time i looked into metering the support in openvswitch was limited so i was unable to do much testing, i believe CPqD switch is a little better

Chris O'Shea ( 2015-01-22 09:54:38 -0700 )edit

thanks for your answer, In helium is the same ? Or is possible to control the bandwidth from controller?

buddah ( 2015-01-23 02:56:19 -0700 )edit
Login/Signup to Answer


Asked: 2015-01-09 03:44:43 -0700

Seen: 1,418 times

Last updated: Jan 09 '15