<html><head></head><body bgcolor="#ffffff" text="#2e3436" link="#2a76c6" vlink="#215d9c"><div>On Mon, 2016-04-11 at 20:41 +0200, Frank Thommen wrote:</div><blockquote type="cite"><pre>On 11.04.16 20:17, Brett I. Holcomb wrote:
<blockquote type="cite">
On Mon, 2016-04-11 at 14:38 -0300, Amador Pahim wrote:
<blockquote type="cite">
On 04/11/2016 02:07 PM, Brett I. Holcomb wrote:
<blockquote type="cite">
On Mon, 2016-04-11 at 17:27 +0200, Frank Thommen wrote:
<blockquote type="cite">
Dear all,
I'm currently lost at finding any documentation about the Python SDK
(<a href="http://www.ovirt.org/develop/release-management/features/infra/python-sdk/">http://www.ovirt.org/develop/release-management/features/infra/python-sdk/</a>)
like provided classes, functions etc.. There are some examples on the
mentioned page, but I cannot find a complete documentation. Our oVirt
server is running CentOS 7 with ovirt-engine-sdk-python installed.
However there doesn't seem to exist an ovirt-engine-sdk-python-docs
package and I couldn't find any appropriate link on the oVirt
documentation pages (<a href="http://www.ovirt.org/documentation/">http://www.ovirt.org/documentation/</a>).
Any ideas, where the documentation is available?
Cheers
Frank
_______________________________________________
Users mailing list
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a> <<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>>
<a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
<<a href="http://lists.ovirt.org/mailman/listinfo/users%0A">http://lists.ovirt.org/mailman/listinfo/users%0A</a>>
</blockquote>
Other than what you found I found this but that's all. Doesn't seem
to be much other than examples an the one that shows what to import.
I, too would like to find what your are looking for so I can use it.
</blockquote>
There is this RHEV documentation that can be helpful:
<a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Developer_Guide/chap-Python_Quick_Start_Example.html">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Developer_Guide/chap-Python_Quick_Start_Example.html</a>
<blockquote type="cite">
<a href="http://www.ovirt.org/develop/api/pythonapi/">http://www.ovirt.org/develop/api/pythonapi/</a>
_______________________________________________
Users mailing list
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a> <<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>>
<a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
<<a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> >
</blockquote>
</blockquote>
Thanks. That is helpful but as Frank said it would be nice to have an
api reference for each class and function that gives the parameters,
return values, and other stuff usually found in an API reference. The
examples are helpful but don't give all the information abut a function
or class.
</blockquote>
Thanks to all who answered. Brett brings it to the point: All sent
links so far are indeed helpful - thanks a lot - but not the reference I
expected.
<a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/Python_SDK_Guide/chap-Python_Reference_Documentation.html#Python_Reference_Documentation">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/Python_SDK_Guide/chap-Python_Reference_Documentation.html#Python_Reference_Documentation</a>
mentions `pydoc`, but this documentation seems to be provided only for
some modules or to be incomplete. Also for me not being a software
developper and newish to Python, the `pydoc` information is not very
useful. Where can I e.g. find the documentation for vms.get() and
vms.add() (just to name teo concrete examples)?
Frank
_______________________________________________
Users mailing list
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a href="http://lists.ovirt.org/mailman/listinfo/users
">http://lists.ovirt.org/mailman/listinfo/users
</a></pre></blockquote><div><br></div><div>I'm in the same boat as Frank. I've done programming in various languages since Fortran without the numbers <G> but only when needed for my job as an Engineer so I'm not a professional but just trying to get a job done. It would be nice to have a full reference so we know what to provide. When trying to connect with the api I finally figured out to use ca_file (like ca-file on the command line). Raz's reference is more complete but still leaves a lot out. The newer equivalent of Raz's reference seems to be <a href="http://www.ovirt.org/develop/release-management/features/infra/python-sdk/">http://www.ovirt.org/develop/release-management/features/infra/python-sdk/</a>.</div><div><br></div><div><br></div></body></html>