Re: [libosinfo PATCHv2 02/11] loader: Load datamaps

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

 



On Tue, Dec 11, 2012 at 07:20:06PM +0100, Christophe Fergeau wrote:
> Install scripts can add a 'datamap' attribute when they declare
> their config parameters. The value of this attribute is the ID
> of a datamap, which is an XML file containing key/value pairs:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <libosinfo version="0.0.1">
>   <datamap id="http://example.com/osinfo/test";>
>     <entry>
>       <inval>generic-val1</inval>
>       <outval>foo</outval>
>     </entry>
>     <entry>
>       <inval>generic-val2</inval>
>       <outval>bar</outval>
>     </entry>
>   </datamap>
> </libosinfo>

I'm thinking this format is rather verbose. Could we do it like

   <datamap id="......">
     <entry inval="XXXX" outval="YYYY"/>
     <entry inval="XXXX" outval="YYYY"/>
     <entry inval="XXXX" outval="YYYY"/>
     <entry inval="XXXX" outval="YYYY"/>
     <entry inval="XXXX" outval="YYYY"/>
   </datamap>

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux