[virt-tools-list] [[libosinfo][PATCH] 3/5] RNG: Adapt deployment to the code

Daniel P. Berrange berrange at redhat.com
Fri Sep 21 09:52:15 UTC 2012


On Mon, Sep 17, 2012 at 05:12:33PM +0200, Michal Privoznik wrote:
> as it should contain one os, platform and multiple devices elements.
> ---
>  data/schemas/libosinfo.rng |   17 ++++++++++++++++-
>  1 files changed, 16 insertions(+), 1 deletions(-)
> 
> diff --git a/data/schemas/libosinfo.rng b/data/schemas/libosinfo.rng
> index 5f61287..3442bd0 100644
> --- a/data/schemas/libosinfo.rng
> +++ b/data/schemas/libosinfo.rng
> @@ -413,7 +413,22 @@
>  
>    <define name='deployment'>
>      <element name='deployment'>
> -      <empty/>
> +      <attribute name='id'>
> +        <ref name='url'/>
> +      </attribute>
> +      <interleave>
> +        <element name='os'>
> +          <attribute name='id'>
> +            <ref name='url'/>
> +          </attribute>
> +        </element>
> +        <element name='platform'>
> +          <attribute name='id'>
> +            <ref name='url'/>
> +          </attribute>
> +        </element>
> +        <ref name='devices-rel'/>
> +      </interleave>
>      </element>
>    </define>

ACK

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 :|




More information about the virt-tools-list mailing list