Re: adding more element to <interface>

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

 



On 28.06.2012 10:23, Rashid Zamani wrote:
> Hello people,
> 
> I am considering adding more elements into <interface> name space in
> order to support more features of different hypervisors (specificly
> qemu). I have discuss this
> <https://www.redhat.com/archives/libvirt-users/2012-June/msg00141.html>
> in user thread, and I have been told to propose an xml syntax for it.
> 
> What exactly I have in mind is adding elements like <dns>, <hostname>
> and etc. to set the these variables from within the <interface> instead
> of having <qemu:commandline> at the end of the file, in case of using
> qemu. So the final xml file should look something like below:
> 
> <domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
> .
> .
> .
>   <interface type='user'>
>       <mac address=/>
>       <model type=/>
>       <bandwidth>
>       </bandwidth>
>       <address=/>*
>       <**hostname=/>
>       <dns=/>
>       *  .
>         .
>         . 
>   </interface>
> .
> .
> .
> </domain>
> 
> I am wondering, firstly if such a thing is plausible. And if so, how I
> can contribute and where I can start from.
> Thank you in advance.
> 
> Zamani
> 

There is how-to add an XML extension on libvirt site:

   http://libvirt.org/api_extension.html

Since you'll be adding just an XML elements not an API you may skip some
steps there.

Michal

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