On Tue, Jan 15, 2008 at 12:26:43AM -0800, Dave Leskovec wrote:
Following up on the XML format for the Linux Container support I
proposed... I've made the following recommended changes:
* Changed mount tags
* Changed nameserver tag to be consistent with gateway
* Moved cpushare and memory tags outside container tag
This is the updated format:
Comparing this to the Linux-VServer XML that Daniel posted, you're both
pretty much representing the same concepts so we need to make a decision
about which format to use for filesystem mounts.
OpenVZ also provides a /domain/container/filesystem tag, though it
uses a concept of filesystem templates auto-cloned per container
rather than explicit mounts. I think I'd like to see
For the existing OpenVZ XML, we can augment their <filesystem> tag with
an attribute type="template".
<ip address="192.168.1.110" netmask="255.255.255.0"/>
Again this is pretty similar to needs of VServer / OpenVZ. In the
OpenVZ XML, the gateway and nameserver tags are immediately within the
<network> tag, rather than nested inside the <ip> tag. Aside from that
looks to be a consistent set of information.
As Daniel points out, we've thus far explicitly excluded tuning info
the XML. Not that I have any suggestion on where else to put it at this
time. This is a minor thing though, easily implemented once we come to a
Does this look ok now? All comments and questions are welcome.