create.dtd strictness required? xenapi_create.py suggestion
-----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-----