-
Notifications
You must be signed in to change notification settings - Fork 212
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
Comments
Yes, that's fine to use Python for a support script (which is what I'd call
the poller script).
Scott
…On Mon, May 1, 2017 at 11:48 PM, ThomasADavis ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#880>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABk8e5xzxk0yrWvfiJ_VWHKZ4SCouGB2ks5r1qeGgaJpZM4NNrn4>
.
|
What is the poller doing exactly? If it's just hitting an API that seems like something that can be written in PHP quickly enough.
On May 2, 2017 6:00 AM, Scott Milliken <[email protected]> wrote:
Yes, that's fine to use Python for a support script (which is what I'd call
the poller script).
Scott
On Mon, May 1, 2017 at 11:48 PM, ThomasADavis ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#880>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABk8e5xzxk0yrWvfiJ_VWHKZ4SCouGB2ks5r1qeGgaJpZM4NNrn4>
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#880 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABk8evqUXD7oNHPmg5tz3Fq7Ff11MOeIks5r1v6bgaJpZM4NNrn4>.
|
It's likely just creating the API key for each request. That's about the
only thing you really need the support libraries for.
Scott
On Tue, May 2, 2017 at 6:09 AM, Wilbur Longwisch <[email protected]>
wrote:
… What is the poller doing exactly? If it's just hitting an API that seems
like something that can be written in PHP quickly enough.
On May 2, 2017 6:00 AM, Scott Milliken ***@***.***> wrote:
Yes, that's fine to use Python for a support script (which is what I'd
call
the poller script).
Scott
On Mon, May 1, 2017 at 11:48 PM, ThomasADavis ***@***.***>
wrote:
> 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.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#880>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABk8e5xzxk0yrWvfiJ_
VWHKZ4SCouGB2ks5r1qeGgaJpZM4NNrn4>
> .
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/
opendcim/openDCIM#880#issuecomment-298586498>, or mute the
thread<https://github.com/notifications/unsubscribe-auth/
ABk8evqUXD7oNHPmg5tz3Fq7Ff11MOeIks5r1v6bgaJpZM4NNrn4>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#880 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABk8ew7NVWcAreSUveyT3bDQx90VXl9qks5r1wDFgaJpZM4NNrn4>
.
|
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. |
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. |
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. |
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. |
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.
The text was updated successfully, but these errors were encountered: