ovirt-shell - Polling or also events?

Hey, does somebody know if ovirt-shell can also wait (block) for properties of an object to change, i.e.: ovirt-shell wait --query "status-state=installed" - fabian

On 11/09/2015 08:53 AM, Fabian Deutsch wrote:
Hey,
does somebody know if ovirt-shell can also wait (block) for properties of an object to change, i.e.:
ovirt-shell wait --query "status-state=installed"
- fabian
No, ovirt-shell can't wait, and it is very unlikely that we change it to support this. I'd also suggest you to avoid the CLI and use the Python or Java SDKs for anything that is more complicated than occasional use of the API. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

On Tue, Nov 10, 2015 at 1:03 PM, Juan Hernández <jhernand@redhat.com> wrote:
On 11/09/2015 08:53 AM, Fabian Deutsch wrote:
Hey,
does somebody know if ovirt-shell can also wait (block) for properties of an object to change, i.e.:
ovirt-shell wait --query "status-state=installed"
- fabian
No, ovirt-shell can't wait, and it is very unlikely that we change it to support this.
I'd also suggest you to avoid the CLI and use the Python or Java SDKs for anything that is more complicated than occasional use of the API.
Right, thanks. Good to know But wasn't there some RFE in 3.6 to add events (somewhere)? - fabian

On 11/10/2015 04:22 PM, Fabian Deutsch wrote:
On Tue, Nov 10, 2015 at 1:03 PM, Juan Hernández <jhernand@redhat.com> wrote:
On 11/09/2015 08:53 AM, Fabian Deutsch wrote:
Hey,
does somebody know if ovirt-shell can also wait (block) for properties of an object to change, i.e.:
ovirt-shell wait --query "status-state=installed"
- fabian
No, ovirt-shell can't wait, and it is very unlikely that we change it to support this.
I'd also suggest you to avoid the CLI and use the Python or Java SDKs for anything that is more complicated than occasional use of the API.
Right, thanks. Good to know
But wasn't there some RFE in 3.6 to add events (somewhere)?
- fabian
The closest thing I know is the proposal to add "Doctor REST" to the system: http://www.ovirt.org/Features/Doctor_REST As far as I know there are no plans to integrate the shell with that. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
participants (2)
-
Fabian Deutsch
-
Juan Hernández