Messages in this thread | | | From | KY Srinivasan <> | Subject | RE: [PATCH V3 08/14] Tools: hv: Gather DNS information | Date | Fri, 17 Aug 2012 17:55:04 +0000 |
| |
> -----Original Message----- > From: Greg KH [mailto:gregkh@linuxfoundation.org] > Sent: Friday, August 17, 2012 1:39 PM > To: Ben Hutchings > Cc: KY Srinivasan; linux-kernel@vger.kernel.org; devel@linuxdriverproject.org; > olaf@aepfle.de; apw@canonical.com > Subject: Re: [PATCH V3 08/14] Tools: hv: Gather DNS information > > On Fri, Aug 17, 2012 at 06:32:09PM +0100, Ben Hutchings wrote: > > On Fri, Aug 17, 2012 at 09:51:09AM -0700, Greg KH wrote: > > > On Thu, Aug 16, 2012 at 06:32:19PM -0700, K. Y. Srinivasan wrote: > > > > Now, gather DNS information. Invoke an external script (that can be > > > > distro dependent) to gather the DNS information. > > > > > > Where is that script? Why a script, this really isn't in a standard > > > method for all Linux distros? If not, why not work to do that like the > > > freedesktop.org people have done for other system configuration items? > > > > I suggested using the Network Manager D-Bus API. That obviously > > isn't going to work everywhere, but it seems to cover the same simple > > cases that this hypervisor-guest interface allows for. > > That's a great start, as I think all of the distros have now pretty much > standardized on this format, right?
Based on Ben's suggestion I was looking at using NM D-Bus API. Subsequently, talking to Olaf and Mairus, I chose to go with the external script approach since each Distro could pretty much decide how the functionality would be implemented on a specific Distro including for instance by using the NM D-Bus API in the script. I think the approach of having an external script while not precluding anything makes the KVP code more generic and more widely applicable without sacrificing anything.
Regards,
K. Y
| |