IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
In the same way we do in ovirt-img - running without arguments is the
same as -h, --help.
Example run:
$ ./ovirt-imageioctl
usage: ovirt-imageioctl [-h] {add-ticket,show-ticket,mod-ticket,del-ticket,start-profile,stop-profile} ...
Control the ovirt-imageio service
options:
-h, --help show this help message and exit
commands:
{add-ticket,show-ticket,mod-ticket,del-ticket,start-profile,stop-profile}
add-ticket Add a ticket.
show-ticket Show a ticket status.
mod-ticket Modify a ticket.
del-ticket Delete a ticket.
start-profile Start server profiling
stop-profile Stop server profiling
Reported in:
https://github.com/oVirt/ovirt-imageio/pull/194#issuecomment-1463404284
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Add {start,stop}_profile() API to the admin Client, and
{start,stop}-profile to the ovirt-imageioctl command. This will be used
to add real upload and download benchmarks with profiling support.
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Add ovirt_imageio.admin python library for controlling the imageio
daemon. The library provides the Client class, supporting adding,
getting or deleting tickets. This library will replace the code in vdsm
for manipulating tickets.
The new ovirt-imageioctl command uses the admin library to manipulate
tickets, providing way to manage tickets manually. This will be useful
to test the Go client.
The library and the command also make it possible to use the
ovirt-imageio service on any host without oVirt installation. One use
case can be a container image, starting a daemon for single image. The
container startup script can install a ticket using the ovirt-imageioctl
command.
Change-Id: I2cc209f4a27d8b4a1021e49c214b7f1f7f229915
Signed-off-by: Nir Soffer <nsoffer@redhat.com>