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

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

 



On Mon, Jul 23, 2007 at 09:40:30AM -0400, Daniel Veillard wrote:
> On Mon, Jul 23, 2007 at 06:47:32PM +0530, Shuveb Hussain wrote:
> > Hi Daniel,
> > 
> > [...]
> > 
> > >   Hum, yes that is different from all other implementations so far.
> > > 
> > > But nameserver and hostname feels a bit misplaced. To me nameserver
> > > should go somewhere else, it's kind of a duplicate of the networking stuff.
> > > And what would happen if you have also IPv6, suddenly nameserver structure
> > > breaks. I don't know yet how to best fix this but those two are problematic
> > > as-is.
> > 
> > OpenVZ doesn't deal with any kind of devices anyways and since it is a
> > container system, I don't think it will do in the future either. There
> > only one kernel and the host and the guests and thus no device based
> > interfaces between them. Why not do away with the "devices" tag for
> > OpenVZ and rather do something like this:
> > 
> > <network>
> > <ipaddress>192.168.1.101</ipaddress>
> > <hostname>fc7-openvz</hostname>
> > <gateway>192.168.1.1</gateway>
> > </network>
> > 
> > What do you feel?
> 
>   Right there is no devices so forget about reusing that structure block.
> But then we should define another block similar in spirit something like
> 
> <domain>
>   .... common stuff ...
>   <container>
>     <filesystem>
>       ...
>     </filesystem>
>     <network>
>       <ipaddress>192.168.1.101</ipaddress>
>       <hostname>fc7-openvz</hostname>
>       <gateway>192.168.1.1</gateway>
>     </network>
>   </container>
> </domain>

The distinction of a 'container' element makes sense since container based
virtualization does have very different metadata than that used for hypervisor
based virt. 

For  data with it though, can we stick to the same style & syntax used 
elsewhere in the XML. eg something closer to 

   <network hostname='fc7-openvz'>
     <ip address='192.168.1.101'/>
     <gateway address='192.168.1.101'/>
   </network>

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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