Re: [controller-dev] OVSDB, SFC and clustering


Moiz Raja (moraja) <moraja@...>
 

I’ll update the wiki for operational data being non-persistent by default. 


From: Reinaldo Penno <rapenno@...>
Date: Tuesday, March 31, 2015 at 7:54 AM
To: Edward Warnicke <hagbard@...>
Cc: "controller-dev@..." <controller-dev@...>, "ovsdb-dev@..." <ovsdb-dev@...>
Subject: Re: [controller-dev] OVSDB, SFC and clustering

The wiki says both.  But even if only config was maintained the questions still apply. 

From: Edward Warnicke <hagbard@...>
Date: Tuesday, March 31, 2015 at 7:05 AM
To: Reinaldo Penno <rapenno@...>
Cc: "controller-dev@..." <controller-dev@...>, "ovsdb-dev@..." <ovsdb-dev@...>
Subject: Re: [controller-dev] OVSDB, SFC and clustering

Reinaldo,

I believe that persistence is only turned on for the config data store, not the operational datastore, so on reboot, operational data would be refreshed.

Ed

On Mon, Mar 30, 2015 at 8:50 PM, Reinaldo Penno <rapenno@...> wrote:

I’m facing some problems with clustering in SFC and stumbled on an issue with OVSDB

The access pattern is the following:

  • OpenvSwitch connects to ODL
  • OVSDB creates data in config datastore
  • SouthBound OVDSDB creates data in operational datastore
  • SFC listens to OVSDB operational store changes
  • SFC creates corresponding switch in SFC
Now let’s add clustering to the mix.

If ODL reboots:

  • OVSDB and SFC will have data for a switch that does not exist (yet) until it connects
  • Now, let’s suppose the OVS switch never reconnects. What then?

Will OVSDB keep this stale data around? How long will it wait until the switch reconnects?
If switch reconnects, will data in the OVSDB operational datastore be overwritten? One could assume switch configuration changed between ODL reboots.

All this is unclear to me and have profound impacts on how SFC works. 

Thanks,

Reinaldo







_______________________________________________
controller-dev mailing list
controller-dev@...
https://lists.opendaylight.org/mailman/listinfo/controller-dev


Join z.archive.ovsdb-dev@lists.opendaylight.org to automatically receive all group messages.