ShaoHe Feng has posted comments on this change. Change subject: add a new tool for auto-generate python entities from schema ......................................................................
Patch Set 3: give up importing generateDS module. Add the configure file paramsconf.py, it is python format configure file. You can test it by run "./genparams.py" it will generate an temporary file params.py.in that is not modified and target file params.py that is modified. you can use vimdiff to check the difference of these two files. "vimdiff params.py params.py.in" to Michael: thank you for your suggestions. _rootClassMap and _elementToClassMap can not be generated yet. Now I'm going to add these codes to generate _rootClassMap and _elementToClassMap. do you means that I should add the follow code in genparams.py. And parser the xml schema to collect the class of _rootClassMap and _elementToClassMap? contextmanager.get('proxy').request('GET', '/api?schema') -- To view, visit http://gerrit.ovirt.org/4880 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I916f63f1ac68ce2e31456a90c1291997f671af99 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: master Gerrit-Owner: ShaoHe Feng <shao...@linux.vnet.ibm.com> Gerrit-Reviewer: Adam Litke <a...@us.ibm.com> Gerrit-Reviewer: Mark Wu <wu...@linux.vnet.ibm.com> Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com> Gerrit-Reviewer: ShaoHe Feng <shao...@linux.vnet.ibm.com> Gerrit-Reviewer: Shu Ming <shum...@linux.vnet.ibm.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches