On Fri, Jan 30, 2015 at 07:47:03AM +0100, Tomáš Čejka wrote: > I would like to discuss a topic related to locks and locking of OVS > configuration and usability of such locks to prevent clients from data > modification. > > As you probably know, NETCONF as well as OF-CONFIG specifies the <lock> and > <unlock> operations. A session can temporarily disable any modification of > device's datastore from other sessions using <lock>. > > Unfortunately, it seems to me that OVS supports only some kind of locking > mechanism that does not lock the configuration globally. Is it true or did I > miss something?
The OVS locking mechanism is only intended for mutual exclusion among cooperating processes, so, in short, it's true. > I imagine that any suitable solution for us would act as follows: performing > lock operation from the application (such as OF-CONFIG server) would prevent > all other tools to change configuration data until the unlock operation. > In my opinion, this should be probably supported by OVSDB... OVSDB doesn't have a global locking mechanism. > Is there any possibility to perform the described locking in OVS? No. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev