Re: OpenVZ XML format and VPS properties get/set interface [long]

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

 



On Tue, Jul 24, 2007 at 01:48:37AM +0000, David Lutterkort wrote:
> On Tue, 2007-07-24 at 01:10 +0100, Daniel P. Berrange wrote:
> > Yes, the networking XML is a missing bit of the websites. The following
> > snippet illustrates all the important constructs:
> > 
> > <network>
> >   <name>default</name>
> >   <bridge name="virbr0" />
> >   <forward/>
> >   <ip address="192.168.122.1" netmask="255.255.255.0">
> >     <dhcp>
> >       <range start="192.168.122.2" end="192.168.122.254" />
> >     </dhcp>
> >   </ip>
> > </network>
> 
> A whiel ago, I wrote a very basic, but commented, relax-ng schema[1] for
> the network XML; seems that somehow fell through the cracks.
> 
> David
> 
> [1] https://www.redhat.com/archives/libvir-list/2007-April/msg00181.html

  Oops, okay, sorry. I added it to the docs in CVS, it needs an update though
when using it against the instance before:

paphio:~/libvirt/docs -> xmllint --noout --relaxng network.rng network.xml
network.xml:5: element ip: Relax-NG validity error : Did not expect element ip there
network.xml fails to validate
paphio:~/libvirt/docs ->

  some of the typed defined in libvirt.rng could be copied for example
to verify UUIDs, MAC or IP addresses.
  At least it's in now !

    thanks,

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

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