1 Commits

Author SHA1 Message Date
Nir Soffer
e504bd9f86 admin: Add admin library and command
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>
2021-11-01 00:08:38 +02:00