On Sat, 10 Mar 2012 21:51:50 +0900
Isaku Yamahata <[email protected]> wrote:

> On Fri, Mar 09, 2012 at 05:49:08PM +0900, FUJITA Tomonori wrote:
>> On Fri, 9 Mar 2012 11:50:12 +0900
>> bty, why simple_isolation needs dpset? network moduoles keep the list
>> of dps, right? Why can't we do something like the following?
> 
> It's because there is race condition between network-id registration and
> datapath connecting to Ryu. Some clean up is needed somehow for code clarity.

We need to separate policy that quantum sets from the info ryu uses.


> The difference is
> 
> network modules: This tracks network id corresponding to datapath id.
>                  This is set by REST api.
>                  So the datapath may not connect to the ryu for some reason.

We need notificaiton from storage. The datapatch connets to ryu then
ryu subscribes to the storage about the changes to the datapatch.

> dpset: This tracks what datapaths are connecting to Ryu.
>        At the time when datapath connecting to ryu, the network id might
>        not be known.

Who needs this information?

> Those tow can be consolidated into single table, something like
> 
>   datapath id
>   network id; uuid or unknown
>   status: connected or disconnected

Shouldn't be consolidated, as I wrote above. The status should be
separated.


Anyway, as I wrote before, I try the straight conversion. It's not the
good time to change the data structures.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to