Re: [protogeni-users] OpenFlow Load Balancer Exercise - UDP

11 views
Skip to first unread message

Niky Riga

unread,
May 5, 2014, 3:45:15 PM5/5/14
to protoge...@googlegroups.com, geni-...@googlegroups.com
Hi Kathy,

I am adding geni-users to the list since this assignment involves more parts of GENI and we might need help from other groups as well.

The load balancer has two parts:
 1. Load balance new flows (Part of this you have already changed it)
 2. Measuring the usage of your network to make the decision in part (1). This at least one thing you are missing, since currently
     the controller is only looking for usage of TCP flows. You should look for the function that queries the switches
     query_stats() probably

One thing to keep in mind is that this is a re-active mac learning controller, i.e. it will wait for the first packet to make any forwarding
decision and try to install flows and it will *not install a flow* until it knows where a mac address leaves. Also keep in mind that
mac learning usually relies on two-way communication so that the macs are learned and the UDP is a one way communication scheme,
basically the sender blasts the receiver with packets. If you want to use UDP traffic I would suggest modifying the controller somehow
(I would say make them pro-active but you also want load-balancer so that makes it more tricky).

I hope this is helpful,
Niky

May 5, 2014 at 12:38 AM
Hi all,

I'm trying to see if it's currently possible to use the GENI OpenFlow Load Balancer Assignment (http://groups.geni.net/geni/wiki/GENIEducation/SampleAssignments/OpenFlowLoadBalancerAssignment/ForInstructors) to balance UDP traffic for my Master's thesis. When I look through the assignment, I notice that the OpenFlow exercise and the load balancing solution files only mentions the TCP scenario - would it be feasible to use this assignment for UDP as well? When I bypass the "return if not message.ipv4? or not message.tcp?" line within the attached Ruby script to try and allow for UDP traffic as well, the remaining code still doesn't account for UDP traffic...would it be possible to provide some pointers on how we could modify the Ruby script to account and track/balance UDP data as well?

Best regards,
Kathy
--
You received this message because you are subscribed to the Google Groups "protogeni-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protogeni-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages