Change in ovirt-engine-sdk[master]: add a new tool for auto-generate python entities from schema

mpastern at redhat.com mpastern at redhat.com
Mon Jul 9 14:36:28 UTC 2012


Michael Pasternak has submitted this change and it was merged.

Change subject: add a new tool for auto-generate python entities from schema
......................................................................


add a new tool for auto-generate python entities from schema

It is troublesome to generate python entities by the current
code generation suites of ovirt-engine-sdk.

This new tool as extension of generateDS.py to simplify the
code generation.

All NOT_GENERATED codes are configurable in paramsconf.py
1. add import module
2. update a new function or attribute of a class
3. add a new attribute of a class
4. add a new function
5. gernerate _rootClassMap

Change-Id: I916f63f1ac68ce2e31456a90c1291997f671af99
Signed-off-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
---
M src/codegen/README
A src/codegen/genparams.py
M src/codegen/main.py
A src/codegen/paramsconf.py
4 files changed, 939 insertions(+), 15 deletions(-)

Approvals:
  Michael Pasternak: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/4880
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I916f63f1ac68ce2e31456a90c1291997f671af99
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
Gerrit-Reviewer: Adam Litke <agl at us.ibm.com>
Gerrit-Reviewer: Lei Li <lilei at linux.vnet.ibm.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
Gerrit-Reviewer: Shu Ming <shuming at linux.vnet.ibm.com>
Gerrit-Reviewer: Wenyi Gao <wenyi at linux.vnet.ibm.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>



More information about the Engine-commits mailing list