Re: [libvirt] [PATCH 07/10] network: Fix reading 'forwardDelay' attribute.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 13, 2009 at 02:27:09PM +0100, Daniel P. Berrange wrote:
> On Mon, Oct 12, 2009 at 10:46:51AM -0400, Cole Robinson wrote:
> > When reading network XML, we were looking for a 'delay' attribute, but this
> > value was being dumped as 'forwardDelay'. Support reading both names on
> > input, but continue to only dump 'forwardDelay'
> 
> Rather a no-win situation, but the schema still says 'delay', so I'd
> be more inclined to just fix the XML printing code to s/forwardDelay/delay/
> and leave the parsing as is.

  Agreed, it tends to prove people were either not using the option or
not dumping the XML to reimport it. I would stick to the original
syntax.
  This should turn into a trivial fix, and I'm fine with pushing it now.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]