On Thu, Jun 13, 2013 at 9:14 AM, Ben Pfaff <b...@nicira.com> wrote: > On Thu, Jun 13, 2013 at 08:29:25AM -0700, Gurucharan Shetty wrote: > > On Wed, Jun 12, 2013 at 5:10 PM, Ben Pfaff <b...@nicira.com> wrote: > > > This is unpolished but it shows the approach I have in mind. > > > Sending out for comments on the approach. > > > > > I am fine with the approach. The two negatives I see with this: > > * If /tmp is cleaned up routinely, we will loose the information. If we > > decide to put this in /etc/openvswitch, it may look a little dirty when > > program is abnormally terminated. > > tmpfile() normally creates a file and then deletes it anyhow. I don't > know of any /tmp reaper that can affect it. > > > * If we have multiple run time data, (ex: add/remove databases) we may > need > > multiple files. > > I thought that we could simply use a little more sophisticated JSON. > Is there a reason why not? > No reason. I did not realize that you intended to do this with a single file.
I guess, then this fine.
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev