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(a)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(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: Lei Li <lilei(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Mark Wu <wudxw(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Shu Ming <shuming(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Wenyi Gao <wenyi(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou(a)linux.vnet.ibm.com>