Michael Pasternak has posted comments on this change.

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


Patch Set 1: (1 inline comment)

well done!, now you can:

1. from CodeGen (before RSDL processing) download xsd 
   schema by:
   contextmanager.get('proxy').request('GET', '/api?schema')
2. process it with genparams.py

....................................................
File src/codegen/genparams.py
Line 22: 
sys.path.append("/usr/lib/python2.7/site-packages/generateDS-2.7b-py2.7.egg/EGG-INFO/scripts/")
this won't work on other distributions, in general you have link to generateDS 
in 

'/usr/bin/' - you can use this path instead

--
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: 1
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

Reply via email to