[alto-design] Re: Few questions on ALTO and ONOS
dongshu
Hi Tamim and Richard, Computing routing path in ODL is the core of the design and the details are explained as follows: 1. We get the attachment points of source host and dest host, let's call it start_switch and end_switch, by L2Switch. 2. We read flow table of start_switch and find the matched flow entry according to src host IP and dst host IP. If matched flow entry is found, we get next switch from the flow entry, then we repeat this step to chase next switch until we get to end_switch. 4. If there is no matched flow entry, we will force ODL controller to compute a new routing path, by either invoking the path computing function or sending a fake packet. Once the path computing is done, we repeat step 2 until we get to end_switch. In this way, we get the routing path. Following is the pseudo code: sw_id = get_attachment_point(src) dst_sw_id = get_attachment_point(dst) while (sw_id != dst_sw_id) { r <- loop_up(src, dst) in sw_id's flow table if (!r) { } sw_id = get_sw_id(r) } Once we get the routing path, we can compute endpoint costs based on different cost metrics. Hopcount is easy to compute while bandwidth is a little more complicated since we have to get the bandwidth of each link at first. @Richard The following is what we have done during the past three days: 1. Get attachment point of host by host IP address. Done. (Shu, Xiao) 2. Look up flow table to get matching flow entry and next switch. Almost Done. (Xiao, Shu) 3. Figure out how to force ODL controller to compute routing path. In progress. (Mingming) 4. Setting up a mininet + controller test environment in our lab. (Junzhuo, Xiao) 5. Some code refactoring. (Shu) Things left to be done: 1. Figure out how to force ODL controller to compute routing path. 2. Figure out how to get bandwidth of each link. 3. Combine all the parts together. From tomorrow, we will focus on left problems. Mingming has made some progress in the first one but it will be great if we have someone else to help. Thanks a lot. From, Shu On Sat, Aug 1, 2015 at 11:55 PM, Y. Richard Yang <yry@...> wrote:
|
|
MD I. Islam <tamim@...>
Thanks Shu! Is it possible to share the VM (development environment) with me? I'm new to ODL. Having everything setup would be very helpful for me to start with. Thanks On Aug 1, 2015 1:32 PM, "Shu Dong" <dongs2011@...> wrote:
|
|