[Engine-devel] ovirt-engine-sdk-java 3.4.0.1-1 released

2013-12-24 Thread Michael Pasternak
- to vms.add() added [action.vm.initialization.cloud-init] - to NIC added OnBoot/BootProtocol properties - to VersionCaps added a list of supported payload-encodings - to Step added externalType - to NIC added vnicProfile and bootProtocol - to CPU added architecture - to VnicProfilePermission adde

[Engine-devel] ovirt-engine-sdk-python 3.4.0.1-1 released

2013-12-24 Thread Michael Pasternak
- to host.install() added ssh related details - to template added virtio_scsi.enabled - to vm added virtio_scsi.enabled - to File class added 'content' field - Payload class now reuses Files instead of own List of objects - added ability to attach a disk snapshot to the virtual machine - to vms.a

[Engine-devel] ovirt-engine-sdk-java 1.0.0.19-1 released

2013-10-30 Thread Michael Pasternak
- to host.install() added ssh related arguments - to template added virtio_scsi.enabled - to vm added virtio_scsi.enabled - added ability to attach a disk snapshot to the virtual machine - to File class added 'content' field - Payload class now reuses Files instead of own PayloadFile collect

[Engine-devel] ovirt-engine-sdk-python 3.3.0.8-1 released

2013-10-30 Thread Michael Pasternak
- to host.install() added ssh related arguments - to template added virtio_scsi.enabled - to vm added virtio_scsi.enabled - added ability to attach a disk snapshot to the virtual machine - to File class added 'content' field - Payload class now reuses Files instead of own PayloadFile collect

[Engine-devel] ovirt-engine-sdk-python 3.3.07-1 released

2013-10-09 Thread Michael Pasternak
For more details see [1]. * note for pypi users: 3.3 sdk was renamed to ovirt-engine-sdk-python and hosted at [2], old repository [3] contains 3.2 artifacts only. [1] http://wiki.ovirt.org/Python-sdk-changelog [2] https://pypi.python.org/pypi/ovirt-engine-sdk-python [3] https://pypi.python.org/p

[Engine-devel] ovirt-engine-sdk-java 1.0.0.18-1 released

2013-10-09 Thread Michael Pasternak
More details can be found at [1]. [1] http://www.ovirt.org/Java-sdk-changelog -- Michael Pasternak RedHat, ENG-Virtualization R&D ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

[Engine-devel] ovirt-engine-sdk-python 3.3.0.6-1 released

2013-09-11 Thread Michael Pasternak
For more details see [1], (note: change-log for [2] describing changes that took place from the last release 3.3.0.3-1) [1] http://wiki.ovirt.org/Python-sdk-changelog [2] 3.3.0.5-1, 3.3.0.4-1 -- Michael Pasternak RedHat, ENG-Virtualization R&D ___ E

[Engine-devel] ovirt-engine-sdk-java 1.0.0.17-1 released

2013-09-11 Thread Michael Pasternak
More details can be found at [1], (note: change-log for [2] describing changes that took place from the last release 1.0.0.11-1) [1] http://www.ovirt.org/Java-sdk-changelog [2] 1.0.0.16 -1, 1.0.0.15 -1, 1.0.0.14 -1, 1.0.0.13 -1 -- Michael Pasternak RedHat, ENG-Virtualization R&D _

[Engine-devel] ovirt-engine-sdk-java 1.0.0.11-1 released

2013-07-16 Thread Michael Pasternak
* Tue Jul 16 2013 Michael Pasternak - 1.0.0.11-1 - added "watchdog" feature #947977 - added "external tasks" feature #872719 - snapshot can persist/restore memory state now #960931 More details can be found at [1]. [1] http://www.ovirt.org/Java-sdk-changelog -- Michael Pasternak RedHat, ENG

[Engine-devel] ovirt-engine-sdk-python 3.3.0.3-1 released

2013-07-16 Thread Michael Pasternak
* Tue Jul 16 2013 Michael Pasternak - 3.3.0.3-1 - rename package to ovirt-engine-sdk-python - added "watchdog" feature #947977 - added "external tasks" feature #872719 - snapshot can persist/restore memory state now #960931 - sdk expose datetime elements as strings while schema defines them as

[Engine-devel] ovirt-engine-sdk-java 1.0.0.10-1 released

2013-07-08 Thread Michael Pasternak
* Thu Jul 8 2013 Michael Pasternak - 1.0.0.10-1 - to cluster.add()/.update() added [trusted_service] property - implement Secure Socket Layer (SSL) host verification (CA certificate) - allow nullifying headers via passing NULL as header value More details can be found at [1]. [1] http://www.o

[Engine-devel] ovirt-engine-sdk-java 1.0.0.9-1 released

2013-06-27 Thread Michael Pasternak
* Fri Jun 28 2013 Michael Pasternak - 1.0.0.9-1 - configure log4j programmatically More details can be found at [1]. [1] http://www.ovirt.org/Java-sdk-changelog -- Michael Pasternak RedHat, ENG-Virtualization R&D ___ Engine-devel mailing list

[Engine-devel] ovirt-engine-sdk-java 1.0.0.8-1 released

2013-06-25 Thread Michael Pasternak
* Thu Jun 25 2013 Michael Pasternak - 1.0.0.8-1 - implement support for the /capabilities resource - implement basic debugging capabilities - added VMApplications sub-collection - to datacenter added new field [comment] - to disk added [sgio] field to enable|disable filtering for the ScsiGeneric

Re: [Engine-devel] ovirt-engine-sdk

2013-06-25 Thread Michael Pasternak
, 2013 9:42 PM > To: wlbleaboy@126 > Cc: engine-devel@ovirt.org > Subject: Re: [Engine-devel] ovirt-engine-sdk > > On 06/24/2013 12:34 PM, wlbleaboy@126 wrote: >> Hi, all: >> >> I found when I connect to ovirt-engine via ovirt-engine-sdk is > slowly >>

Re: [Engine-devel] ovirt-engine-sdk

2013-06-24 Thread wlbleaboy@126
than it. -Original Message- From: Michael Pasternak [mailto:mpast...@redhat.com] Sent: Monday, June 24, 2013 9:42 PM To: wlbleaboy@126 Cc: engine-devel@ovirt.org Subject: Re: [Engine-devel] ovirt-engine-sdk On 06/24/2013 12:34 PM, wlbleaboy@126 wrote: > Hi, all: > > I f

Re: [Engine-devel] ovirt-engine-sdk

2013-06-24 Thread Michael Pasternak
On 06/24/2013 12:34 PM, wlbleaboy@126 wrote: > Hi, all: > > I found when I connect to ovirt-engine via ovirt-engine-sdk is slowly > > than connect to engine via UserPortal, could anyone explain the reason. - what do you mean by saying "connect to ovirt-engine via ovirt-engine-sdk"? - yo

[Engine-devel] ovirt-engine-sdk

2013-06-24 Thread wlbleaboy@126
Hi, all: I found when I connect to ovirt-engine via ovirt-engine-sdk is slowly than connect to engine via UserPortal, could anyone explain the reason. ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/l

Re: [Engine-devel] ovirt-engine-sdk with C

2013-06-07 Thread wlbleaboy@126
Leaboy From: Jarod. w [mailto:work.iec23...@gmail.com] Sent: Wednesday, June 05, 2013 11:35 AM To: wlbleaboy@126 Cc: engine-devel@ovirt.org Subject: Re: Re: [Engine-devel] ovirt-engine-sdk with C 2013/6/5 wlbleaboy@126 Hi, Jarod. W: I got your demo, and a build

Re: [Engine-devel] ovirt-engine-sdk with C

2013-06-04 Thread Jarod. w
tp://curl.haxx.se/download.html and chosed > curl-7.30.0.tar.gz<http://curl.haxx.se/download.html%20and%20chosed%20curl-7.30.0.tar.gz> > > > and I use make and make install without any other options . I just guess > maybe it need > > other SSL library supported, b

Re: [Engine-devel] ovirt-engine-sdk with C

2013-06-04 Thread wlbleaboy@126
4日 18:14 收件人: wlbleaboy@126 抄送: engine-devel@ovirt.org 主题: Re: 答复: [Engine-devel] ovirt-engine-sdk with C 2013/6/4 wlbleaboy@126 Hi, Jarod. W: Yes, I just want to use c to invoke ovirt engine RestAPI, Just get vm’s id, host, port, secur-port, and ticket, How can I use libcurl t

[Engine-devel] ovirt-engine-sdk-java 1.0.0.7-1 released

2013-06-04 Thread Michael Pasternak
- updated storagedomain add()/update() docs - updated tag update() docs - enabled correct generation of Boolean getters/setters to enable Bean Introspection apis (bollean getters will be prefixed with getX()) - fixed docs for GlusterBricks add|update - fixed docs for add|update Tag - added [ne

Re: [Engine-devel] ovirt-engine-sdk with C

2013-06-04 Thread David Jaša
Hi, I'm not sure if it is applicable to your case, but there is incomplete C/GObject implementation of oVirt SDK available here: http://cgit.freedesktop.org/~teuf/govirt/ As far as I know, it's currently focused just on getting connection details for VMs but I guess that more complete support for

Re: [Engine-devel] ovirt-engine-sdk with C

2013-05-13 Thread Jarod. w
2013/5/13 leaboy@126 > Hi,All > > I felt oivrt-engine-sdk coded with Python is slowly to connect*** > * > > ovirt-engine and console vm when a user have many vms, So, I just > > want to rewrite the sdk with C(ANSI C Language). Just rewrite a sdk > > with C to connect overt-e

Re: [Engine-devel] ovirt-engine-sdk with C

2013-05-13 Thread Michael Pasternak
On 05/13/2013 01:17 PM, leaboy@126 wrote: > Hi,All > > I felt oivrt-engine-sdk coded with Python is slowly to connect > > ovirt-engine and console vm when a user have many vms, > So, I just, want to rewrite the sdk with C(ANSI C Language). Just rewrite a > sdk > > with C to connect overt-engin

[Engine-devel] ovirt-engine-sdk with C

2013-05-13 Thread leaboy@126
Hi,All I felt oivrt-engine-sdk coded with Python is slowly to connect ovirt-engine and console vm when a user have many vms, So, I just want to rewrite the sdk with C(ANSI C Language). Just rewrite a sdk with C to connect overt-engine and console vm, would anyone give me some suggest

[Engine-devel] ovirt-engine-sdk-python 3.3.0.2-1 released

2013-05-01 Thread Michael Pasternak
- in ClusterGlusterVolumeBricks fixed add() parameters - to StorageDomainVM.delete() added async parameter - fixed parent tag parameter in the tags.add()/.update() methods - nic.network is no longer mandatory parameter for vnic creation - Implement Session-TTL header support #928313 - refact

[Engine-devel] ovirt-engine-sdk-java 1.0.0.6-1 released

2013-04-04 Thread Michael Pasternak
- added new collection ClusterGlusterVolumeGlusterBrickStatistics - added new properties to the GlusterBrick - to vm added cpu.mode - to host install action added "image" parameter - ignore case in factory method lookup More details can be found at [1]. [1] http://www.ovirt.org/Java-sdk-changelog

[Engine-devel] ovirt-engine-sdk-java 1.0.0.5-1 released

2013-03-07 Thread Michael Pasternak
- use explicit classloader for JAXBContext - implement support for (user defined) session authentication - implement generic JAXBElement generation - to DataCenterStorageDomain added Disks sub-collection - to StorageDomain added Disks sub-collection - to host added display.address property - to vm

[Engine-devel] ovirt-engine-sdk-java 1.0.0.4-1 released

2013-02-25 Thread Michael Pasternak
- implement SSL support (without host verification) - implement shutdown() to deallocate system resources - to cluster added tunnel_migration property - to DataCenter added Clusters sub-collection - to root collection resource Disk added Permissions sub-collectio - to root collection resource Disk

[Engine-devel] ovirt-engine-sdk-java 1.0.0.3-1 released

2013-02-25 Thread Michael Pasternak
* Wed Jan 30 2013 Michael Pasternak - 1.0.0.3-1 - implement SSL support (without host verification) - implement shutdown() to deallocate system resources - to cluster added tunnel_migration property - to DataCenter added Clusters sub-collection - to root collection resource Disk added Permission

[Engine-devel] ovirt-engine-sdk-java 1.0.0.3-1 released

2013-01-30 Thread Michael Pasternak
- added persistent authentication support - added support for the methods overloads based on url/headers params - added delete methods overloads with body as parameters holder - to host added [display.address] property for overriding display address - user can specify own ticket now in vm.ticket()

Re: [Engine-devel] ovirt engine sdk

2013-01-23 Thread Michael Pasternak
On 01/23/2013 03:53 PM, navin p wrote: > Hi Michael, > > Thanks for your help. > > On Wed, Jan 23, 2013 at 6:15 PM, Michael Pasternak > wrote: > > > > in python, you can see object's attributes by accessing > __dict__/__getattr__/dir(object)/etc., > vm.__

Re: [Engine-devel] ovirt engine sdk

2013-01-23 Thread navin p
Hi Michael, Thanks for your help. On Wed, Jan 23, 2013 at 6:15 PM, Michael Pasternak wrote: > > > in python, you can see object's attributes by accessing > __dict__/__getattr__/dir(object)/etc., > vm.__dict__ will do the job for you, however i'd suggest you using some > IDE (i'm using Eclipse +

Re: [Engine-devel] ovirt engine sdk

2013-01-23 Thread Michael Pasternak
Hi Navin, On 01/23/2013 01:54 PM, navin p wrote: > Hi, > I've written the following python program after configuring ovirt. > > > from ovirtsdk.xml import params > from ovirtsdk.api import API > > > > api=API(url='http://XYZ:80',username='ABC',password='123') > > print "\n**

[Engine-devel] ovirt engine sdk

2013-01-23 Thread navin p
Hi, I've written the following python program after configuring ovirt. from ovirtsdk.xml import params from ovirtsdk.api import API api=API(url='http://XYZ:80',username='ABC',password='123') print "\n**VMS\n" vmlist = api.vms.list() hostlist =

[Engine-devel] ovirt-engine-sdk-java 1.0.0.2 released

2013-01-16 Thread Michael Pasternak
Basically this release addresses an issue when [1] constructor is used with NULLs as optional parameters, [1] public Api(String url, String username, String password, String key_file, String cert_file, String ca_file, Integer port, Integer timeout, Boolean persistentAu

[Engine-devel] ovirt-engine-sdk-java package available via maven distribution now

2013-01-15 Thread Michael Pasternak
All you need to work with oVirt java-sdk is add it as dependency to your pom.xml, for more details see [1]. [1] http://www.ovirt.org/Java-sdk#Maven_deployment -- Michael Pasternak RedHat, ENG-Virtualization R&D ___ Engine-devel mailing list Engine-d

[Engine-devel] ovirt-engine-sdk-java 1.0.0.1 released

2013-01-15 Thread Michael Pasternak
Hi all, I'm happy to announce first official release of ovirt-engine-sdk-java, change log between sdk announcement and 1.0.0.1 is: * Tue Jan 15 2013 Michael Pasternak - 1.0.0.1-1 - implement parametrized list() methods - events can be added now (user defined events) - events can

[Engine-devel] ovirt-engine-sdk-python 3.2.0.8 released

2013-01-13 Thread Michael Pasternak
* Sun Jan 13 2013 Michael Pasternak - 3.2.0.8-1 - events can be added now (user defined events) - events can be removed now - vm can be removed now, but it's disk/s kept (added disks.detach_only property to VMDisks) - to host add()/update() methods() added power_management.agents parameter

Re: [Engine-devel] [ovirt-engine-sdk] some questions about the params.py code generated by generateSD

2012-06-09 Thread Michael Pasternak
On 06/08/2012 08:30 PM, ShaoHe Feng wrote: > still a question. > > I find there are reduplicate items in _rootClassMap dictionary of > ./src/ovirtsdk/xml/params.py file. > such as: > 1. > in line 18924 > "storage" : Storage, > in line 18931 >

Re: [Engine-devel] [ovirt-engine-sdk] some questions about the params.py code generated by generateSD

2012-06-09 Thread Michael Pasternak
Hi, On 06/07/2012 06:14 PM, ShaoHe Feng wrote: > Hi all, > > as we all know the current params.py was not completely by the generateSD.py, > there are parts that have to be updated manually. > > now I have post a primarypatch to improve it. > http://gerrit.ovirt.org/#/c/4880/ > (in review)

Re: [Engine-devel] [ovirt-engine-sdk] some questions about the params.py code generated by generateSD

2012-06-08 Thread ShaoHe Feng
still a question. I find there are reduplicate items in _rootClassMap dictionary of ./src/ovirtsdk/xml/params.py file. such as: 1. in line 18924 "storage" : Storage, in line 18931 "storage" : Storage, above items

Re: [Engine-devel] [ovirt-engine-sdk] some questions about the params.py code generated by generateSD

2012-06-07 Thread Juan Hernandez
On 06/07/2012 05:14 PM, ShaoHe Feng wrote: Hi all, as we all know the current params.py was not completely by the generateSD.py, there are parts that have to be updated manually. now I have post a primarypatch to improve it. http://gerrit.ovirt.org/#/c/4880/ it can generate some codes, but sti

Re: [Engine-devel] [ovirt-engine-sdk] some questions about the params.py code generated by generateSD

2012-06-07 Thread ShaoHe Feng
Hi all, as we all know the current params.py was not completely by the generateSD.py, there are parts that have to be updated manually. now I have post a primarypatch to improve it. http://gerrit.ovirt.org/#/c/4880/ it can generate some codes, but still two parts codes can not be generated.

Re: [Engine-devel] [ovirt-engine-sdk] Simplify the process of the RSDL code generation

2012-05-28 Thread ShaoHe Feng
I have write an example. Now it can only add the import module automatically . see the attachment. What about this way to add the NOT_GENERATED codes? if OK, I will go ahead to add the left NOT_GENERATED codes. such as how to add an attribute of an class. On 05/28/2012 03:54 PM, ShaoHe Fen

Re: [Engine-devel] [ovirt-engine-sdk] Simplify the process of the RSDL code generation

2012-05-28 Thread Michael Pasternak
On 05/28/2012 10:54 AM, ShaoHe Feng wrote: > On 05/28/2012 03:26 PM, ShaoHe Feng wrote: >> On 05/28/2012 02:56 PM, Michael Pasternak wrote: >>> On 05/27/2012 08:06 PM, ShaoHe Feng wrote: On 05/26/2012 01:48 AM, Michael Pasternak wrote: > Hi, > > On 05/24/2012 09:13 PM, ShaoHe Fen3g

Re: [Engine-devel] [ovirt-engine-sdk] Simplify the process of the RSDL code generation

2012-05-28 Thread ShaoHe Feng
On 05/28/2012 03:26 PM, ShaoHe Feng wrote: On 05/28/2012 02:56 PM, Michael Pasternak wrote: On 05/27/2012 08:06 PM, ShaoHe Feng wrote: On 05/26/2012 01:48 AM, Michael Pasternak wrote: Hi, On 05/24/2012 09:13 PM, ShaoHe Fen3g wrote: Hi all, Now I'm using the code generation suites of ovirt-e

Re: [Engine-devel] [ovirt-engine-sdk] Simplify the process of the RSDL code generation

2012-05-28 Thread ShaoHe Feng
On 05/28/2012 02:56 PM, Michael Pasternak wrote: On 05/27/2012 08:06 PM, ShaoHe Feng wrote: On 05/26/2012 01:48 AM, Michael Pasternak wrote: Hi, On 05/24/2012 09:13 PM, ShaoHe Fen3g wrote: Hi all, Now I'm using the code generation suites of ovirt-engine-sdk, I find it is very troublesome.

Re: [Engine-devel] [ovirt-engine-sdk] Simplify the process of the RSDL code generation

2012-05-27 Thread Michael Pasternak
On 05/27/2012 08:06 PM, ShaoHe Feng wrote: > On 05/26/2012 01:48 AM, Michael Pasternak wrote: >> Hi, >> >> On 05/24/2012 09:13 PM, ShaoHe Fen3g wrote: >>> Hi all, >>> >>> Now I'm using the code generation suites of ovirt-engine-sdk, I find it is >>> very troublesome. >> I completely agree with you

Re: [Engine-devel] [ovirt-engine-sdk] Simplify the process of the RSDL code generation

2012-05-27 Thread ShaoHe Feng
On 05/26/2012 01:48 AM, Michael Pasternak wrote: Hi, On 05/24/2012 09:13 PM, ShaoHe Fen3g wrote: Hi all, Now I'm using the code generation suites of ovirt-engine-sdk, I find it is very troublesome. I completely agree with you, automating python entities generation is on top of my TODO stack

Re: [Engine-devel] [ovirt-engine-sdk] Simplify the process of the RSDL code generation

2012-05-25 Thread Michael Pasternak
Hi, On 05/24/2012 09:13 PM, ShaoHe Fen3g wrote: > Hi all, > > Now I'm using the code generation suites of ovirt-engine-sdk, I find it is > very troublesome. I completely agree with you, automating python entities generation is on top of my TODO stack see [1], Along with this, there was always

[Engine-devel] [ovirt-engine-sdk] Simplify the process of the RSDL code generation

2012-05-24 Thread ShaoHe Feng
Hi all, Now I'm using the code generation suites of ovirt-engine-sdk, I find it is very troublesome. IMO, we can simplify the process. And I want to engaged in it. there are two tools parse the api.xsd and generate the params.py code. They are generateds_gui.py and generateDS.py. but there