From: Stefan de Konink Subject: create.dtd strictness required? xenapi_create.py suggestion Date: Sat, 08 Dec 2007 22:38:23 +0100 Message-ID: <475B0ECF.3020708@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, It seems that the create.dtd is very strict. I wonder why the QoS types are required, while not even in the Open Source version of Xen present. I guess something like rate shaping of network interfaces can be implemented quickly. Personally I had many problems creating an XML file, because the -x option didn't printed out anything. So maybe provide some easy xml examples too. Next to this I think the xm/xenapi_create.py code should be initialized with a server variable and *not* import this from main. In that case every python script is able to create a configuration (which is almost the hardest task in the XenAPI) with my poor python skils I created a global server and a init(init_server) to initialize this variable. Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHWw7PYH1+F2Rqwn0RCuRjAJ9YqMEn2RdwdsoV7EZKUJBDZ+XYGwCggKMd zsgoYM3Clihv4s0ceH3UPOQ= =QjJB -----END PGP SIGNATURE-----