Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for oVirt virtualtzation. #880

Open
ThomasADavis opened this issue May 2, 2017 · 7 comments
Open

Support for oVirt virtualtzation. #880

ThomasADavis opened this issue May 2, 2017 · 7 comments

Comments

@ThomasADavis
Copy link

I am working on getting oVirt to work like the ProxMox/ESX integration in the current git master, and almost done with it.

However, there is no PHP SDK for ovirt; there is however one for python, and I've created an equivalent poller script in python - is this acceptable to have just the poller script in python for the cron job? Everything else is in PHP.

Let me know what you would like.

@samilliken
Copy link
Member

samilliken commented May 2, 2017 via email

@wilpig
Copy link
Collaborator

wilpig commented May 2, 2017 via email

@samilliken
Copy link
Member

samilliken commented May 2, 2017 via email

@wilpig
Copy link
Collaborator

wilpig commented May 2, 2017

http://www.ovirt.org/develop/api/rest-api/rest-api/

Looking over their documentation it looks like it would be easy enough to convert whatever that python script is doing to straight api calls.

@wilpig
Copy link
Collaborator

wilpig commented May 2, 2017

I'm not against a helper script I am against adding additional language requirements that start to muddy the waters if it isn't necessary.

@wilpig
Copy link
Collaborator

wilpig commented May 2, 2017

And a simple search for ovirt php api turned up this... https://github.com/layer7be/ovirt-php I mean come on... yes it says it requires php5.4 but without looking I am betting it is going to be more of the deferenced arrays being the crutch.

@ThomasADavis
Copy link
Author

That PHP supports ovirt3x, and ovirt4x changed the rest API (and the SDK..)

I just do not have the time to convert/rewrite parts of their API into PHP; already have a python script that grabs this information, so it's just a matter of bolting on the mysql part.

For the first cut, start with the python script, then convert as time permits convert to PHP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants