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

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

 



On Wed, Dec 12, 2012 at 10:59:17AM +0000, Daniel P. Berrange wrote:
> 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>

Sure, I'll change it

Christophe

Attachment: pgpZwJNqRvaT8.pgp
Description: PGP signature

_______________________________________________
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