[one-users] oneimage filter by path or source
Carlos Martín Sánchez
cmartin at opennebula.org
Wed Sep 17 02:05:57 PDT 2014
Hi,
On Sat, Sep 13, 2014 at 2:45 PM, Daniel Dehennin <
daniel.dehennin at baby-gnu.org> wrote:
> Maxim Terletskiy <terletskiy at emu.ru> writes:
>
> > Is it possible to list images with specific path or source?
>
> Good afternoon,
>
> This feature[1] is already registered in the backlog.
>
> Regards.
>
> Footnotes:
> [1] http://dev.opennebula.org/issues/2372
Actually, since the source is not a column, ticket 2372 would not apply.
This would require a more general filter.
Maxim, what would be your use case?
If you need to do a one-time search, you can filter the data through the
api [1] or using xpath:
$ oneimage list -x | xpath -e
'/IMAGE_POOL/IMAGE[PATH="/tmp/ttylinux.raw"]/ID'
Regards.
[1] http://docs.opennebula.org/4.8/integration/system_interfaces/ruby.html
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org |
@OpenNebula <http://twitter.com/opennebula> <cmartin at opennebula.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140917/10dc60fd/attachment.htm>
More information about the Users
mailing list